Fix Message Sending and Support New Features. The library now supports

all the game streaming and URL stuff and is fixed for roles #328

src/client/websocket/packets/handlers/PresenceUpdate.js
This commit is contained in:
hydrabolt
2016-05-07 15:33:00 +01:00
parent bc443df11d
commit fb49ad7d93
6 changed files with 17 additions and 10 deletions

View File

@@ -146,7 +146,7 @@ const PermissionFlags = exports.PermissionFlags = {
CREATE_INSTANT_INVITE: 1 << 0,
KICK_MEMBERS: 1 << 1,
BAN_MEMBERS: 1 << 2,
MANAGE_ROLES: 1 << 3,
ADMINISTRATOR: 1 << 3,
MANAGE_CHANNELS: 1 << 4,
MANAGE_GUILD: 1 << 5,
@@ -165,6 +165,10 @@ const PermissionFlags = exports.PermissionFlags = {
DEAFEN_MEMBERS: 1 << 23,
MOVE_MEMBERS: 1 << 24,
USE_VAD: 1 << 25,
CHANGE_NICKNAME: 1 << 26,
MANAGE_NICKNAMES: 1 << 27,
MANAGE_ROLES_OR_PERMISSIONS: 1 << 28,
};
let _ALL_PERMISSIONS = 0;