Skip to content

interface with CSSS-WEBSITE discord application #31

@EarthenSky

Description

@EarthenSky

CSSS discord has several bots (called discord applications): Wall-e, eve, and csss-website. Wall-e is a whole project undergoing renovations, and with different goals than the website.

We'd like to query the csss discord server with things like "which people have which executive roles", or "who has access to which channels". We'll want to display this information to the dashboard so that executives can be notified if someone has permission that they shouldn't (ie. transitioned officer). Historically this was automated, however the execs / mods would prefer to have direct control. In addition, we'll want some api calls to modify permissions as well (a dashboard interface), but we should leave that for a future issue.

It looks like we can use discord's http api to get the info we're looking for.

Requirements:

  • create a module which gets info from the csss discord guild. We can call this the "discord module"
    • we want the following functions:
      • get all discord channels in a category
      • get all users with access to a specific channel
      • ? get all users in our discord guild (server)
      • ? get all roles a user has in our discord guild
      • get all users who have a specific role
      • get all roles in our discord guild
  • figure out a way to mock this module so we can locally test it without making API calls (unless desired)

If you're not sure what we're looking for specifically, please ask so we're all on the same page. If you have any questions please lmk!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions