aljazmedic / discord-bot Goto Github PK
View Code? Open in Web Editor NEWA versetile discord bot, that supports modular command usage
License: MIT License
A versetile discord bot, that supports modular command usage
License: MIT License
Generate help based on who issued and where the command was issued.
Generation in help command and binding stack of middleware
Bot answers on wh joke, even when another command is issued
Biased pick rate, based on vote,
upvote and downvote emotes for guild
Add promise handler for different tries of change users with higher roles.
The CommandFunction currently has Message - Bot - Paramters signature.
In order to use middleware, that adds emotes and serializes the use of
CommandMessage, that extends the Message is presented; it holds information of the call message and the command that procked it, response meanwhile holds the options to responde to command;
(msg:CommandMessage, client:Bot, response:CommandResponse, next?:NextFunction){
response.channelReply('Great job ๐');
}
Before:
(msg:Message, client:Bot, params:CommandParameters, next?:NextFunction){
msg.reply('Great job ๐') //We lose the message reference that way
}
Clean command should filter bot's messages and anything that propted them
Implementing logging with winston module. Console, file and error.log with compression at the end.
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.