mirror of
https://github.com/musix-org/musix-oss
synced 2025-06-16 12:36:01 +00:00
Fixed after christer. Updated dev only commands.
This commit is contained in:
14
commands/settings/reset.js
Normal file
14
commands/settings/reset.js
Normal file
@ -0,0 +1,14 @@
|
||||
module.exports = {
|
||||
name: 'reset',
|
||||
async execute(message, args, client, Discord, prefix) {
|
||||
client.global.db.guilds[message.guild.id] = {
|
||||
prefix: client.config.prefix,
|
||||
defaultVolume: 5,
|
||||
permissions: false,
|
||||
premium: false,
|
||||
dj: false,
|
||||
djrole: null
|
||||
};
|
||||
message.channel.send(':white_check_mark: Reset __all__ guild settings!');
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user