Skip to content
This repository has been archived by the owner on Nov 3, 2018. It is now read-only.

Commit

Permalink
Fix bash scripts, encoder and Discordie permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Guichaguri committed Feb 3, 2016
1 parent 077dca2 commit 112ffe6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions lib/Logic/ChatHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ class DiscordieChatHandler extends ChatHandler {
super(manager);
this.bot = bot;

this.permissions.MANAGE_PERMISSIONS = Discordie.Permissions.General.MANAGE_ROLES;
this.permissions.VOICE_MUTE = Discordie.Permissions.Voice.MUTE_MEMBERS;
//TODO fix
this.permissions.MANAGE_PERMISSIONS = 1 << 3;//Discordie.Permissions.General.MANAGE_ROLES;
this.permissions.VOICE_MUTE = 1 << 22;//Discordie.Permissions.Voice.MUTE_MEMBERS;
}

register() {
Expand Down
2 changes: 1 addition & 1 deletion lib/Logic/InternalDJ.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "discord-dj",
"description": "Discord DJ Bot. Let you play music in your server. Inspired by PlugDJ",
"version": "0.0.2",
"version": "0.0.3",
"main": "lib/index.js",
"author": "Guichaguri",
"license": "LGPL-2.0",
Expand Down
2 changes: 1 addition & 1 deletion setup-bot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function npmError {
echo "NPM was not found. Please, install Node.js and NPM"
echo "http://nodejs.org"
echo ""

end
}

Expand Down
1 change: 1 addition & 0 deletions start-bot.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash

node ./runtime/DiscordDJ.js
read -p "Press [Enter] to close..."

0 comments on commit 112ffe6

Please sign in to comment.