class MyView(discord.ui.View): async def on_timeout(self): print('TIMEOUT') ... If I set the timeout time to 15 minutes, it works, but if I set it to 24 hours, it doesn't work. discord.errors.ConnectionClosed: Shard ID None WebSocket closed with 1000 When I see this, it seems like the call isn't being made. Is this the problem? I'm running my bot on AWS free server. Continue reading...