Extend refresh timeout
All checks were successful
Build and Publish / build_and_publish (push) Successful in 1m45s

This commit is contained in:
Nexus 2024-07-05 00:35:10 +01:00
parent dbd06bfe38
commit 5a5752eae7

View file

@ -206,7 +206,7 @@ class ElectionCog(commands.Cog):
return await ctx.respond(f"Sorry, I cannot contact the BBC at this time: {e}")
if embed is None:
return await ctx.respond("Sorry, I could not find any election results.")
await ctx.respond(embed=embed, view=RefreshView())
await ctx.respond(embed=embed, view=RefreshView(timeout=3600, disable_on_timeout=True))
def setup(bot):