Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Send startup message on all servers #62

Open
11 tasks
Tawmy opened this issue Nov 30, 2022 · 0 comments
Open
11 tasks

Send startup message on all servers #62

Tawmy opened this issue Nov 30, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Tawmy
Copy link
Owner

Tawmy commented Nov 30, 2022

Leyla silently starts on any server that isn't the base one. This isn't great UX - there should be a message being sent to all servers Leyla is part of.

  • Replace archive channel with bot channel
  • Bot channel is mandatory, not nullable

Startup message should contain:

  • Bot name
  • Server name
  • Which modules are loaded on the server
  • Bot version
  • link to join Leyla server

  • New event: OnLeylaReady(), fired when Leyla and all modules have fully started (and when messages on main Leyla server have been sent)
  • Subscribe to new event, iterate all guilds and sent startup message separated by 50ms

Make sure:

  • Bot must not crash when missing permissions
  • Messages must not block rest of bot
@Tawmy Tawmy added the enhancement New feature or request label Nov 30, 2022
@Tawmy Tawmy self-assigned this Nov 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant