diff options
| author | Alee <alee14498@gmail.com> | 2018-04-21 19:21:11 -0400 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-04-21 19:21:11 -0400 |
| commit | 6db973ebcd18cb6cb13a68a49926197d8260c9b4 (patch) | |
| tree | f39aedae157d8725abb0ff23b90d13b621cd7f5f | |
| parent | 40d5f9958f6ac8b00dab92984095abe0777dda2e (diff) | |
| download | AleeBot-6db973ebcd18cb6cb13a68a49926197d8260c9b4.tar.gz AleeBot-6db973ebcd18cb6cb13a68a49926197d8260c9b4.tar.bz2 AleeBot-6db973ebcd18cb6cb13a68a49926197d8260c9b4.zip | |
Renamed invitebot to invite and added embed to it
| -rw-r--r-- | commands/invite.js (renamed from commands/invitebot.js) | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/commands/invitebot.js b/commands/invite.js index ff354e2..58e62dc 100644 --- a/commands/invitebot.js +++ b/commands/invite.js @@ -1,6 +1,6 @@ /**************************************** * - * InviteBot: Command for AleeBot + * Invite: Command for AleeBot * Copyright (C) 2018 AleeCorp * * This program is free software: you can redistribute it and/or modify @@ -18,8 +18,24 @@ * * *************************************/ module.exports.run = async (client, message) => { - message.reply("Continue in DMs.") - message.author.send('Want AleeBot in your server? Here\'s the link: https://discordapp.com/oauth2/authorize?client_id=282547024547545109&permissions=68185158&scope=bot'); + const Discord = require('discord.js'); + const embed = new Discord.RichEmbed() + message.channel.send({embed: { + color: 2086425, + title: "Invite Command", + fields: [{ + name: "Invite AleeBot", + value: "[Invite AleeBot to your server.](https://discordapp.com/api/oauth2/authorize?client_id=282547024547545109&permissions=2080375863&scope=bot)" + }, + { + name: "Join AleeCorp Network", + value: "[If there's any bugs you can join ACN guild.](https://discord.gg/EFhRDqG)" + } + ], + } +}); + + // message.channel.send('Want AleeBot in your server? Here\'s the link: https://discordapp.com/api/oauth2/authorize?client_id=282547024547545109&permissions=2080375863&scope=bot'); }; exports.conf = { @@ -27,9 +43,9 @@ module.exports.run = async (client, message) => { guildOnly: false, }; exports.help = { - name: 'invitebot', - description: 'Invite AleeBot to your server.', - usage: 'invitebot', + name: 'invite', + description: 'Gives you an invite to the guild and the bot.', + usage: 'invite', category: '- General Commands', };
\ No newline at end of file |
