#how can i ban a member with a slash command

1 messages · Page 1 of 1 (latest)

supple crow
#

i dont know how to ban a member.

nimble haven
supple crow
#

didnt understand

nimble haven
#

-d disnake.Member.ban

trail doveBOT
#

await ban(*, clean_history_duration=..., delete_message_days=..., reason=None)```
This function is a [*coroutine*](https://docs.python.org/3/library/asyncio-task.html#coroutine).

Bans this member. Equivalent to [`Guild.ban()`](https://docs.disnake.dev/page/api.html#disnake.Guild.ban "disnake.Guild.ban").
supple crow
#

@nimble haven

nimble haven
supple crow
#

..

wraith spade
#

basically it isnt await ban

#

its await user.ban() if im not mistaken

boreal summit
#

please be respectful

#

if your issue was solved then we'd appreciate if you could run /solved

nimble haven
#

@shrewd jacinth please

hexed apexBOT
#
Solved!

Marked the thread as solved. If your question has not been answered, please open a new thread in #1019642966526140566.

boreal summit
#

make me mod smh