OSDG-IIITH / Discord-CAS

Tool for user verification via CAS on Discord servers.
0 stars 6 forks source link

Investigate into functionality (and potential removal) of `/bot` web endpoint #2

Closed ankith26 closed 7 months ago

ankith26 commented 7 months ago

Description

It seems like this piece of code exists to disable the addition of the bot into servers that the instance is not configured to work with.

It isn't clear where this endpoint is used from, so I suspect it's dead code (though this is an untested hunch).

Tasks

Anyways, we probably don't need this validation. We can allow the bot to be added to any server, but the bot would print an error message if it's called in a server it's not configured to work on, redirecting people to the README instructions.

bluebottlewize commented 7 months ago

I've started working on it.