Alekol is a Discord bot to automatically add or remove a role whether you are logged at 42 school.
The bot is straightforward : it adds a role when you come at school, and removes it when you leave.
You can interact with it using a bunch of commands.
This command is used to authenticate yourself with the bot. You will be able to either register or unregister.
If you call this command in private messages, you will be able to unregister from all the guilds you are in.
Pong.
This command allows you to change the handled role (the role being added or removed by the bot).
It is reserved for admins or users with the Manage server permission. The role needs to exist, and both the user and the bots must have rights over it (otherwise it won't even appear in the list).
This command returns the location of the user with the matching login.
You need to be registered to the bot in at least one server or in private messages.
If you don't want to invite the official bot in your server, you can host your own instance.
You will need NodeJS v16 minimum, a Supabase database, a 42 client and a Discord client.
Checkout the server's and site's README for installation procedures.