2.2.0 update

bug fixes & 2 new languages
This commit is contained in:
DJj123dj
2022-07-18 09:14:25 +02:00
parent 76d491d27c
commit fc09858f92
9 changed files with 191 additions and 16 deletions
+6
View File
@@ -20,6 +20,12 @@ module.exports = () => {
client.on("messageCreate",msg => {
if (!msg.content.startsWith(config.prefix)) return
var args = msg.content.split(config.prefix)
if (!args[1]){
msg.channel.send({embeds:[helpEmbed]})
log("command","someone used the 'help' command",[{key:"user",value:msg.author.tag}])
return
}
if (!args[1].startsWith("close") && !args[1].startsWith("delete") && !args[1].startsWith("remove") && !args[1].startsWith("add") && !args[1].startsWith("msg") && !args[1].startsWith("remove") && !args[1].startsWith("rename") && !args[1].startsWith("reopen")){