Signed-off-by: PandaNinjas <admin@malwarefight.gq>
This commit is contained in:
PandaNinjas 2023-02-12 20:34:06 +00:00 committed by GitHub
parent d02d4e07ef
commit 3cdc51ced4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,7 @@ export async function expandDiscordLink(message: Message): Promise<void> {
while (!(execResult == null || execResult.groups == undefined)) {
if (execResult.groups.server_id != message.guildId) {
execResult = re.exec(message.content);
continue; // do not let the bot leak messages from one server to another
}