✨ Update (v2.0.1)
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
const config = require("../config/bot.json");
|
||||
|
||||
module.exports = (client, message) => {
|
||||
|
||||
if (message.author.bot) return;
|
||||
|
||||
let prefix = config.prefix
|
||||
const prefix = client.config.prefix;
|
||||
|
||||
if (message.content.indexOf(prefix) !== 0) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user