corpinator icon indicating copy to clipboard operation
corpinator copied to clipboard

vNext Update

Open Cisien opened this issue 3 years ago • 0 comments

This issue should serve as a place to discuss what is desired for the next version of this bot.

As the bot is added to more discord servers, we will reach a point where we must go through discord's bot verification process, and will have additional restrictions such as not having access to message content and other privileged intents. For these reasons some changes will be necessary at some point.

Mandatory changes:

  • [ ] Change discord libraries to one that supports slash commands and "V9" gateway features
  • [ ] Change to using slash commands instead of the %% prefix
  • [ ] Private/ephemeral (thread vs DM) user correspondence so as to not spam a channel
  • [ ] Make it possible for server owners self-serve onboarding

Other things that are nice to have:

  • [ ] Have the bot leave the server if it goes a period of time without active verifications, (or use?)
  • [ ] Auto verify on command usage if the user has verified on another server
  • [ ] Periodically check, and report on role mis-configuration (missing perms, role not above verified, etc)
  • [ ] Log/error reporting channel
  • [ ] Commands to get the bot's invite link
  • [ ] README/doc updates to document features
  • [ ] Follow-up instructions after a user has verified (a Teams URL, instructions to get reddit flair, etc)
  • [ ] Make the bot a bit more modular -- more config/runtime configuration, less hard-coding

The goal of the last "nice to have" is to allow this bot to be used for more than just the Microsoft account, or AAD. I'd like to support any device code flow, or a web page sign in flow (user is given a link, signs in with discord, then signs in with their oauth/oidc/whatever account and completes verification that way)

Cisien avatar Aug 25 '21 15:08 Cisien