Commit fc9dcded authored by Grant's avatar Grant
Browse files

prevent alias squatting (related #9)

parent bec16662
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -69,6 +69,9 @@ class Discord_ {
      message.channelId
    );
    if (!roomId) return;
    // jank fix to prevent people from claiming aliases
    // this room is just a bridge void
    if (roomId === "!lqCdoAlvRDYMkAONOU:aftermath.gg") return;

    var content = message.content;
    content = await this.replaceRoleMentions(message.guildId, content);