v1.2.2
some bugs fixed!
This commit is contained in:
@@ -80,6 +80,6 @@ The bot needs `ADMINISTRATOR` permissions to work the best.
|
|||||||
## credits
|
## credits
|
||||||
Please don't remove the credits from the bot 😊.
|
Please don't remove the credits from the bot 😊.
|
||||||
|
|
||||||
_v1.2.1_
|
_v1.2.2_
|
||||||
|
|
||||||
© 2021 - DJdj Development | [website](https://www.dj-dj.be) | [discord](https://discord.com/invite/26vT9wt3n3)
|
© 2021 - DJdj Development | [website](https://www.dj-dj.be) | [discord](https://discord.com/invite/26vT9wt3n3)
|
||||||
@@ -5,7 +5,7 @@ const config = require("../config.json")
|
|||||||
|
|
||||||
|
|
||||||
module.exports = () => {
|
module.exports = () => {
|
||||||
client.on("message",(msg) => {
|
client.on("messageCreate",(msg) => {
|
||||||
var args = msg.content.split(" ")
|
var args = msg.content.split(" ")
|
||||||
if (args[0] == config.prefix+"resetdatabase"){
|
if (args[0] == config.prefix+"resetdatabase"){
|
||||||
if (msg.author.id == client.application.owner.id){
|
if (msg.author.id == client.application.owner.id){
|
||||||
|
|||||||
+4
-4
@@ -56,13 +56,13 @@ module.exports = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var categorylist = ""
|
var categorylist = ""
|
||||||
if (config.options.ticket1.enabled){categorylist = "\n\n"+categorylist+config.options.ticket1.icon+": **"+config.options.ticket1.name+"**\n"+config.options.ticket1.description}
|
if (config.options.ticket1.enabled){categorylist = categorylist+"\n"+config.options.ticket1.icon+": **"+config.options.ticket1.name+"**\n"+config.options.ticket1.description}
|
||||||
|
|
||||||
if (config.options.ticket2.enabled){categorylist = "\n\n"+categorylist+config.options.ticket2.icon+": **"+config.options.ticket2.name+"**\n"+config.options.ticket2.description}
|
if (config.options.ticket2.enabled){categorylist = categorylist+"\n\n"+config.options.ticket2.icon+": **"+config.options.ticket2.name+"**\n"+config.options.ticket2.description}
|
||||||
|
|
||||||
if (config.options.ticket3.enabled){categorylist = "\n\n"+categorylist+config.options.ticket3.icon+": **"+config.options.ticket3.name+"**\n"+config.options.ticket3.description}
|
if (config.options.ticket3.enabled){categorylist = categorylist+"\n\n"+config.options.ticket3.icon+": **"+config.options.ticket3.name+"**\n"+config.options.ticket3.description}
|
||||||
|
|
||||||
if (config.options.ticket4.enabled){categorylist = "\n\n"+categorylist+config.options.ticket4.icon+": **"+config.options.ticket4.name+"**\n"+config.options.ticket4.description}
|
if (config.options.ticket4.enabled){categorylist = categorylist+"\n\n"+config.options.ticket4.icon+": **"+config.options.ticket4.name+"**\n"+config.options.ticket4.description}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user