v2.1.0 push 5

This commit is contained in:
DJj123dj
2022-06-09 21:36:33 +02:00
parent 428f4a9e92
commit 4c947b138f
4 changed files with 201 additions and 3 deletions
+2 -1
View File
@@ -4,7 +4,7 @@ const intents = discord.Intents
const client = new discord.Client({intents:[intents.FLAGS.GUILDS,intents.FLAGS.GUILD_MESSAGES,intents.FLAGS.GUILD_MEMBERS],partials:["CHANNEL"]})
exports.client = client
client.setMaxListeners(20)
client.setMaxListeners(25)
if (process.argv[2]){
if (process.argv[2].endsWith("d")){
@@ -75,6 +75,7 @@ if (process.argv[2] && !process.argv[2].startsWith("slash")){
require("./commands/rename")()
require("./commands/add")()
require("./commands/remove")()
require("./commands/reopen")()
//core
require('./core/ticketOpener')()