Class GuildPermissions
public class GuildPermissions : IGuildPermissions, IChannelPermissions
- Inheritance
-
objectGuildPermissions
- Implements
Constructors
GuildPermissions(GuildPermission)
public GuildPermissions(GuildPermission perms)
Parameters
permsGuildPermission
Properties
AddReactions
Add new reactions to messages.
public bool AddReactions { get; }
Property Value
Administrator
Grants all permissions and bypasses channel restrictions. Highly sensitive.
public bool Administrator { get; }
Property Value
AttachFiles
Upload files in the channel.
public bool AttachFiles { get; }
Property Value
BanMembers
Ban users from joining the guild.
public bool BanMembers { get; }
Property Value
BypassSlowmode
Ignore per-channel message rate limits..
public bool BypassSlowmode { get; }
Property Value
ChangeNickname
Update your own nickname.
public bool ChangeNickname { get; }
Property Value
Connect
Connect to the voice channel.
public bool Connect { get; }
Property Value
CreateExpressions
Upload new emojis and stickers, and manage your own creations.
public bool CreateExpressions { get; }
Property Value
CreateInstantInvite
Create invites to invite other users to the guild.
public bool CreateInstantInvite { get; }
Property Value
DeafenMembers
Deafen users in the voice channel.
public bool DeafenMembers { get; }
Property Value
EmbedLinks
Embed links in the channel.
public bool EmbedLinks { get; }
Property Value
KickMembers
Kick users from the guild.
public bool KickMembers { get; }
Property Value
ManageChannels
Create, edit, or delete channels and categories.
public bool ManageChannels { get; }
Property Value
ManageExpressions
Edit or delete emojis and stickers created by other members.
public bool ManageExpressions { get; }
Property Value
ManageGuild
Edit global settings like name, description, and icon.
public bool ManageGuild { get; }
Property Value
ManageMessages
Delete messages from other users.
public bool ManageMessages { get; }
Property Value
ManageNicknames
Change other members nicknames.
public bool ManageNicknames { get; }
Property Value
ManageRoles
Create, edit, or delete roles below your highest role. Also allows editing channel permission overwrites.
public bool ManageRoles { get; }
Property Value
ManageWebhooks
Create, edit, or delete webhooks.
public bool ManageWebhooks { get; }
Property Value
MentionEveryone
Mention everyone or any role (even if the role isn't set to be mentionable)
public bool MentionEveryone { get; }
Property Value
ModerateMembers
Prevent members from sending messages, reacting, and joining voice for a duration.
public bool ModerateMembers { get; }
Property Value
MoveMembers
Drag members between voice channels they can access.
public bool MoveMembers { get; }
Property Value
MuteMembers
Mute users in the voice channel.
public bool MuteMembers { get; }
Property Value
PinMessages
Pin messages in the channel.
public bool PinMessages { get; }
Property Value
PrioritySpeaker
Prioritize your voice in the voice channel.
public bool PrioritySpeaker { get; }
Property Value
RawValue
Raw permissions flag for the guild.
public GuildPermission RawValue { get; }
Property Value
ReadMessageHistory
Read all messages in the channel.
public bool ReadMessageHistory { get; }
Property Value
SendMessages
Send messages in this channel.
public bool SendMessages { get; }
Property Value
SendTTSMessages
Send text-to-speech messages.
public bool SendTTSMessages { get; }
Property Value
Speak
Speak in the voice channel.
public bool Speak { get; }
Property Value
Stream
Allow video and screenshare in the voice channel.
public bool Stream { get; }
Property Value
UpdateRtcRegion
Update the voice region for this voice channel.
public bool UpdateRtcRegion { get; }
Property Value
UseExternalEmojis
Use emojis from other guilds.
public bool UseExternalEmojis { get; }
Property Value
UseExternalStickers
Use stickers from other guilds.
public bool UseExternalStickers { get; }
Property Value
UseVad
Denied if push to talk is required in the voice channel.
public bool UseVad { get; }
Property Value
ViewAuditLog
Read the community's audit log of changes and moderation actions.
public bool ViewAuditLog { get; }
Property Value
ViewChannel
View this channel.
public bool ViewChannel { get; }
Property Value
ViewChannelMembers
Allows you to view members in the channel.
public bool ViewChannelMembers { get; }
Property Value
Methods
Resolve(SocketGuildMember)
public static GuildPermissions Resolve(SocketGuildMember member)
Parameters
memberSocketGuildMember