yaay not testing commits!

This commit is contained in:
hippoz 2020-12-08 01:21:10 +02:00
parent 5c804f1a03
commit bb5c0e28f5

View file

@ -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