fedimbed: forgot to ignore self whoops

This commit is contained in:
Cynthia Foxwell 2022-12-05 21:48:39 -07:00
parent 038224bf75
commit 680891f264
1 changed files with 1 additions and 0 deletions

View File

@ -325,6 +325,7 @@ async function processUrl(msg, url) {
}
events.add("messageCreate", "fedimbed", async function (msg) {
if (msg.author.id == hf.bot.user.id) return;
if (!msg.guildID) return;
if (!(await hasFlag(msg.guildID, "fedimbed"))) return;
if (!msg.content || msg.content == "") return;