Skip to content

Commit

Permalink
Update redbot/cogs/warnings/warnings.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Oliveira <[email protected]>
  • Loading branch information
Ascensionn and Flame442 authored Dec 2, 2024
1 parent c5a41a9 commit c12bf99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbot/cogs/warnings/warnings.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ async def warn(
return
user_obj = self.bot.get_user(user) or discord.Object(id=user)
try:
confirm = ConfirmView(ctx.author, timeout=10)
confirm = ConfirmView(ctx.author, timeout=30)
confirm.message = await ctx.send(
f"User `{user}` is not in the server but has been found globally. Would you like to ban them instead?",
view=confirm,
Expand Down

0 comments on commit c12bf99

Please sign in to comment.