Merge pull request #33 from teloxide/fullpath

Use full path when implementing `BotCommands`
This commit is contained in:
Hirrolot 2022-10-03 18:09:17 +06:00 committed by GitHub
commit 822300eb89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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