Method GetGuildBans
|
Improve this Doc
View Source
GetGuildBans(Snowflake)
Gets a list of all users that are banned from the specified guild.
Requires BanMembers.
Declaration
public Task<IReadOnlyList<DiscordGuildBan>> GetGuildBans(Snowflake guildId)
Parameters
Returns
Exceptions
|
Improve this Doc
View Source
GetGuildBans(DiscordGuild)
Gets a list of all users that are banned from the specified guild.
Requires BanMembers.
Declaration
public Task<IReadOnlyList<DiscordGuildBan>> GetGuildBans(DiscordGuild guild)
Parameters
Returns
Exceptions