diff options
| author | Rapptz <[email protected]> | 2021-05-31 22:57:44 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-05-31 22:57:44 -0400 |
| commit | c811932ca7a8e51107558fbf61d46b22ef6399ba (patch) | |
| tree | d215d8afbe9b90c2db747b9847e3930229d57af4 /discord/ui/button.py | |
| parent | Mention that rows are explicitly 0 indexed. (diff) | |
| download | discord.py-c811932ca7a8e51107558fbf61d46b22ef6399ba.tar.xz discord.py-c811932ca7a8e51107558fbf61d46b22ef6399ba.zip | |
Don't mark URL buttons as dispatchable
Diffstat (limited to 'discord/ui/button.py')
| -rw-r--r-- | discord/ui/button.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ui/button.py b/discord/ui/button.py index f75fe92d..2e4e54fd 100644 --- a/discord/ui/button.py +++ b/discord/ui/button.py @@ -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 |