Logs in status_message.rs + README.md + LICENCE.md
This commit is contained in:
parent
8cd9fbd631
commit
5533527979
3 changed files with 51 additions and 1 deletions
21
LICENCE.md
Normal file
21
LICENCE.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2022 Evann (Estym) Regnault
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
27
README.md
Normal file
27
README.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Drunk-Venti-Rust
|
||||
|
||||
A discord bot that provides Genshin Impact data to users
|
||||
|
||||
[](https://sr.ht/~estym/Drunk-Venti?)
|
||||
[](https://github.com/Estyms/Drunk-Venti-Rust)
|
||||
|
||||
|
||||
## Features
|
||||
|
||||
### On demand Genshin Impact Infos
|
||||
- /genshin builds [character] : Gives recommended builds for a specific characters
|
||||
- /genshin weapon [name] : Gives information about a certain weapon in the game
|
||||
- /genshin artifact [name] : Gives information about an artifact set
|
||||
|
||||
### Calendar
|
||||
**Usage : /createstatusmessage [channel]**
|
||||
|
||||
That commands create a message in the desired channel that gets updated every hours.
|
||||
|
||||
In that message you can see what events are currently going on as well as the next to come.
|
||||
|
||||
|
||||
## APIs
|
||||
- [Serenity](https://github.com/serenity-rs/serenity) 
|
||||
- [Paimon.moe](https://paimon.moe/) by [@MadeBaruna](https://github.com/MadeBaruna)
|
||||
- Drunk-Venti-Api - [[SourceHut](https://git.sr.ht/~estym/Drunk-Venti-Api)] [[Github](https://github.com/Estyms/Drunk-Venti-Api)]
|
|
@ -42,7 +42,9 @@ pub async fn update_status_message(ctx: Context) {
|
|||
}).await.unwrap();
|
||||
|
||||
}
|
||||
Err(_) => {}
|
||||
Err(_) => {
|
||||
println!("Cannot update guild : {}", sm.channel_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
interval.tick().await;
|
||||
|
|
Loading…
Reference in a new issue