From dad9880da0f4e8d2faf8460b0b1d722d4e40a365 Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Sun, 2 Oct 2022 16:11:22 +0400 Subject: [PATCH] Use full path when implementing `BotCommands` --- src/bot_commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot_commands.rs b/src/bot_commands.rs index 02b64e63..46d77672 100644 --- a/src/bot_commands.rs +++ b/src/bot_commands.rs @@ -36,7 +36,7 @@ pub(crate) fn bot_commands_impl(input: DeriveInput) -> Result { let fn_commands = impl_commands(&var_info, &command_enum); let trait_impl = quote! { - impl BotCommands for #type_name { + impl teloxide::utils::command::BotCommands for #type_name { #fn_descriptions #fn_parse #fn_commands