#Speedgame Button command isnt working
1 messages · Page 1 of 1 (latest)
for reference, this is what it looks like in 2.1.x ```py
async def on_timeout(self) -> None:
"""|coro|
A callback that is called when a view's timeout elapses without being explicitly stopped.
"""
if self.disable_on_timeout:
if self._message:
self.disable_all_items()
await self._message.edit(view=self)```but just copy pasting it won't work
just adapt the logic as you see fit i suppose