Commit Graph

17 Commits

Author SHA1 Message Date
hydrabolt
8b64769b49 4.0.0 and dists 2015-10-29 15:52:05 +00:00
hydrabolt
626c3208b9 Fixed permission resolution 2015-10-29 15:45:48 +00:00
hydrabolt
834825a09d New travis build 2015-10-28 16:09:21 +00:00
hydrabolt
6b18f42728 More docs 2015-10-27 21:20:29 +00:00
hydrabolt
d08e802083 Add createRoleIfNotExists function 2015-10-27 16:42:32 +00:00
hydrabolt
555d743dae Added permission overwrites in channels and potential bug fix
Bug may have potentially been fixed under MESSAGE_UPDATE
2015-10-26 17:31:23 +00:00
hydrabolt
76888151a2 Added defaults to ServerPermissions 2015-10-26 13:55:00 +00:00
hydrabolt
1de2c5e5be Added Colors file
removed colours for consistency
2015-10-26 13:36:13 +00:00
hydrabolt
685d08ffa5 Added permission fields missing in server permissions 2015-10-26 12:18:57 +00:00
hydrabolt
e9afa94c32 Added setting permissions
You should just do:

permissionObject.manageRoles = true;

for example rather than messing with setBit.
2015-10-26 12:16:04 +00:00
hydrabolt
15f35e8019 Fixed getBit
will now resolve all permissions to true if it has manage role
2015-10-26 12:11:45 +00:00
hydrabolt
0f02856a8c Added role creation and new role listening
bot.createRole(server, cb(err, ServerPermissions))

and

bot.on("serverRoleCreate", server, ServerPermissions)
2015-10-26 12:06:38 +00:00
hydrabolt
780369b90a Moved permissions to get/set
the grind was unreal
2015-10-03 23:50:21 +01:00
hydrabolt
aed7d3c1c2 began to work on update listening 2015-10-03 23:40:29 +01:00
hydrabolt
3869f584b6 added toString to ServerPermissions 2015-10-03 20:30:53 +01:00
hydrabolt
b264b61718 Servers now manage server-wide permissions
Servers now create ServerPermissions objects for roles
2015-10-03 19:44:08 +01:00
hydrabolt
6967f5e649 Created serverPermissions and roles array 2015-10-03 19:04:22 +01:00