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
+12 -2
View File
@@ -26,11 +26,11 @@ module.exports = async () => {
var readystats = 0
process.stdout.write("[status] there are "+chalk.blue("0 out of 9")+" commands ready! (this can take up to 40 seconds)")
process.stdout.write("[status] there are "+chalk.blue("0 out of 10")+" commands ready! (this can take up to 40 seconds)")
setInterval(() => {
process.stdout.cursorTo(0)
process.stdout.write("[status] there are "+chalk.blue(readystats+" out of 9")+" commands ready! (this can take up to 40 seconds)")
if (readystats >= 9){
if (readystats >= 10){
console.log(chalk.green("\nready!"))
console.log(chalk.bgBlue("you can now start the bot with 'npm start'!"))
process.exit(1)
@@ -181,4 +181,14 @@ module.exports = async () => {
readystats++
})
//rename
client.application.commands.create({
name:"reopen",
description:"Reopen this ticket.",
defaultPermission:true,
type:"CHAT_INPUT"
},sid).then(() => {
readystats++
})
}