aboutsummaryrefslogtreecommitdiff
path: root/commands/Utility
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-02-25 21:58:31 -0500
committerUnknown <jtsshieh@outlook.com>2018-02-25 21:58:31 -0500
commit2b83e842fea1c9cab7abbe45154a1f140e26f990 (patch)
treed5632015dbc0f28a56ee1295d0d32d92378b6204 /commands/Utility
parent6d17517b4543afbf5100b55619efc8a6d8f3c754 (diff)
downloadPokeBot-2b83e842fea1c9cab7abbe45154a1f140e26f990.tar.gz
PokeBot-2b83e842fea1c9cab7abbe45154a1f140e26f990.tar.bz2
PokeBot-2b83e842fea1c9cab7abbe45154a1f140e26f990.zip
Basic music commands
Diffstat (limited to 'commands/Utility')
-rw-r--r--commands/Utility/nick.js55
-rw-r--r--commands/Utility/suggest.js2
-rw-r--r--commands/Utility/uptime.js2
-rw-r--r--commands/Utility/userinfo.js2
4 files changed, 30 insertions, 31 deletions
diff --git a/commands/Utility/nick.js b/commands/Utility/nick.js
index 896af27..e652087 100644
--- a/commands/Utility/nick.js
+++ b/commands/Utility/nick.js
@@ -1,4 +1,4 @@
-/****************************************
+/** **************************************
*
* Nick: Plugin for PokeBot that changes the user's display name.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
@@ -19,31 +19,30 @@
* *************************************/
exports.run = async (bot, msg, args) => {
- const { RichEmbed } = require('discord.js');
-
- msg.member.setNickname(args.join(' '), 'Requested by bot');
- msg.channel.send('Changed nickname to: ' + args.join(' '));
- setTimeout(null, 3000);
- bot.channels.find('name', 'logs').send(
- new RichEmbed()
- .setColor(0x00ae86)
- .setTitle(`Nickname: ${msg.author.tag}`)
- .setDescription(`*${msg.author.tag}* changed their nickname`)
- .addField('New Nickname', msg.member.displayName, true)
- .setTimestamp()
- .setFooter('PokeBot Beta')
- );
+ const { RichEmbed } = require('discord.js');
- };
-
- exports.conf = {
- aliases: ['nickname'],
- guildOnly: true,
- };
-
- exports.help = {
- name: 'nick',
- description: 'Change your nickname.',
- usage: '<...new nick>',
- };
- \ No newline at end of file
+ msg.member.setNickname(args.join(' '), 'Requested by bot');
+ msg.channel.send('Changed nickname to: ' + args.join(' '));
+ setTimeout(null, 3000);
+ bot.channels.find('name', 'logs').send(
+ new RichEmbed()
+ .setColor(0x00ae86)
+ .setTitle(`Nickname: ${msg.author.tag}`)
+ .setDescription(`*${msg.author.tag}* changed their nickname`)
+ .addField('New Nickname', msg.member.displayName, true)
+ .setTimestamp()
+ .setFooter('PokeBot Beta')
+ );
+
+};
+
+exports.conf = {
+ aliases: ['nickname'],
+ guildOnly: true,
+};
+
+exports.help = {
+ name: 'nick',
+ description: 'Change your nickname.',
+ usage: '<...new nick>',
+};
diff --git a/commands/Utility/suggest.js b/commands/Utility/suggest.js
index 0e09fea..80017d7 100644
--- a/commands/Utility/suggest.js
+++ b/commands/Utility/suggest.js
@@ -1,4 +1,4 @@
-/****************************************
+/** **************************************
*
* Suggest: Plugin for PokeBot that allows users to suggest things.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
diff --git a/commands/Utility/uptime.js b/commands/Utility/uptime.js
index 6312014..86ae84d 100644
--- a/commands/Utility/uptime.js
+++ b/commands/Utility/uptime.js
@@ -1,4 +1,4 @@
-/****************************************
+/** **************************************
*
* Uptime: Plugin for PokeBot that provides diagnostic information.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
diff --git a/commands/Utility/userinfo.js b/commands/Utility/userinfo.js
index 288ba72..59ef68f 100644
--- a/commands/Utility/userinfo.js
+++ b/commands/Utility/userinfo.js
@@ -1,4 +1,4 @@
-/****************************************
+/** **************************************
*
* UserInfo: Plugin for PokeBot that gives the user information about themselves or another user.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee