tiagojpdias / pepe-as-a-service Goto Github PK
View Code? Open in Web Editor NEWDiscord bot to reply with "Pepe the Frog" images
License: MIT License
Discord bot to reply with "Pepe the Frog" images
License: MIT License
Problem:
Currently, users can invoke the bot as many times as they want, causing a flood if the command is abused.
Solution:
Implement a throttling mechanism so that each user has to wait N seconds until the bot stops ignoring him.
Workflow:
Problem
Spreading default values when env variables aren't set
Solution
Create config files as middleware between env variables and the ones we use throughout the code. Something like Laravel's config files.
Improve code coverage
Problem
Solution
Problem:
Solution:
We're missing the ๐คทโโ๏ธ tag and I bet there are a lot of shrugging pepes out there for us to use.
We currently have text strings hard coded in the code base.
As a first step into solving #9, we should yank them from the code and load them from language files, instead.
Example:
{
"feelsBadMan": [
"url_for_image1",
"url_for_image2",
],
}
So when we trigger the bot with "feelsBadMan" it will randomly fetch an image from the array
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.