Skip to content
Permalink
Browse files

Add files via upload

  • Loading branch information
andrejarrell committed Dec 3, 2019
1 parent 1acdf64 commit 060e353d2a40af49a47f04aa353b667f1c0ded6c
Showing with 16 additions and 16 deletions.
  1. +5 −4 README.md
  2. +9 −10 commands/help.js
  3. +1 −1 commands/ping.js
  4. +1 −1 commands/reboot.js
@@ -1,5 +1,6 @@
# Welcome to Starterbot
**[https://docs.andre.gg/starterbot](https://docs.andre.gg/starterbot)**

## Starter is a simple boilerplate discord bot you can easily build upon

## Refer to the [Docs](https://docs.andre.gg/starterbot) to get started!
<a href="https://david-dm.org/andrejarrell/starterbot"><img src="https://david-dm.org/andrejarrell/starterbot.svg" alt="dependencies"></a>
<a href="https://github.com/andrejarrell/starterbot/blob/master/package.json"><img src="https://img.shields.io/github/package-json/v/andrejarrell/starterbot.svg" alt="version"></a>
<a href="https://github.com/andrejarrell/starterbot/commits"><img src="https://img.shields.io/github/last-commit/andrejarrell/starterbot.svg?color=brightgreen" alt="commit"></a>
<a href="https://github.com/andrejarrell/starterbot/blob/master/LICENSE"><img src="https://img.shields.io/github/license/andrejarrell/starterbot.svg?color=blue" alt="license"></a>
@@ -17,16 +17,15 @@ module.exports = {
msg.channel.send(embed);
} else {
if (!cmd) return msg.channel.send('Command does not exist!');

var embed = new discord.RichEmbed()
.setColor('#0080FF')
.setTitle(cmd.name)
.setDescription(stripIndents`
Usage: ${config.prefix+cmd.usage}
Description: ${cmd.description}
Owner Only: ${cmd.owneronly ? 'Yes': 'No'}`)
.setFooter(config.prefix+'help <commandname>');
msg.channel.send(embed);
var embed = new discord.RichEmbed()
.setColor('#0080FF')
.setTitle(cmd.name)
.setDescription(stripIndents`
Usage: ${config.prefix+cmd.usage}
Description: ${cmd.description}
Owner Only: ${cmd.owneronly ? 'Yes': 'No'}`)
.setFooter(config.prefix+'help <commandname>');
msg.channel.send(embed);
};
}
};
@@ -4,6 +4,6 @@ module.exports = {
'usage': 'ping',
'owneronly': false,
execute: (bot, args, msg, config) => {
msg.channel.send(`🏓 Pong! \`${Math.floor(bot.ping)}ms\``)
msg.channel.send(`🏓 Pong! \`${Math.floor(bot.ping)}ms\``);
}
};
@@ -4,7 +4,7 @@ module.exports = {
'usage': 'reboot',
'owneronly': false,
execute: (bot, args, msg, config) => {
msg.channel.send('🔄 Rebooting...')
msg.channel.send('🔄 Rebooting...');
setTimeout(()=> {
process.exit();
}, 1000)

0 comments on commit 060e353

Please sign in to comment.
You can’t perform that action at this time.