Extend refresh timeout
All checks were successful
Build and Publish / build_and_publish (push) Successful in 1m45s
All checks were successful
Build and Publish / build_and_publish (push) Successful in 1m45s
This commit is contained in:
parent
dbd06bfe38
commit
5a5752eae7
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ class ElectionCog(commands.Cog):
|
||||||
return await ctx.respond(f"Sorry, I cannot contact the BBC at this time: {e}")
|
return await ctx.respond(f"Sorry, I cannot contact the BBC at this time: {e}")
|
||||||
if embed is None:
|
if embed is None:
|
||||||
return await ctx.respond("Sorry, I could not find any election results.")
|
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):
|
def setup(bot):
|
||||||
|
|
Loading…
Reference in a new issue