Make guilds command an admin command
This commit is contained in:
parent
a2920bc381
commit
f42910dd4c
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
module.exports = {
|
||||
name: 'guilds',
|
||||
description: 'Returns guild names',
|
||||
admin: true,
|
||||
execute({message, client}) {
|
||||
let guildNames = "";
|
||||
client.guilds.cache.each(guild => {
|
||||
|
|
Loading…
Add table
Reference in a new issue