diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..9693337 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "botdiscord" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..c576a94 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "botdiscord" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/README.md b/README.md index 528c394..5d28456 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,23 @@ [![WeeboChe](https://img.shields.io/badge/Weebo-Che?style=for-the-badge&logo=eclipseche&labelColor=525C86&color=FDB940&link=https%3A%2F%2Fche.dev.weebo.fr%2F%23git%40git.weebo.fr%3Asandbox%2FBotDiscord.git)](https://che.dev.weebo.fr/#git@git.weebo.fr:sandbox/BotDiscord.git) The goal of this project is to bring back my different discord boy and create a single point of feature + +Main lib used : https://github.com/serenity-rs/serenity + +## Feature expected + +- ImageWareHouse (like TestDiscord) +- SoundBoard (like UnlabeledBot) +- Notification (read an event topic and send the message to the expected chan) +- Some Administration command + - clear chan + - create webhook +- Detect event and send it on a chan +- Apply some rules For exemple : if the user spam too much => TimeOut for 20s +- + + +## previous project + +- https://git.weebo.fr/sandbox/TestDiscord/src/branch/master : Bot that check if a world match with one in the image warehouse and answer with a picture +- https://git.weebo.fr/sandbox/UnlabeledBot : Soundboard project \ No newline at end of file diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}