Skip to content

Commit

Permalink
update for changes from dbj
Browse files Browse the repository at this point in the history
  • Loading branch information
cycle-five committed Aug 5, 2024
1 parent 021c5e6 commit 9c3c52f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 17 deletions.
33 changes: 20 additions & 13 deletions Cargo.lock

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

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ features = [

[workspace.dependencies.songbird]
# Broken? try self-hosted?
#git = "https://github.com/cycle-five/songbird"
#branch = "current"
version = "0.4.3"
# git = "https://github.com/cycle-five/songbird"
git = "https://github.com/serenity-rs/songbird"
branch = "current"
version = "0.4.2"
# path = "/home/lothrop/src/songbird"
features = [
"driver",
"gateway",
Expand Down
2 changes: 1 addition & 1 deletion crack-core/src/handlers/idle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub struct IdleHandler {
#[async_trait]
impl EventHandler for IdleHandler {
async fn act(&self, ctx: &EventContext<'_>) -> Option<Event> {
let manager = songbird::get(&self.serenity_ctx).await?;
let manager = songbird::get(&self.serenity_ctx.to_owned()).await?;
let EventContext::Track(track_list) = ctx else {
return None;
};
Expand Down

0 comments on commit 9c3c52f

Please sign in to comment.