Skip to content

Commit

Permalink
Disable Easter eggs, add more commands
Browse files Browse the repository at this point in the history
  • Loading branch information
gideontong committed May 8, 2019
1 parent 17c36a0 commit 8319190
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ bot.on("ready", function () {
})
});

bot.on('message', msg => {
/*bot.on('message', msg => {
if (msg.content.toLowerCase().includes('i love you')) {
msg.reply('i love paul too');
}
Expand All @@ -37,4 +37,4 @@ bot.on('message', msg => {
attach = new Discord.Attachment("generates/nissan.png")
msg.channel.send(attach)
}
});
});*/
13 changes: 13 additions & 0 deletions commands/about.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const Discord = require("discord.js");
const config = require("../config.json");

module.exports = async(bot, msg, args) => {
const embed = new Discord.RichEmbed()
.setAuthor(bot.user.username, bot.user.avatarURL)
.setDescription(`:smirk: **${bot.user.username}** by Gideon#5433, serving ${bot.users.size} Christians
Need help? :confused: Try **${config.prefix}help** to get started.`)
.setFooter(`${bot.user.username} v${config.version}`)
.setColor(0xf1d302)

msg.channel.send(embed)
}
12 changes: 12 additions & 0 deletions commands/help.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const Discord = require("discord.js");
const config = require("../config.json");

module.exports = async(bot, msg, args) => {
const embed = new Discord.RichEmbed()
.setAuthor(bot.user.username, bot.user.avatarURL)
.setDescription(`Commands you can currently try: ${config.prefix}ping, ${config.prefix}hello, ${config.prefix}qr`)
.setFooter(`${bot.user.username} v${config.version} Help Menu`)
.setColor(0xed1c24)

msg.channel.send(embed)
}
5 changes: 3 additions & 2 deletions commands/ping.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ const config = require("../config.json");
module.exports = async(bot, msg, args) => {
const embed = new Discord.RichEmbed()
.setAuthor(bot.user.username, bot.user.avatarURL)
.setDescription(`:ping_pong: **${bot.user.username}** v${config.version} by Gideon, serving ${bot.users.size} users and ${bot.guilds.size} servers`)
.setDescription(`:smirk: **${bot.user.username}** by Gideon#5433, serving ${bot.users.size} Christians
Need help? :confused: Try **${config.prefix}help** to get started.`)
.setFooter(`${bot.user.username} v${config.version}`)
.setColor(0x00ff05)
.setColor(0xf1d302)

msg.channel.send(embed)
}
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"token": "",
"version": "1.0",
"version": "0.2 beta",
"prefix": "!"
}

0 comments on commit 8319190

Please sign in to comment.