p5quared / discord-bot Goto Github PK
View Code? Open in Web Editor NEWThis is the root of the BMCC Programming Club's discord bot.
License: MIT License
This is the root of the BMCC Programming Club's discord bot.
License: MIT License
The attendance command currently says "Attendance for DATE".
We should replace DATE with the actual date. We should not have to write it every time.
Use Datetime to format the date. I prefer the format:
Jan 01
I think year is unnecessary.
It might be a good idea to create a file, something like 'function-utils' to store all bot functions. Each function call in main would call a function imported from function-utils.
I set up the reaction manager function to read reaction role info from a file, but I think this is honestly a little bit overkill for our purposes. It makes sense for scalability (we could implement feature to create an infinite number of roles), but I'm afraid this system might confuse people and make changing or adding roles ironically more difficult.
I would like to change the reaction role command to have each role hardcoded in. i.e. each role is a separate function/path within $rm.
There are many instances in the program where we want to send multiple lines of text to users. Often, we are doing this with multiple calls to ctx.send('asdf')
or similar. I am pretty sure this is a bad practice because it is splitting up what should be one server request into several.
Most if not all instances where we are using ctx.send()
multiple times in a row should be replaced by ctx.send("line1\nline2\n...etc")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.