ban abstract method
- SnowflakeEntity user,
- {int deleteMessageDays = 0,
- String? auditReason}
Bans a user and allows to delete messages from deleteMessageDays
number of days.
await guild.ban(member);
Implementation
Future<void> ban(SnowflakeEntity user, {int deleteMessageDays = 0, String? auditReason});