GithubHelp home page GithubHelp logo

antares-network / cssc-bot Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 1.41 MB

CSSC-Bot is a bot written to help the students of the UWM CS Smart Club Discord server to get the correct roles for their classes, jobs and years. To join, join the Student Hub and search for CS Smart Club. https://discord.gg/JEdgkZWgkD

Home Page: https://antaresnetwork.com/cssc-bot

License: MIT License

Dockerfile 0.71% TypeScript 99.29%
cssc antares cssc-bot antares-bot discord-bot nodejs bot

cssc-bot's People

Contributors

deepsourcebot avatar dependabot[bot] avatar llisaeva avatar nathen418 avatar schiltz3 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

nathen418

cssc-bot's Issues

Add ability to populate database using only commands

Using slash commands, make it possible to populate the database with all cs class data (except for role id and role name) either by using a URL to a public json file or otherwise providing the class data to the bot without directly editing the database.

Allow renaming of class channels

Make cs class channels able to be renamed and not break the system. Same with roles. Revamp how csclassrole poll translates button presses into role id's so roles can have special names, not 100% derived from the CLASS_CODE

Add welcome message

Add maybe configurable welcome message sent to a user in dm's or in #hellos (the server's welcome channel) telling the user to go select their role from #roles.

checkForRoles always fails on startup

The following code in index.ts always fails because client emits ready event before the database is connected

// Check to make sure the roles exist in all servers
console.log("Checking if all roles exist in servers.");
client.guilds.cache.forEach(async (guild) => {
   checkForRoles(guild);
});

Add Channel integration to CSSC-Bot

Check for channels that match cs roles in the cs category and then create those channels if they don't exist. Save the channel name and ID to the class schema so it can be referenced easily later

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.