Fix errors from bumping dependencies

It now compiles but you still need to go through all the `//TODO:`s and update the values.
This commit is contained in:
BuyMyMojo 2024-07-03 17:00:04 +10:00
parent 60ac0142e9
commit bbe1ee264b
4 changed files with 151 additions and 293 deletions

View file

@ -541,10 +541,10 @@ pub async fn update_search_engine(ctx: Context<'_>) -> Result<(), Error> {
ctx.defer_ephemeral().await?;
// Create a client (without sending any request so that can't fail)
let client = Client::new(MEILISEARCH_HOST, MEILISEARCH_API_KEY);
let client = Client::new(MEILISEARCH_HOST, Some(MEILISEARCH_API_KEY));
// connect to index "entries"
let entries = client.index("entries");
let entries = client?.index("entries");
let msg = ctx
.send(|b| b.content("Connected to search engine"))

View file

@ -293,7 +293,7 @@ pub async fn invite_info(
// TODO: set your own channel ID!
// log user name, id, guild name, id and url to channel
serenity::ChannelId()
serenity::ChannelId(00000000000000000)
.send_message(ctx, |f| {
f.embed(|e| {
e.title("User requested invite info")