mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 10:46:14 +10:00
cleaned up anagram.js, combined module exports.
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
exports.name = "Change <@476369946386104330>'s Name"
|
||||
exports.alias = ['botname']
|
||||
exports.helptext = "Changes the bots name on the server"
|
||||
exports.permissions = ["MANAGE_NICKNAMES"]
|
||||
exports.args = ["new-name"]
|
||||
exports.category = 'admin'
|
||||
exports.command = (client, msg) => {
|
||||
msg.guild.me.setNickname(msg.suffix);
|
||||
module.exports = {
|
||||
name = "Change <@476369946386104330>'s Name",
|
||||
alias =['botname'],
|
||||
helptext = "Changes the bots name on the server",
|
||||
permissions =["MANAGE_NICKNAMES"],
|
||||
args =["new-name"],
|
||||
category = 'admin',
|
||||
command = (client, msg) => {
|
||||
msg.guild.me.setNickname(msg.suffix);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user