INDENT USING TABS
FUCK
This commit is contained in:
parent
d6f829cecd
commit
d49cc91b48
@ -1,15 +1,15 @@
|
||||
const { Command } = require('discord-akairo');
|
||||
|
||||
class PingCommand extends Command {
|
||||
constructor() {
|
||||
super('ping', {
|
||||
aliases: ['ping']
|
||||
});
|
||||
}
|
||||
constructor() {
|
||||
super('ping', {
|
||||
aliases: ['ping']
|
||||
});
|
||||
}
|
||||
|
||||
exec(message) {
|
||||
return message.reply('Pong!');
|
||||
}
|
||||
exec(message) {
|
||||
return message.reply('Pong!');
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PingCommand;
|
12
main.js
12
main.js
@ -3,20 +3,20 @@ global.Akairo = require("discord-akairo")
|
||||
global.secrets = require("./secrets.json")
|
||||
|
||||
global.client = new Akairo.AkairoClient({
|
||||
ownerID: ["330499035419115522", "707359017252683896"]
|
||||
ownerID: ["330499035419115522", "707359017252683896"]
|
||||
},{
|
||||
disableMentions: "everyone",
|
||||
partials: ['MESSAGE','REACTION'],
|
||||
fetchAllMembers: true
|
||||
disableMentions: "everyone",
|
||||
partials: ['MESSAGE','REACTION'],
|
||||
fetchAllMembers: true
|
||||
})
|
||||
client.login(secrets.TOKEN).then(() => console.log("ready"))
|
||||
|
||||
client.commandHandler = new Akairo.CommandHandler(client, {
|
||||
directory: "commands"
|
||||
directory: "commands"
|
||||
})
|
||||
client.commandHandler.loadAll()
|
||||
client.listenerHandler = new Akairo.ListenerHandler(client, {
|
||||
directory: "listeners"
|
||||
directory: "listeners"
|
||||
})
|
||||
client.commandHandler.useListenerHandler(this.listenerHandler)
|
||||
client.listenerHandler.loadAll()
|
||||
|
Loading…
x
Reference in New Issue
Block a user