This is a discord bot written in rust with serenity and poise.
The bot has a custom i18n system.
Created using the following xtask-template.
- Translations - For now only English and Portuguese
This bot was only tested on Linux. The installation steps are as follows:
I have only tested PostgreSQL >=15.2 but it should work with other versions.
Create a database and a user with the psql tool:
CREATE ROLE user WITH LOGIN PASSWORD 'yourpw';
CREATE DATABASE crit OWNER user;# if you want to download Lavalink
DOWNLOAD_LAVALINK=true cargo build- add i18n system
- add i18n to app_commands and on commands descriptions
- finishing adding basic music features
- support downloading music with yt-dlp
- support SponsorBlock
- support more sources (LavaSrc, which also now support yt-dlp which supports even more sources)
- improve searching, with LavaSearch
- support lyrics, LavaLyrics
- support more filters, LavaDSPX
- see about user apps
- The new i18n system is stateless, meaning that in contrast to the old one, I'm not doing any hacky stuff to get determine the locale before a command is executed. Now the locale is determined on every command execution or if thats not possible, it determines the locale in each translation call.
