Skip to content

Commit

Permalink
stalk add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
Supinic committed Oct 29, 2024
1 parent 191c412 commit c2f8d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/stalk/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ module.exports = {

let channelString = stalkChannelData.getFullName();
let messageString = stalkData.Text;
const isStalkPrevented = stalkChannelData.getDataProperty("stalkPrevention");
const isStalkPrevented = await stalkChannelData.getDataProperty("stalkPrevention");
if (isStalkPrevented) {
channelString = `${stalkChannelData.Platform.name}-[EXPUNGED]`;
messageString = "[EXPUNGED]";
Expand Down

0 comments on commit c2f8d89

Please sign in to comment.