disco.types.permissions

Constants

Permissions = Enum(
  CREATE_INSTANT_INVITE = {'type': 'bin_op'},
  KICK_MEMBERS = {'type': 'bin_op'},
  BAN_MEMBERS = {'type': 'bin_op'},
  ADMINISTRATOR = {'type': 'bin_op'},
  MANAGE_CHANNELS = {'type': 'bin_op'},
  MANAGE_GUILD = {'type': 'bin_op'},
  READ_MESSAGES = {'type': 'bin_op'},
  SEND_MESSAGES = {'type': 'bin_op'},
  SEND_TSS_MESSAGES = {'type': 'bin_op'},
  MANAGE_MESSAGES = {'type': 'bin_op'},
  EMBED_LINKS = {'type': 'bin_op'},
  ATTACH_FILES = {'type': 'bin_op'},
  READ_MESSAGE_HISTORY = {'type': 'bin_op'},
  MENTION_EVERYONE = {'type': 'bin_op'},
  USE_EXTERNAL_EMOJIS = {'type': 'bin_op'},
  CONNECT = {'type': 'bin_op'},
  SPEAK = {'type': 'bin_op'},
  MUTE_MEMBERS = {'type': 'bin_op'},
  DEAFEN_MEMBERS = {'type': 'bin_op'},
  MOVE_MEMBERS = {'type': 'bin_op'},
  USE_VAD = {'type': 'bin_op'},
  CHANGE_NICKNAME = {'type': 'bin_op'},
  MANAGE_NICKNAMES = {'type': 'bin_op'},
  MANAGE_ROLES = {'type': 'bin_op'},
  MANAGE_WEBHOOKS = {'type': 'bin_op'},
  MANAGE_EMOJIS = {'type': 'bin_op'})

Classes

PermissionValue

Functions

init(self, value)

can(self,*perms)

add(self, other)

sub(self, other)

iadd(self, other)

isub(self, other)

getattribute(self, name)

setattr(self, name, value)

int(self)

to_dict(self)

text(cls)

voice(cls)

Permissible

Functions

get_permissions(self)

can(self, user,*args)

results matching ""

    No results matching ""