toggle menu
BotCommands
JVM
switch theme
search in API
BotCommands
/
io.github.freya022.botcommands.api.core.utils
/
ban
ban
fun
Member
.
ban
(
deletionTimeframe
:
Duration
)
:
AuditableRestAction
<
Void
>
(
source
)
See also
Member.
ban
fun
Guild
.
ban
(
user
:
UserSnowflake
,
deletionTimeframe
:
Duration
)
:
AuditableRestAction
<
Void
>
(
source
)
See also
Guild.
ban
fun
Guild
.
ban
(
users
:
Collection
<
UserSnowflake
>
,
duration
:
Duration
)
:
AuditableRestAction
<
BulkBanResponse
>
(
source
)
See
bulk ban from JDA