star_toggle_ui
- star_toggle_ui.check_and_mark_handled(interaction_id)[source]
Check if the interaction has already been handled, and mark it handled.
- class star_toggle_ui.StarToggleMenuView(channel_id, feature_states, *, timeout=60.0)[source]
Bases:
ViewThe toggle menu showing all features with enabled/disabled status. # 💀🔥
NOT persistent — this is the popup that appears when ✧ is clicked. Timeout after 60s of inactivity.
- class star_toggle_ui.StarToggleView(channel_id)[source]
Bases:
ViewPersistent view containing only the ✧ button. # 💀🔥
timeout=None makes this survive bot restarts when registered with client.add_view() in on_ready.
- Parameters:
channel_id (str)
- class star_toggle_ui.StarToggleButton(channel_id)[source]
Bases:
StarToggleViewGrey ✧ button on every message — opens the toggle menu. # 🕷️💕
- Parameters:
channel_id (str)