-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from ValgulNecron/dev
V2.7.0
- Loading branch information
Showing
168 changed files
with
5,220 additions
and
1,318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
- Anilist module: | ||
- [X] Finish comparison function. | ||
- [X] Add affinity score to user comparaison. | ||
- [X] Add character search function. | ||
- [X] Add staff search function. | ||
- [X] Add search feature with a type. | ||
- [X] Bind anilist account to discord for /user. | ||
- [X] Random /random {anime, manga}. | ||
- [ ] Rework the xp in level.rs to something easier. — Too lazy to balance. | ||
- [X] Add caching to all requests. | ||
- [X] Send anime release to a channel. | ||
- [X] List all activity. | ||
- [X] Delete an activity. | ||
- [ ] Try to do the same for manga. | ||
with [https://www.mangaupdates.com/series.html?id=70263](https://www.mangaupdates.com/series.html?id=70263). | ||
— Did some digging seem possible. | ||
- [ ] Activity command (auto sends activity of a user to a channel). | ||
— Same as anime, but this one will be hard since | ||
a user can do update every second like every year. Will either have delay or be resource intensive. | ||
- [X] Add a "delay" option to delay notification. | ||
- [X] Take [https://anilist.co/forum/thread/64835](https://anilist.co/forum/thread/64835) idea of generating image | ||
with a seiyuu and va role. | ||
- [X] Get all the register users of the server. | ||
- [X] Add studio search. | ||
- [X] Add commands that give the best waifu. | ||
|
||
- Anime module: | ||
- [X] Command for a random anime image. | ||
- [X] Command for a random anime image NSFW. | ||
|
||
- Games module: | ||
- [X] Search for a steam game. | ||
- [ ] get game info from different platform (ubi (api not found), steam, epic(api not found), ea(api not found), | ||
etc…) | ||
Get the currency and language from the server language setting. | ||
- [ ] get player stat | ||
- [ ] get free promotion notification | ||
|
||
- AI submodule: | ||
- [X] Image generation with AI. | ||
- [X] Video transcription. | ||
- [X] Video translation. | ||
- [X] Ask a question and reply the response. | ||
|
||
- Music module: | ||
- [ ] Play music from youtube. | ||
- [ ] Play music from file upload. | ||
- [ ] Play music from a link. | ||
- [ ] Play music from a playlist. | ||
- [ ] Play music from a search. | ||
|
||
- General module: | ||
- [X] Command to change the bot response langage. | ||
- [X] Command to turn on and off module. | ||
- [X] Credit command. | ||
- [X] Bot info command. | ||
- [X] Ping command. | ||
- [X] Avatar command. | ||
- [X] Banner command. | ||
- [X] Command to recreate the server image from the guild member. | ||
- [X] Command to recreate the server image from member off all guild the bot is on. | ||
- [X] Get guild info. | ||
- [X] Profile command. | ||
- [ ] Upgrade get guild info to show more info. | ||
- [ ] Poll feature with custom choice and a graph afterward for comparison. | ||
|
||
|
||
- General part: | ||
- [X] Add localisation. | ||
- [X] Localisation for response. | ||
- [X] Localisation for command. | ||
- [X] Find a name for the bot. | ||
- [x] Add a sqlite database. | ||
- [X] Add postgres database choices. | ||
- [X] Create a parser because some description uses html and not markdown. | ||
- [ ] Check [https://anilist.co/forum/thread/6125](https://anilist.co/forum/thread/6125) to be sure all cases | ||
are | ||
supported | ||
- [X] Figure out the necessary deps to work. Once found, change the dockerfile to use a debian base image to reduce | ||
size. | ||
- [X] Better error handling. | ||
- [X] Doing something with error else than logging it. | ||
- [ ] Rename function and variable for better clarity. | ||
- [ ] Add docs to every public function. | ||
(Run, Register and Autocomplete don’t need this.). | ||
- [X] Logging | ||
- [X] Updating to serenity 0.12. | ||
- [X] Support for command in dm. | ||
- [X] Make an anilist forum post. | ||
- [ ] Rework the command registration to support all type of command. | ||
- [X] Command | ||
- [X] Subcommand | ||
- [X] Subcommand group | ||
- [ ] User command | ||
- [ ] Message command | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
use std::error::Error; | ||
use std::{env, path::PathBuf}; | ||
|
||
fn main() -> Result<(), Box<dyn Error>> { | ||
let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap()); | ||
tonic_build::configure() | ||
.file_descriptor_set_path(out_dir.join("shard_descriptor.bin")) | ||
.compile(&["proto/shard.proto"], &["proto"])?; | ||
tonic_build::compile_protos("proto/shard.proto")?; | ||
Ok(()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.