summaryrefslogtreecommitdiff
path: root/src/commands/general/emoji.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/general/emoji.rs')
-rw-r--r--src/commands/general/emoji.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/commands/general/emoji.rs b/src/commands/general/emoji.rs
index 81cd9a3..bbae0b5 100644
--- a/src/commands/general/emoji.rs
+++ b/src/commands/general/emoji.rs
@@ -1,5 +1,6 @@
-use crate::{consts::Colors, Context, Error};
+use crate::{client::Context, consts::Colors};
+use eyre::Result;
use poise::{
serenity_prelude::{CreateEmbed, Emoji},
CreateReply,
@@ -7,7 +8,7 @@ use poise::{
/// Get the URL for an emoji
#[poise::command(slash_command)]
-pub async fn emoji(ctx: Context<'_>, emoji: Emoji) -> Result<(), Error> {
+pub async fn emoji(ctx: Context<'_>, emoji: Emoji) -> Result<()> {
let url = emoji.url();
let embed = CreateEmbed::new()
.title(emoji.name)