Got play to work
This commit is contained in:
@@ -79,7 +79,7 @@ async fn main() -> std::io::Result<()> {
|
||||
.event_handler(handler)
|
||||
.framework(StandardFramework::new()
|
||||
.configure(|c| c.owners(owners)))
|
||||
.register_songbird()
|
||||
.register_songbird_with(Arc::clone(&songbird))
|
||||
.await
|
||||
.expect("Error creating client");
|
||||
|
||||
@@ -116,7 +116,6 @@ async fn main() -> std::io::Result<()> {
|
||||
.allow_any_header()
|
||||
.max_age(3600);
|
||||
App::new()
|
||||
// .app_data(web::Data::new(Arc::clone(&http)))
|
||||
.app_data(web::Data::new(Arc::clone(&app_data)))
|
||||
.configure(crate::db::messages::init_routes)
|
||||
.configure(crate::db::spells::init_routes)
|
||||
|
||||
Reference in New Issue
Block a user