use custom poise version

There are errors in the poise dependency serenity, they aren't yet in the newest version of poise, so we are using a git version
This commit is contained in:
Oliver Atkinson
2024-07-25 13:56:54 -06:00
parent 4d3a41db43
commit 430d6b76c4
3 changed files with 30 additions and 7 deletions

View File

@@ -2,6 +2,26 @@
egress a discord server
### NOTE:
Using custom version of poise (the discord library) because I need to use a specific version of serenity (the discord library for poise). Here's how to set it up:
1) Clone Poise next to this repo:
```shell
git clone https://github.com/serenity-rs/poise.git
```
2) Change the version of serenity that poise uses:
```diff
[dependencies.serenity]
- version = "x.xx.x"
+ git = "https://github.com/serenity-rs/serenity.git"
+ rev = "e34f4491ee3a0b20ea8dc30cbc77b257f402f692"
```
> Just make sure that the rev is a sha1 commit hash sometime after 7/25/24
## Getting started
* goto: [Discord applicatoins](https://discord.com/developers/applications) and
create an application.