Improve tray initialization and logging (#2048)
- Remove all async click handlers as the typing of the expected method
is that of `void` so it doesn't know how to handle `Promise<void>`
- Replace the above with promise chains with correctly handle any errors
by logging them
- Fix the tray menu update logic to actually produce a new menu when the
reaction is run
- Improve the Clusters submenu generation to involve less work and to
utilize the built-in checkmark rendering
Signed-off-by:
Sebastian Malton <sebastian@malton.name>
Showing
+60 -60
Please register or sign in to comment