HackRU Discord bot to facilitate a mentor queue system.
- Create a bot app from the Discord Dev Portal
- Download/Clone this repo (
mainbranch) - Create
.envandconfig.jsonwith appropriate values from the example files - Run
npm install - Run
npm run deploy-cmdsto publish Discord app commands - Run
node .to start the bot
Use the /setup command to automatically create the necessary channels and roles (listed below). You may re-order the channels/roles and adjust settings. Do NOT change the names.
@Mentor: Assign this role to mentors who will be reviewing and accepting mentor requests to assist participants in the hackathon.#mentorq: Public MentorQ channel with an info message. Users can click theRequest a mentorbutton and will be prompted with a modal form to fill out.#mentorq-queue: Private MentorQ queue channel. When users submit mentor request forms, a message will be sent here with the data.- A mentor can click the
Claimbutton to accept the request and open a private ticket (thread channel) between the mentor and the user. The user will be notified via DMs and pinged in the channel. The ticket will automatically archive after 24 hours of inactivity or can be locked & archived by a mentor with the/closecommand or theClosebutton. Archived tickets can be viewed in the threads list of the#mentorqchannel. - The
Cancelbutton can be used to reject a mentor request. This should only be used for invalid requests. The user will be notified via DMs. Once a request is canceled, it can no longer be claimed.
- A mentor can click the
Contributions to this repository are welcome. Create an issue and/or open a pull request. We use ESLint to enforce a consistent coding style.
MentorQ-Discord-Bot is an open-source project licensed under the MIT License.
Copyright (c) 2024 HackRU. Developed by Eshaan (@DaStormer).