aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--commands/Utility/serverid.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/commands/Utility/serverid.js b/commands/Utility/serverid.js
new file mode 100644
index 0000000..5cc99bf
--- /dev/null
+++ b/commands/Utility/serverid.js
@@ -0,0 +1,23 @@
+/** **************************************
+ *
+ * ServerId: Plugin for PokeBot that gives the user the id of the server
+ * Copyright (C) 2018 TheEdge, jtsshieh, Alee
+ *
+ * Licensed under the Open Software License version 3.0
+ *
+ * *************************************/
+
+exports.run = (bot, msg) => {
+ const {RichEmbed} = require('discord.js');
+ msg.channel.send(msg.guild.id);
+};
+
+exports.conf = {
+ guildOnly: true
+};
+
+exports.help = {
+ name: 'serverid',
+ description: 'Shows the server id',
+ usage: ''
+};