salvobonsma / cortex-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cortex Bot

About

The Cortex Bot is a Discord bot that is used to help manage the Cortex Development community Discord server.

It does things that discord does not already provide that help make the server experience better for everyone.

Commands

Users commands

  • /code - Get information on how to properly post your code.
  • /leaderboard - Get the top ten leaderboard rankings for points
  • /javatutorials - Get a link to Kody's Ultimate Java Tutorial Series
  • /pay <user> <amount> [reason] - Give your points to someone else
  • /points [user] - See how many points you or someone else has
  • /thank <user> [amount] [reason] - Thank someone for helping you on the server. Optionally tip them an amount of points.
  • /joke - Get a Chuck Norris joke
  • /suggestions - Shows top 10 most upvoted suggestions

Staff Only Commands

  1. Mod
  • /givepoints <user> <amount> [reason] - Give points to a member
  • /set-points <user> <amount> [reason] - Set points for a member
  • /take-points <user> <amount> [reason] - Take points from a member
  1. Admin
  • /challenge create - Create a new challenge
  • /challenge finishgrading - Finish grading the ongoing challenge
  • /challenge end - End the ongoing challenge
  1. Owner
  • /resetpoints - Reset all points to 0 - WIP

Context Menus

  • Give Points for Helping - MOD - Give points to a member for helping someone
  • I Got Helped - Inform a staff member that you got help by this user - WIP
  • Give Points - MOD - Give points to a member
  • Take Points - MOD - Take points from a member
  • Set Points - MOD - Set points for a member
  • Thank Points - Thank someone for helping you on the server.

Features

  • Points - Members can get points from other members or from getting their work acknowledged by staff. These points can be accumulated and flexed on the leaderboard
  • Challenges - Staff can create challenges for members to complete. These challenges can be graded by staff.

Contribution

We welcome contributions from the community! To contribute to this project, please follow these guidelines:

  1. Fork the repository and create a feature branch named after what you’d like to add.
  2. Edit the application.properties and application-dev.properties files
  3. Code and commit your changes.
  4. Push your changes to your fork.
  5. Open a pull request to the master branch of this repository.
  6. Wait for it to be reviewed and look out for any questions or comments we might have.

This application uses Spring Boot v3 and Java 17. For the database it uses MongoDB. When configuring the application-dev.properties file, put the URI for your mongodb database -- we recommend creating a free one on MongoDB Atlas.

For choosing what to work on, please refer to the issues tab of this repository. If you have any ideas that you would like to add, please create an issue and we will let you know what we think.

If you decide to work on something without there first being an issue, just be warned it might not be accepted if we do not find it needed for the community.

You can also come talk to us on our Discord server if you have any questions or just want to chat.

About


Languages

Language:Java 99.8%Language:Dockerfile 0.2%