Use full path when implementing BotCommands

This commit is contained in:
Maybe Waffle 2022-10-02 16:11:22 +04:00
parent 2fdcd4153e
commit dad9880da0

View file

@ -36,7 +36,7 @@ pub(crate) fn bot_commands_impl(input: DeriveInput) -> Result<TokenStream> {
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