Skip to content

Commit

Permalink
Fix some permission levels
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandraghon committed Aug 26, 2017
2 parents 7f14fc4 + 98e3772 commit d41192d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 36 deletions.
2 changes: 1 addition & 1 deletion commands/Misc/poke.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports.conf = {
runIn: ['text'],
enabled: true,
aliases: [],
permLevel: 2,
permLevel: 0,
botPerms: [],
nsfw: false,
cooldown: 5,
Expand Down
4 changes: 2 additions & 2 deletions commands/Misc/roll.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ exports.run = async (client, message, [dice]) => {
};

exports.conf = {
runIn: ['text'],
runIn: ['text', 'dm', 'group'],
enabled: true,
aliases: [],
permLevel: 2,
permLevel: 0,
botPerms: [],
nsfw: false,
};
Expand Down
2 changes: 1 addition & 1 deletion commands/Misc/sing.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports.conf = {
runIn: ['text'],
enabled: true,
aliases: [],
permLevel: 2,
permLevel: 0,
botPerms: [],
nsfw: false,
cooldown: 10,
Expand Down
2 changes: 1 addition & 1 deletion commands/Misc/whoisin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports.conf = {
runIn: ['text'],
enabled: true,
aliases: [],
permLevel: 1,
permLevel: 0,
botPerms: [],
nsfw: false,
cooldown: 5,
Expand Down
30 changes: 0 additions & 30 deletions commands/Music/leave.js

This file was deleted.

2 changes: 1 addition & 1 deletion commands/Music/time.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports.run = async (client, msg) => {

const handler = client.queue.get(msg.guild.id);
if (!handler || handler.playing === false) throw 'I am not playing music.';
return msg.send(`🕰 Time remaining: ${moment.duration((handler.songs[0].seconds * 1000) - msg.guild.voiceConnection.dispatcher.time).format('h[:]mm[:]ss')}`);
return msg.send(`🕰 Time remaining: ${moment.duration((handler.songs[0].seconds * 1000) - msg.guild.voiceConnection.dispatcher.time).format('h:mm:ss', { trim: false })}`);
};

exports.conf = {
Expand Down

0 comments on commit d41192d

Please sign in to comment.