mirror of
https://github.com/v0idp/Mellow.git
synced 2026-05-04 03:49:43 -05:00
whopsie
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
exports.run = async (client, msg) => {
|
||||
if (msg.author.bot) return;
|
||||
if (msg.channel.type !== 'dm' && client.config.channelname !== "")
|
||||
if (sg.channel.name.toLowerCase() !== client.config.channelname.toLowerCase()) return;
|
||||
if (msg.channel.name.toLowerCase() !== client.config.channelname.toLowerCase()) return;
|
||||
if (msg.channel.type !== 'dm' && !msg.content.trim().replace(/ /g, '').startsWith(client.config.commandprefix)) return;
|
||||
|
||||
let args = msg.content.split(/ +/);
|
||||
|
||||
Reference in New Issue
Block a user