Open Scrxtchy opened 7 years ago
I have been thinking about this a bit, assuming you mean by tilde the representation your irc client uses for operators?
Getting the owner is a start but ideally I would like to just display mods as ops, etc.
But due to roles and all that it is a rather complicated en devour to get this right.
I don't think discord have given users access to be able to see the permissions of each guild role, as they require the MANAGE_ROLES
bit (0x10000000
) in their own role
Guild owners are usually the creator, or have been transferred ownership,
Should be fetchable with
discordClient.guilds.get(discordID).owner
which returns the user as an object or withownerID
if you want their unique ID