Skip to content

Commit

Permalink
Swap branch to serenity-next and fix first breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Dec 9, 2023
1 parent 5bbff17 commit e1d254b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ parking_lot = "0.12.1"
[dependencies.serenity]
default-features = false
features = ["builder", "client", "gateway", "model", "utils", "collector", "framework"]
version = "0.12.0"
git = "https://github.com/serenity-rs/serenity"
branch = "next"

[dev-dependencies]
# For the examples
Expand Down
2 changes: 1 addition & 1 deletion examples/manual_dispatch/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async fn main() -> Result<(), Error> {

let handler = std::sync::Arc::new(handler);
let mut client = serenity::Client::builder(token, intents)
.event_handler_arc(handler.clone())
.event_handler::<Handler>(handler.clone())
.await?;

*handler.shard_manager.lock().unwrap() = Some(client.shard_manager.clone());
Expand Down

0 comments on commit e1d254b

Please sign in to comment.