fix plateSearch GuildDB undefined err
This commit is contained in:
1 parent
62077831b4
commit
6b1f010f32
1 file changed
+1
-1
@@ -17,7 +17,7 @@ module.exports = {
|
|||||||
* @param {string[]} args
|
* @param {string[]} args
|
||||||
* @param {*} param3
|
* @param {*} param3
|
||||||
*/
|
*/
|
||||||
run: async (client, message, args) => {
|
run: async (client, message, args, { GuildDB }) => {
|
||||||
let useCommand = await client.verifyUseCommand(GuildDB.serverID, message.member.roles.cache, false);
|
let useCommand = await client.verifyUseCommand(GuildDB.serverID, message.member.roles.cache, false);
|
||||||
if (!useCommand) return message.channel.send("You don't have permission to use this command");
|
if (!useCommand) return message.channel.send("You don't have permission to use this command");
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user