Don't mark URL buttons as dispatchable
This commit is contained in:
1 parent
09f0ed1fba
commit
c811932ca7
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user