#how can i ban a member with a slash command
1 messages · Page 1 of 1 (latest)
member.ban
didnt understand
-d disnake.Member.ban
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").
@nimble haven
pls learn python
..
please be respectful
if your issue was solved then we'd appreciate if you could run /solved
Solved!
Marked the thread as solved. If your question has not been answered, please open a new thread in #1019642966526140566.
make me mod smh