egress a discord server
Go to file
Oliver Atkinson 430d6b76c4 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
2024-07-25 13:56:54 -06:00
src fix copied code to be applicable to this codebase 2024-07-25 13:17:03 -06:00
.gitignore Initial commit 2024-07-22 17:15:03 +00:00
Cargo.lock use custom poise version 2024-07-25 13:56:54 -06:00
Cargo.toml use custom poise version 2024-07-25 13:56:54 -06:00
docker-compose.yaml Initial commit 2024-07-22 17:15:03 +00:00
Dockerfile map of server 2024-07-23 11:13:07 -06:00
LICENSE Initial commit 2024-07-22 17:15:03 +00:00
README.md use custom poise version 2024-07-25 13:56:54 -06:00

discord-egress

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:
git clone https://github.com/serenity-rs/poise.git
  1. Change the version of serenity that poise uses:
[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 and create an application.
  • Next goto the "bot" tab on the left, and "Reset Token". KEEP THIS PRIVATE. When are testing / deploying your bot put this token in the .env file.
  • Next decide what permissions your bot needs. Make sure to edit intents in src/main.rs to match this. When you are creating the invite link on discord.com you will have to select these permissions as well.