Skip to content

Commit 9f58eae

Browse files
committed
Whoops checked in warnings
1 parent bba94ae commit 9f58eae

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

trackscape-discord-api/src/controllers/chat_controller.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use crate::{handler, ChatServerHandle};
33
use actix_web::web::Data;
44
use actix_web::{error, post, web, Error, HttpRequest, HttpResponse, Scope};
55
use celery::Celery;
6-
use log::{error, info};
6+
use log::error;
77
use serenity::all::{ChannelId, CreateEmbed, CreateEmbedAuthor};
88
use serenity::builder::CreateMessage;
99
use serenity::http::Http;

trackscape-discord-bot/src/commands/stop_leagues_notifications.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
use crate::on_boarding_message::send_on_boarding;
21
use serenity::all::{CommandDataOption, CreateCommand};
32
use serenity::client::Context;
4-
use serenity::model::id::ChannelId;
53
use trackscape_discord_shared::database::BotMongoDb;
64

75
pub fn register() -> CreateCommand {
@@ -11,7 +9,7 @@ pub fn register() -> CreateCommand {
119

1210
pub async fn run(
1311
_options: &[CommandDataOption],
14-
ctx: &Context,
12+
_ctx: &Context,
1513
db: &BotMongoDb,
1614
guild_id: u64,
1715
) -> Option<String> {
@@ -32,5 +30,4 @@ pub async fn run(
3230
Some("There was a technical error. Please try again later.".to_string())
3331
}
3432
};
35-
None
3633
}

0 commit comments

Comments
 (0)