mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-18 16:28:55 +00:00
Clean up
This commit is contained in:
parent
3a14c401cd
commit
d4aa6f678e
3 changed files with 2 additions and 5 deletions
|
@ -3,7 +3,6 @@ use codeforces::User;
|
|||
use serenity::model::id::UserId;
|
||||
use std::collections::HashMap;
|
||||
use youmubot_db::DB;
|
||||
use youmubot_prelude::*;
|
||||
|
||||
/// A database map that stores an user with the respective handle.
|
||||
pub type CfSavedUsers = DB<HashMap<UserId, CfUser>>;
|
||||
|
|
|
@ -3,9 +3,7 @@ use lazy_static::lazy_static;
|
|||
use rayon::{iter::Either, prelude::*};
|
||||
use regex::{Captures, Regex};
|
||||
use serenity::{
|
||||
builder::CreateEmbed,
|
||||
framework::standard::{CommandError, CommandResult},
|
||||
model::channel::Message,
|
||||
builder::CreateEmbed, framework::standard::CommandError, model::channel::Message,
|
||||
utils::MessageBuilder,
|
||||
};
|
||||
use youmubot_prelude::*;
|
||||
|
|
|
@ -8,7 +8,7 @@ use serenity::{
|
|||
macros::{command, group},
|
||||
Args, CommandError as Error, CommandResult,
|
||||
},
|
||||
model::{channel::Message, id::UserId},
|
||||
model::channel::Message,
|
||||
utils::MessageBuilder,
|
||||
};
|
||||
use std::str::FromStr;
|
||||
|
|
Loading…
Add table
Reference in a new issue