1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-09-29 12:30:58 -04:00

Removed {} from if statement.

This commit is contained in:
AnxietyisReal 2023-03-04 08:01:04 +11:00
parent 35ec0931ea
commit abb095b880

View File

@ -77,9 +77,7 @@ export default {
'742324777934520350', // #discord-moderators
]
const gifURL = ['tenor.com/view', 'giphy.com/gifs', 'giphy.com/media']
if (gifURL.some(e=>message.content.toLowerCase().includes(e)) && bannedChannels.includes(message.channelId)) {
message.reply('Gifs are not allowed in this channel.').then((msg: any)=>message.delete())
}
if (gifURL.some(e=>message.content.toLowerCase().includes(e)) && bannedChannels.includes(message.channelId)) message.reply('Gifs are not allowed in this channel.').then((msg)=>message.delete())
// Autoresponse:tm:
if (client.config.botSwitches.autores && !automodded) {