diff options
| author | jtsshieh <27078349+jtsshieh@users.noreply.github.com> | 2020-05-29 22:36:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-29 22:36:18 -0400 |
| commit | e4feedd735626065396dd06a321afd302d739b6f (patch) | |
| tree | 60439be8e649335da27a2ac7721be39064407cb8 /commands/Utility/serverid.js | |
| parent | c109c2a6866af94a3eee38ffe2bf654fec484852 (diff) | |
| download | PokeBot-e4feedd735626065396dd06a321afd302d739b6f.tar.gz PokeBot-e4feedd735626065396dd06a321afd302d739b6f.tar.bz2 PokeBot-e4feedd735626065396dd06a321afd302d739b6f.zip | |
Diffstat (limited to 'commands/Utility/serverid.js')
| -rw-r--r-- | commands/Utility/serverid.js | 23 |
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: '' +}; |
