Remove unnecessary code
This commit is contained in:
parent
716f16946d
commit
9aa7075266
1 changed files with 1 additions and 3 deletions
|
@ -111,8 +111,8 @@ class BanCog(CacheCog):
|
|||
async def _ban(
|
||||
self,
|
||||
ctx: InteractionContext,
|
||||
reason: str,
|
||||
user: User = None,
|
||||
reason: str = None,
|
||||
btype: str = "perm",
|
||||
duration: int = 4,
|
||||
) -> None:
|
||||
|
@ -131,8 +131,6 @@ class BanCog(CacheCog):
|
|||
if len(reason) > 100:
|
||||
await ctx.send("Reason must be < 100 characters", hidden=True)
|
||||
return
|
||||
if not reason:
|
||||
reason = "Mr. Stark is displeased with your presence. Please leave."
|
||||
|
||||
await ctx.defer()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue