mirror of
https://github.com/Alee14/AleeBot.git
synced 2025-01-23 19:42:04 -05:00
Update aleebot.js
This commit is contained in:
parent
54ef05f715
commit
0c2fe1bf35
1 changed files with 12 additions and 2 deletions
14
aleebot.js
14
aleebot.js
|
@ -42,7 +42,17 @@ client.on('message', message => {
|
||||||
|
|
||||||
client.on('message', message => {
|
client.on('message', message => {
|
||||||
if(message.content === 'ab:help'){
|
if(message.content === 'ab:help'){
|
||||||
message.channel.sendMessage ('```Commands for AleeBot!\n\nab:profile\nab:git\nab:ping\nab:pong\nab:owner```');
|
message.channel.sendMessage (' "Here are some things you can try:\n```\n" +
|
||||||
|
"git Displays the link to the github page of AleeBot.\n" +
|
||||||
|
"profile Shows your profile picture.\n" +
|
||||||
|
"owner Tells you who made the bot\n" +
|
||||||
|
"about Tells you about AleeBot\n" +
|
||||||
|
"copyright Tells you about AleeBot\n" +
|
||||||
|
"license Tells you about AleeBot\n" +
|
||||||
|
"warranty Tells you about AleeBot\n\n" +
|
||||||
|
"ping|pong Asks AleeBot to reply with a message\n\n" +
|
||||||
|
"These commands need to be prefixed with ab:\n" +
|
||||||
|
"```"');
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -152,7 +162,7 @@ client.on('message', message => {
|
||||||
client.user.setPresence(presence);
|
client.user.setPresence(presence);
|
||||||
}
|
}
|
||||||
|
|
||||||
client.login ('token').catch(function() {
|
client.login ('MjgyNTQ3MDI0NTQ3NTQ1MTA5.DBCmJw.mkoy6ZVvK2QJTmXQzqyxnbnJfw4').catch(function() {
|
||||||
console.log("[ERROR] Login failed.");
|
console.log("[ERROR] Login failed.");
|
||||||
});
|
});
|
||||||
// WE NEED DEVELOPERS!!!!!!!!!!
|
// WE NEED DEVELOPERS!!!!!!!!!!
|
||||||
|
|
Loading…
Add table
Reference in a new issue