mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 00:34:06 +00:00
Don't mark URL buttons as dispatchable
This commit is contained in:
parent
09f0ed1fba
commit
c811932ca7
@ -206,7 +206,7 @@ class Button(Item[V]):
|
||||
return self._underlying.to_dict()
|
||||
|
||||
def is_dispatchable(self) -> bool:
|
||||
return True
|
||||
return self.custom_id is not None
|
||||
|
||||
def refresh_component(self, button: ButtonComponent) -> None:
|
||||
self._underlying = button
|
||||
|
Loading…
x
Reference in New Issue
Block a user