You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I've been playing with this library for a while now.
From what it seems, the current buttons ecosystem does not take in count the possibility of the Menu class being subclassed and the button methods overridden (with it's own button decorator), right?
EDIT: I mean, subclassing for example MenuPages, basically if I override stop_button with it's own button decorator (because I want to change the emoji for it) but even after that I can still see the original MenuPages.stop_button in self.buttons. Like this I guess the only way would be to manually delete_button of meths that I've overridden (for example in init)
The text was updated successfully, but these errors were encountered:
So I did my work and found out the subclassing is definitely working as it should.
My problem was caused by a button emoji that wasn't recognized by discord, throwing HTTP exception in a task which swallows these exceptions. The menu reacts simply stopped being added after trying to add the wrong emoji and because of some lucky ordering all my overridden custom buttons were not added.
Hello,
I've been playing with this library for a while now.
From what it seems, the current buttons ecosystem does not take in count the possibility of the Menu class being subclassed and the button methods overridden (with it's own button decorator), right?
EDIT: I mean, subclassing for example
MenuPages
, basically if I overridestop_button
with it's own button decorator (because I want to change the emoji for it) but even after that I can still see the originalMenuPages.stop_button
inself.buttons
. Like this I guess the only way would be to manually delete_button of meths that I've overridden (for example in init)The text was updated successfully, but these errors were encountered: