v2.1.0 push 3

This commit is contained in:
DJj123dj
2022-06-09 20:23:34 +02:00
parent 1728c3653a
commit 89a44f3f2f
19 changed files with 148 additions and 58 deletions
+3 -2
View File
@@ -2,6 +2,7 @@ const discord = require('discord.js')
const bot = require('../index')
const client = bot.client
const config = bot.config
const log = bot.errorLog.log
module.exports = () => {
client.on("messageCreate",msg => {
@@ -24,7 +25,7 @@ module.exports = () => {
msg.channel.send({embeds:[bot.errorLog.success("Delete this ticket!","You can delete this ticket by clicking on the button below!")],components:[closebutton]})
console.log("[system] deleted a ticket via command")
log("command","someone used the 'delete' command",[{key:"user",value:msg.author.tag}])
})
@@ -51,7 +52,7 @@ module.exports = () => {
interaction.reply({embeds:[bot.errorLog.success("Delete this ticket!","You can delete this ticket by clicking on the button below!")],components:[closebutton]})
console.log("[system] deleted a ticket via command")
log("command","someone used the 'close' command",[{key:"user",value:interaction.user.tag}])
})
})