diff --git a/libbrainlet/bridgebot.js b/libbrainlet/bridgebot.js index 69b3f5a..8d13b1d 100644 --- a/libbrainlet/bridgebot.js +++ b/libbrainlet/bridgebot.js @@ -13,7 +13,7 @@ const ADMIN_ID = '5fc828ea4e96e00725c17fd7'; let discordWebhook; const main = async () => { - const client = new Client('http://localhost:3000', { + const client = new Client('https://b.hippoz.xyz', { throwErrors: true }); const discord = new Discord.Client(); @@ -64,7 +64,7 @@ const main = async () => { client.gateway.on('message', async (e) => { if (e.author._id === client.user._id) return; - e.content = e.content.replaceAll('@', ''); + e.content = e.content.replace(/@/g, ''); await discordWebhook.send(e.content, { username: e.author.username