some bugs fixed!
This commit is contained in:
DJj123dj
2022-03-04 10:20:47 +01:00
parent 4a90a2d19a
commit 8981c9e60e
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ const config = require("../config.json")
module.exports = () => {
client.on("message",(msg) => {
client.on("messageCreate",(msg) => {
var args = msg.content.split(" ")
if (args[0] == config.prefix+"resetdatabase"){
if (msg.author.id == client.application.owner.id){