Cleanup tweaks
This commit is contained in:
@@ -152,7 +152,7 @@ impl EventHandler for BotHandler {
|
||||
}
|
||||
|
||||
async fn resume(&self, _: Context, _: ResumedEvent) {
|
||||
log::debug!("Resumed");
|
||||
log::trace!("Resumed");
|
||||
}
|
||||
|
||||
async fn interaction_create(&self, ctx: Context, interaction: Interaction) {
|
||||
|
||||
@@ -67,7 +67,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let client_secret: String =
|
||||
env::var("DISCORD_SECRET").expect("Expected a secret in the environment");
|
||||
let redirect_uri: String =
|
||||
env::var("API_CALLBACK_URI").expect("Expected a secret in the environment");
|
||||
env::var("API_CALLBACK_URI").expect("Expected a callback uri in the environment");
|
||||
let app_state = AppState {
|
||||
client: HttpClient::new(),
|
||||
client_id: bot_id.to_string(),
|
||||
|
||||
Reference in New Issue
Block a user