- added the option to remove credits
- fixed the bug where ticket_system crashes the bot
- in the help menu is now the correct prefix displayed
This commit is contained in:
DJj123dj
2022-02-20 09:20:26 +01:00
parent 49b71ecdc6
commit 4a90a2d19a
5 changed files with 24 additions and 9 deletions
+2 -2
View File
@@ -52,8 +52,8 @@ module.exports = () => {
var ticketName = config.options.ticket4.channel_prefix+ticketNumber
}
if (config.ticket_system.enable_category){
var Category = config.ticket_system.ticket_category
if (config.system.enable_category){
var Category = config.system.ticket_category
}else{var Category = null}
interaction.guild.channels.create(ticketName,{