def stop(self):
"""Exit the help page"""
super().stop()
# Only do it for a minute, so if someone does a quick stop,
# we'll grant them their wish of stopping early.
end = time.monotonic()
if end - self._start_time < 60:
return
final_embed = (discord.Embed(colour=self.colour, description='*Just remember...* \N{HEAVY BLACK HEART}')
.set_author(name='Thank you for looking at the help page!')
.set_image(url=CHIAKI_MOTIVATION_URL)
)
# haaaaaaaaaaaack
await self._message.edit(embed=final_embed)
return await asyncio.sleep(10)
评论列表
文章目录