Method CreateGuildBanAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
CreateGuildBanAsync(ulong, ulong, int, string)
Creates guild ban
public Task CreateGuildBanAsync(ulong guildId, ulong userId, int deleteMessageDays, string reason)
Parameters
guildId
ulongGuild ID
userId
ulongUser ID
deleteMessageDays
intDays to delete messages
reason
stringReason why this member was banned