nickelc / modio-bot Goto Github PK
View Code? Open in Web Editor NEW๐ค ModBot - the Discord bot for https://mod.io. Invite it to your server https://discordbot.mod.io
License: Apache License 2.0
๐ค ModBot - the Discord bot for https://mod.io. Invite it to your server https://discordbot.mod.io
License: Apache License 2.0
I've always wanted to be able to report uptime to users of the mod.io API. I believe adding an ?uptime
command would be nice.
Internally we have the endpoint https://api.mod.io/sys/test/?api_key=APIKEYHERE
which reports the API + DB status.
However externally we use Pingdom to monitor mod.io, you can see public reports:
I think it would be cool to have the ?uptime
command return something like:
Last checked 35 seconds ago:
โ
Web 100% uptime last 7 days (672ms average response time)
โ API 98.99% uptime last 7 days (400ms average response time)
To get that information, you will need to use the Pingdom API, if you are interested I can PM you an API key to use on Discord.
Currently the updates are very light on:
"The mod has been edited"
"The primary file changed. link"
I believe the game icon and name should be included in either the header or the footer.
For the primary file, either the new version or changelog should be included. Also instead of link, can you link the text? "The primary file has changed to v0.5.3. Changelog: ..."
For the mod has been edited, can you mention the fields changed? Not essential if not.
Where possible ensure error messages are descriptive.
i.e. instead of
"You have insufficient rights for this command"
It is
"You have insufficient rights for this command, you need the X permission."
If you look at dynobot, it has "Playing dyno.gg | ?help so users know where to start.
Modbot should do the same and set the "Playing" to whatever the current prefix is, for example:
Playing ~help
It's better to show a warning when setting the game and responses with a message for api access errors.
When a user performs an action that has no outcome, the modbot should return an error message so the user knows why.
~subscribe 123
"Only users with manage channels role can subscribe to games"
something like @modbot mute-user "game" "user-id"
It's very confusing for users, it should be 100 milliseconds or less
At the moment "A new mod is available" includes the creator in the header, and does not mention the game.
But "A mod has been updated" includes the game in the header and not the creator.
I think for consistency the game should always be in the header, and the creator is either linked in the description or in the footer
I wanna add a new game that came out 5th April 2024 "BMX Streets" but it doesn't appear in the list smh
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.