aboutsummaryrefslogtreecommitdiff
path: root/commands/Utility/serverid.js
blob: 5cc99bf50cea52ee1fcce63cbd266eb74dfa81cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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: ''
};