codePreviews: the world if people didnt intentionally try to break things
This commit is contained in:
parent
25bb92dc74
commit
3980bf20f5
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ async function processFile(link) {
|
|||
}
|
||||
|
||||
events.add("messageCreate", "codePreviews", async function (msg) {
|
||||
if (msg.author.id == hf.bot.user.id) return;
|
||||
if (!msg.guildID) return;
|
||||
if (!(await hasFlag(msg.guildID, "codePreviews"))) return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue