From d7234d5df86db2fd064bd375670cd3e37d8b2aaa Mon Sep 17 00:00:00 2001 From: hippoz Date: Tue, 8 Dec 2020 01:05:38 +0200 Subject: [PATCH] hopefully fix pinging in the bridge bot --- libbrainlet/bridgebot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libbrainlet/bridgebot.js b/libbrainlet/bridgebot.js index bf77764..01302d7 100644 --- a/libbrainlet/bridgebot.js +++ b/libbrainlet/bridgebot.js @@ -64,6 +64,8 @@ const main = async () => { client.gateway.on('message', async (e) => { if (e.author._id === client.user._id) return; + e.content = e.content.replaceAll('@', 'attempted ping'); + await discordWebhook.send(e.content, { username: e.author.username });