hopefully fix pinging in the bridge bot

This commit is contained in:
hippoz 2020-12-08 01:05:38 +02:00
parent 31b53609f7
commit d7234d5df8

View file

@ -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
});