Skip to main content

Module ban

Module ban 

Source

Re-exports§

pub use self::bulk_ban::BulkGuildBan;
pub use self::create_ban::CreateBan;
pub use self::delete_ban::DeleteBan;
pub use self::get_ban::GetBan;
pub use self::get_bans::GetBans;

Modules§

bulk_ban
Builder and response body for the Bulk Ban request.

Structs§

CreateBan
Bans a user from a guild, optionally with the number of days’ worth of messages to delete and the reason.
DeleteBan
Remove a ban from a user in a guild.
GetBan
Get information about a ban of a guild.
GetBans
Retrieve the bans for a guild.