Removed unnecessary logs
This commit is contained in:
parent
16b56302ba
commit
24fd053710
@ -5,7 +5,6 @@ module.exports = [
|
||||
{
|
||||
name: "ping",
|
||||
run: (ctx, args) => {
|
||||
console.log(ctx, args)
|
||||
ctx.reply(`Pong! ${args}`)
|
||||
},
|
||||
hide: false,
|
||||
@ -25,7 +24,6 @@ module.exports = [
|
||||
return // Go to next command if this one should show up
|
||||
}
|
||||
const field = {name: command.name, value: `Description: ${command.description || "None"}\nArguments: ${command.arguments || "None"}`}
|
||||
console.log(field)
|
||||
embed.addFields(field)
|
||||
})
|
||||
})
|
||||
|
2
index.js
2
index.js
@ -84,7 +84,6 @@ client.on("messageCreate", (message) => {
|
||||
|
||||
// Parsing
|
||||
args.forEach((arg, index) => {
|
||||
console.log(index)
|
||||
if (arg.startsWith("<@")) {
|
||||
// User, lets get the id
|
||||
const id = arg.slice(2, arg.length - 1)
|
||||
@ -118,6 +117,7 @@ client.on("messageCreate", (message) => {
|
||||
realCommand.run(message, args)
|
||||
})
|
||||
|
||||
// After getting the command list we can export it
|
||||
module.exports.commands = commands
|
||||
|
||||
// Time to login
|
||||
|
Loading…
x
Reference in New Issue
Block a user