forked from hippoz/brainlet
hopefully fix pinging in the bridge bot
This commit is contained in:
parent
31b53609f7
commit
d7234d5df8
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ const main = async () => {
|
||||||
client.gateway.on('message', async (e) => {
|
client.gateway.on('message', async (e) => {
|
||||||
if (e.author._id === client.user._id) return;
|
if (e.author._id === client.user._id) return;
|
||||||
|
|
||||||
|
e.content = e.content.replaceAll('@', 'attempted ping');
|
||||||
|
|
||||||
await discordWebhook.send(e.content, {
|
await discordWebhook.send(e.content, {
|
||||||
username: e.author.username
|
username: e.author.username
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue