Skip to content

Integrations

Alex Levie edited this page Sep 15, 2023 · 2 revisions

Integrations

Discord

Our bots use discord.py which is a deprecated library. If discord's api makes any breaking changes our bots will have to be re-written in a new discord bot package. If there is a breaking change, the current suggestion is to find a forked version of discord.py and try and keep the bots as similar as possible so that minimal effort must be spent updating them.

Discord bot creation is a very standard process and discord provides helpful setup pages to create new bots so that you do not have to re-use bots that are under Alex's discord account. You can create you own bots and simply update the bot keys within the python code.

Gatekeeper

Gatekeeper is built very heavily on discord's OAuth implementation and it is not a straightforward process. For now, it is important to note that there is a lot of hardcoded functions within both the UI and API that make this integration possible and users must connect their discord account to their WiCHackManager account first before the GateKeeper will let them in.

Note: Hackers must be told 1,000 times to connect their discord and WiCHackManager accounts but many will still mess it up. We looked into various ways to eliminate this step and found no good alternatives so sorry - you'll have to send a lot of reminders and messages about this

Resume Downloader

The resume downloader uses Auth0 API keys to communicate with the WiCHackerManager which make the endpoints it relies on look a bit funny compared with the others that require authentication and authorization. In the future this functionality will be moved to be within the manager itself - but be careful not to open any files within the manager as this can expose us to potentially malicious files

Clone this wiki locally