update/add logs and update prefix
This commit is contained in:
1 parent
0495577b3c
commit
2c1d15cfc4
9 files changed
+228
-31
No files matched your search
+5
-2
@@ -11,7 +11,7 @@ module.exports = {
|
||||
aliases: ["command", "commands", "cmd"],
|
||||
/**
|
||||
*
|
||||
* @param {import("../LPS")} client
|
||||
* @param {require("../structures/LinesPoliceCadBot")} client
|
||||
* @param {import("discord.js").Message} message
|
||||
* @param {string[]} args
|
||||
* @param {*} param3
|
||||
@@ -91,13 +91,16 @@ module.exports = {
|
||||
],
|
||||
/**
|
||||
*
|
||||
* @param {import("../LPS")} client
|
||||
* @param {require("../structures/LinesPoliceCadBot")} client
|
||||
* @param {import("discord.js").Message} message
|
||||
* @param {string[]} args
|
||||
* @param {*} param3
|
||||
*/
|
||||
|
||||
run: async (client, interaction, args, { GuildDB }) => {
|
||||
if (GuildDB.customChannelStatus==true&&!GuildDB.allowedChannels.includes(interaction.channel_id)) {
|
||||
return interaction.send(`You are not allowed to use the bot in this channel.`);
|
||||
}
|
||||
let Commands = client.commands.map(
|
||||
(cmd) =>
|
||||
`\`${GuildDB ? GuildDB.prefix : client.config.DefaultPrefix}${
|
||||
|
||||
Reference in new issue
Block a user