ritsuproject / ritsu Goto Github PK
View Code? Open in Web Editor NEWA Discord Bot based on the AnimeMusicQuiz (AMQ) game, play using your MAL/Anilist animelist and with different game modes! ✨
Home Page: https://ritsu.fun
License: MIT License
A Discord Bot based on the AnimeMusicQuiz (AMQ) game, play using your MAL/Anilist animelist and with different game modes! ✨
Home Page: https://ritsu.fun
License: MIT License
Economy...?
hints and top.gg upvotes, the couple:tm:
Optional alternatives that can be used when Anime Themes is offline.
Openings.moe: https://openings.moe/api/list.php
Use prometheus for bot statistics again.
Commands executed, most played gamemodes, matches played and etc.
The normal game mode will vary between random, and the popularity rank of MyAnimeList, thus not being so difficult but not so easy.
In another episode of trying to minimize the use of excessive memory because of caching saga, let's try and see if it improves for discord.js-light.
I want to do it in a way that suits how good the player was in the match, but I need to know how to do it in a way that is not hardcoded.
idk how use crowdin, but i'm trying.
Migrate Ritsu codebase to a monorepo, this is not in our biggest priority but maybe when all the pending stuff its finished I'll do that.
Ritsu will notify the private log channel whenever a match starts, an error occurs or a command is executed.
maybe its a good idea to use docker
Add a option in the profile to: Anilist, Twitter, MyAnimeList and etc.
Like: If user has 25 wins, add a to him.
Often AnimeThemes goes down or becomes unavailable, so since I don't think it's cool to just stop working and send an error that doesn't really mean anything to anyone who doesn't understand, it won't start new games and will send a notice.
To prevent Ritsu from sending too many messages and thus causing slowness, it will put some phrases in the same locale.
Phrases:
Add in the locale of the message in this line https://github.com/RitsuProject/Ritsu/blob/master/src/handlers/GameHandler.js#L305
✍ To Do:
❗ Fixes
Memory Leak Related
It will show the rank of users with the most matches won.
A new feature that will enable people to discover new music from the JPOP genre!
Event mode and maybe more fancy things.
Implement full sharding across the bot using eris-sharder, the actual v3.0.0 version is running with the default eris sharding since the bot has growed more than I imagined in this period of time.
Because its fun.
Exemple: ritsu!profile @sazz#0002
Let's use it to have the metrics of errors, commands executed and the amount of server!
Do a better logging with some lib instead of relying in console.log
Maybe https://github.com/fullstack-build/tslog
sup, is there any guide or anything for self-hosting?
phin is good, but I think that for the use of Ritsu the axios will be better suited.
Some little fun commands.
oh god, this is hard.
Suggestion by Arlon#0001
why not make like pause the game or stop it completely when everyone lefts the VC or someone force disconnect the bot from channel?
Pretty much it will also save the server memory and so on.
Ik there is a command ritsu!stop but welp you know? Literally most of the time peoples don't rlly bother using such commands tho there might be different scene for quiz bots idk.
Make use of the new Discord feature (Slash Commands) in the Ritsu V3, will be more easy to pass the arguments on the start cmd (#84) using this feature.
ritsu!start
(but not removing the possibility of using them with a prefix)Like: "I've been online since 1h 2h 49s."
Add a profile Card (Username, Badges, Bio and maybe..banners?) in image format instaed of a ugly embed.
Instead of just using the image URL in the setImage which can create several problems instead we will create an attachment of the image and upload it to the embed using .attachFiles!
https://discord.js.org/#/docs/main/stable/class/MessageEmbed?scrollTo=attachFiles
https://github.com/RitsuProject/Ritsu/blob/ritsuv2.5/src/utils/functions/generateEmbed.js#L20
Often due to the slow API (yes we need a new hosting), the answer card cannot be loaded and the match never continues.
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.