mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 19:34:23 +00:00
Fix typo in FlagConverter example
This commit is contained in:
parent
04f5fcf741
commit
544bb1e237
@ -931,7 +931,7 @@ For ease of use, the :func:`~ext.commands.flag` function accepts a ``description
|
||||
class BanFlags(commands.FlagConverter):
|
||||
member: discord.Member = commands.flag(description='The member to ban')
|
||||
reason: str = commands.flag(description='The reason for the ban')
|
||||
days: int = 1 = commands.flag(description='The number of days worth of messages to delete')
|
||||
days: int = commands.flag(default=1, description='The number of days worth of messages to delete')
|
||||
|
||||
|
||||
@commands.hybrid_command()
|
||||
|
Loading…
x
Reference in New Issue
Block a user