mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Minor Changes
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user