mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 04:10:59 -05:00
Removed {} from if statement.
This commit is contained in:
parent
0301ddafb9
commit
6341c8d4a2
@ -77,9 +77,7 @@ export default {
|
|||||||
'742324777934520350', // #discord-moderators
|
'742324777934520350', // #discord-moderators
|
||||||
]
|
]
|
||||||
const gifURL = ['tenor.com/view', 'giphy.com/gifs', 'giphy.com/media']
|
const gifURL = ['tenor.com/view', 'giphy.com/gifs', 'giphy.com/media']
|
||||||
if (gifURL.some(e=>message.content.toLowerCase().includes(e)) && bannedChannels.includes(message.channelId)) {
|
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())
|
||||||
message.reply('Gifs are not allowed in this channel.').then((msg: any)=>message.delete())
|
|
||||||
}
|
|
||||||
|
|
||||||
// Autoresponse:tm:
|
// Autoresponse:tm:
|
||||||
if (client.config.botSwitches.autores && !automodded) {
|
if (client.config.botSwitches.autores && !automodded) {
|
||||||
|
Loading…
Reference in New Issue
Block a user