diff options
| author | Alee14 <Alee14498@gmail.com> | 2018-03-24 16:16:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-24 16:16:19 -0400 |
| commit | 8dfcf2917c4ddebb701044c54dc73f3f72265eae (patch) | |
| tree | 751fd0b33cb007aa00398a5540a4ab80099e8149 /src/commands | |
| parent | 8b374485f0af1d9d12c861cfa4e27cb407e27ac6 (diff) | |
| download | AleeBot-2.1.0.tar.gz AleeBot-2.1.0.tar.bz2 AleeBot-2.1.0.zip | |
2.1.0 Release (#17)v2.1.0
* Started working on 2.1.0
* 2.1.0 Release
Diffstat (limited to 'src/commands')
| -rw-r--r-- | src/commands/ask.js | 30 | ||||
| -rw-r--r-- | src/commands/avatarurl.js | 14 | ||||
| -rw-r--r-- | src/commands/changelog.js | 10 | ||||
| -rw-r--r-- | src/commands/help.js | 2 |
4 files changed, 50 insertions, 6 deletions
diff --git a/src/commands/ask.js b/src/commands/ask.js new file mode 100644 index 0000000..d3d0f4a --- /dev/null +++ b/src/commands/ask.js @@ -0,0 +1,30 @@ +module.exports.run = async (client, message, args) => { + let abaskanswer = [ + "Yes.", + "Nope. Just kidding :P", + "Definitely!", + "No.", + "Yep. Just kidding :P", + "I doubt it.", + "Maybe?", + "I don't know?", + "Hmm let me think :thinking:" + ]; + if (args[1]) { + message.channel.sendMessage(abaskanswer[Math.floor(Math.random() * abaskanswer.length)]); + } else { + message.channel.sendMessage("Sorry, I don't know what your saying.") + } + }; + + exports.conf = { + aliases: ['8ball'], + guildOnly: false, + }; + exports.help = { + name: 'ask', + description: 'Give AleeBot a question!', + usage: 'ask [args]', + category: '- Fun Commands', + }; +
\ No newline at end of file diff --git a/src/commands/avatarurl.js b/src/commands/avatarurl.js new file mode 100644 index 0000000..87e9321 --- /dev/null +++ b/src/commands/avatarurl.js @@ -0,0 +1,14 @@ +module.exports.run = async (client, message) => { + message.reply(message.author.avatarURL); +}; + +exports.conf = { + aliases: [], + guildOnly: false, +}; +exports.help = { + name: 'avatarurl', + description: 'Sends you your avatar picture.', + usage: 'avatarurl', + category: '- Fun Commands', +}; diff --git a/src/commands/changelog.js b/src/commands/changelog.js index ef9f8a5..0fff14a 100644 --- a/src/commands/changelog.js +++ b/src/commands/changelog.js @@ -1,11 +1,11 @@ module.exports.run = async (client, message) => {
const Discord = require('discord.js');
const embed = new Discord.RichEmbed()
- .setAuthor('AleeBot ' + '2.0.0 ' + 'Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048')
- .setDescription('What\'s new in AleeBot 2.0?')
- .addField('+ Rewritten command handler (Written by jtsshieh big thanks to him!)', true)
- .addField('+ New uptime command (Thanks to Rain)', true)
- .addField('? Some commands are the same from 1.x', true)
+ .setAuthor('AleeBot ' + '2.1.0 Beta ' + 'Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048')
+ .setDescription('What\'s new in AleeBot 2.1 Beta?')
+ .addField('! Coming soon music commands!', true)
+ .addField('! Coming soon moderation commands!', true)
+ .addField('And even more!', true)
.setFooter('AleeCorp Copyright 2017')
.setColor('#1fd619');
message.channel.sendEmbed(embed);
diff --git a/src/commands/help.js b/src/commands/help.js index 900f9f8..27add92 100644 --- a/src/commands/help.js +++ b/src/commands/help.js @@ -11,7 +11,7 @@ module.exports.run = async (client, message) => { const embed = new Discord.RichEmbed()
.setTitle('AleeBot Help')
- .setAuthor('AleeBot 2.0.0' + ` Help and on ${client.guilds.size} servers`, 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048')
+ .setAuthor('AleeBot 2.1.0' + ` Help and on ${client.guilds.size} servers`, 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048')
.setDescription('Every command you input into AleeBot is `' + require('../absettings.json').prefix + '`')
.setColor('#1fd619')
.setFooter('AleeCorp Copyright 2018');
|
