Minor Changes

This commit is contained in:
dragonfire535
2017-03-17 06:51:14 -04:00
parent 57e15658f0
commit 8162661e52
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -50,9 +50,9 @@ class InfoCommand extends commando.Command {
.addField('Uptime',
moment.duration(this.client.uptime).format('d[d]h[h]m[m]s[s]'), true)
.addField('Node Version',
"7.7.3", true)
process.version, true)
.addField('Library',
"[discord.js](https://discord.js.org/#/) and [discord.js-commando](https://github.com/Gawdl3y/discord.js-commando)")
"[discord.js](https://discord.js.org/#/)/[commando](https://github.com/Gawdl3y/discord.js-commando)")
.addField('Modules',
"[cleverbot-node](https://github.com/fojas/cleverbot-node), [pirate-speak](https://github.com/mikewesthad/pirate-speak), [JIMP](https://github.com/oliver-moran/jimp), [google-translate-api](https://github.com/matheuss/google-translate-api), [urban](https://github.com/mvrilo/urban), [zalgoize](https://github.com/clux/zalgolize), [hepburn](https://github.com/lovell/hepburn), [yahoo-weather](https://github.com/mamal72/node-yahoo-weather), [imdb-api](https://github.com/worr/node-imdb-api), [request-promise](https://github.com/request/request-promise), [mathjs](http://mathjs.org/), [string-to-binary](https://www.npmjs.com/package/string-to-binary), [google](https://github.com/jprichardson/node-google), [roman-numeral-converter-mmxvi](https://github.com/Cein-Markey/roman-numeral-conversion-library), [cowsay](https://github.com/piuccio/cowsay), [moment](http://momentjs.com), [moment-duration-format](https://github.com/jsmreese/moment-duration-format)")
.addField('Other Credit',
+3 -3
View File
@@ -42,11 +42,11 @@ class IMDBCommand extends commando.Command {
.addField('**Runtime:**',
movie.runtime, true)
.addField('**Directors:**',
movie.director, true)
movie.director)
.addField('**Writers:**',
movie.writer, true)
movie.writer)
.addField('**Actors:**',
movie.actors, true);
movie.actors);
message.channel.sendEmbed(embed).catch(console.error);
}
});
+2 -2
View File
@@ -45,7 +45,7 @@ client.on('message', (message) => {
}
if(message.content.includes(":Swagolor:")) {
if(message.guild.id !== config.server) return;
message.channel.send(message.guild.emojis.get('254827709459333120').toString());
message.react(message.guild.emojis.get('254827709459333120'));
}
if (message.content.startsWith("<@" + client.user.id + ">")){
if(message.guild.id === config.server || message.author.id === config.owner) {
@@ -78,7 +78,7 @@ client.on('guildMemberRemove', member => {
});
client.on('guildCreate', guild => {
console.log("[Guild] I have joined the guild: " + guild.name + " (" + guild.id + ")...");
console.log("[Guild] I have joined the guild: " + guild.name + " (" + guild.id + ")!");
client.shard.fetchClientValues('guilds.size').then(results => {
console.log("[POST] " + results.reduce((prev, val) => prev + val, 0));
const carbonPOST = {