mchestr / displex

Discord & Plex & Tautulli & Overseerr Bot
MIT License
10 stars 89 forks source link

fix(deps): update rust crate serenity to 0.12.1 #233

Closed mchesterbot[bot] closed 7 months ago

mchesterbot[bot] commented 7 months ago

This PR contains the following updates:

Package Type Update Change
serenity dependencies patch 0.12 -> 0.12.1

Release Notes

serenity-rs/serenity (serenity) ### [`v0.12.1`](https://togithub.com/serenity-rs/serenity/blob/HEAD/CHANGELOG.md#0121---2024-02-28) [Compare Source](https://togithub.com/serenity-rs/serenity/compare/v0.12.0...v0.12.1) Thanks to the following for their contributions: - \[[@​arqunis](https://togithub.com/arqunis)] - \[[@​GnomedDev](https://togithub.com/GnomedDev)] - \[[@​jamesbt365](https://togithub.com/jamesbt365)] - \[[@​kangalio](https://togithub.com/kangalio)] - \[[@​logand22](https://togithub.com/logand22)] - \[[@​mkrasnitski](https://togithub.com/mkrasnitski)] - \[[@​SenseiHiraku](https://togithub.com/SenseiHiraku)] - \[[@​vaporoxx](https://togithub.com/vaporoxx)] - \[[@​vidhanio](https://togithub.com/vidhanio)] - \[[@​Xaeroxe](https://togithub.com/Xaeroxe)] - \[[@​yanorei32](https://togithub.com/yanorei32)] ##### Notable changes In this release, **the standard framework has been deprecated** ([#​2733](https://togithub.com/serenity-rs/serenity/pull/2733)). As Discord continues to endorse and evolve application commands (`/...` commands, user commands, message commands, etc.), the standard framework becomes increasingly outdated. Bots are also steadily losing (and already have lost) access to contents of messages, making it difficult to build a prefix-only bot. Unless you plan on restricting your bot to only accept commands in DMs, allowing its presence in only fewer than 100 guilds, or presenting a reasonable justification to Discord for permission to continue using message contents, you should migrate to application commands. We recommend [poise](https://togithub.com/serenity-rs/poise), which supports writing both prefix and application commands with a `#[command]` macro like the standard framework. ##### Why not just update the framework? Poise already exists and is better than the standard framework. Efforts should be directed at improving poise instead. To support application commands would require an overhaul of the standard framework, as they are special (for instance, Discord parses arguments on behalf of the bot and passes them as structured data, whereas for prefix commands, the bot must parse by itself). ##### Smaller, but still notable changes - ([#​2621](https://togithub.com/serenity-rs/serenity/pull/2621)) Add a temporary cache for messages. - ([#​2649](https://togithub.com/serenity-rs/serenity/pull/2649)) Deprecate `RoleId::to_role_cached` - Use `Guild::roles` instead. - ([#​2726](https://togithub.com/serenity-rs/serenity/pull/2726)) Pack bitflags - Reduces alignments of `bitflags!` types, resulting in a smaller memory footprint. - ([#​2696](https://togithub.com/serenity-rs/serenity/pull/2696)) Support attachments in forum posts. - ([#​2560](https://togithub.com/serenity-rs/serenity/pull/2560)) Add support for monetization APIs. - ([#​2648](https://togithub.com/serenity-rs/serenity/pull/2648)) Deprecate inefficient Emoji helpers - Use the emoji methods on `GuildId`/`Guild` instead.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Renovate Bot.