Clean up imports
This commit is contained in:
parent
c2eeacac52
commit
4cd814c3fb
2 changed files with 6 additions and 3 deletions
|
|
@ -7,8 +7,6 @@ pub mod clap;
|
||||||
use std::{future::Future, sync::Arc};
|
use std::{future::Future, sync::Arc};
|
||||||
|
|
||||||
use async_trait::async_trait;
|
use async_trait::async_trait;
|
||||||
use bang::{General, Global, Specific};
|
|
||||||
use basic::{Prefixed, WithInfo};
|
|
||||||
use euphoxide::{
|
use euphoxide::{
|
||||||
api::{self, Data, Message, MessageId, SendEvent, SendReply},
|
api::{self, Data, Message, MessageId, SendEvent, SendReply},
|
||||||
client::{
|
client::{
|
||||||
|
|
@ -18,6 +16,11 @@ use euphoxide::{
|
||||||
};
|
};
|
||||||
use euphoxide_client::{Client, MultiClient, MultiClientEvent};
|
use euphoxide_client::{Client, MultiClient, MultiClientEvent};
|
||||||
|
|
||||||
|
use self::{
|
||||||
|
bang::{General, Global, Specific},
|
||||||
|
basic::{Prefixed, WithInfo},
|
||||||
|
};
|
||||||
|
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
pub struct Context<E = euphoxide::Error> {
|
pub struct Context<E = euphoxide::Error> {
|
||||||
pub commands: Arc<Commands<E>>,
|
pub commands: Arc<Commands<E>>,
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
use caseless::Caseless;
|
use caseless::Caseless;
|
||||||
use unicode_normalization::UnicodeNormalization;
|
use unicode_normalization::UnicodeNormalization;
|
||||||
|
|
||||||
use crate::emoji::Emoji;
|
use crate::Emoji;
|
||||||
|
|
||||||
/// Does not remove emoji.
|
/// Does not remove emoji.
|
||||||
fn hue_normalize(text: &str) -> String {
|
fn hue_normalize(text: &str) -> String {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue