Skip to content

Alekol is a Discord bot to automatically add or remove a role whether you are logged at 42 school.

Notifications You must be signed in to change notification settings

theovgl/alekol-42

Repository files navigation

Alekol - Discord bot

ESLint Node.js CI Invite

Alekol is a Discord bot to automatically add or remove a role whether you are logged at 42 school.

image

Usage

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.

/auth

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.

/ping

Pong.

/role

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).

/spy login

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.

Installation

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.

Contributors

About

Alekol is a Discord bot to automatically add or remove a role whether you are logged at 42 school.

Topics

Resources

Stars

Watchers

Forks

Languages