mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-08 19:33:53 +01:00
Use full path when implementing BotCommands
This commit is contained in:
parent
2fdcd4153e
commit
dad9880da0
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ pub(crate) fn bot_commands_impl(input: DeriveInput) -> Result<TokenStream> {
|
||||||
let fn_commands = impl_commands(&var_info, &command_enum);
|
let fn_commands = impl_commands(&var_info, &command_enum);
|
||||||
|
|
||||||
let trait_impl = quote! {
|
let trait_impl = quote! {
|
||||||
impl BotCommands for #type_name {
|
impl teloxide::utils::command::BotCommands for #type_name {
|
||||||
#fn_descriptions
|
#fn_descriptions
|
||||||
#fn_parse
|
#fn_parse
|
||||||
#fn_commands
|
#fn_commands
|
||||||
|
|
Loading…
Reference in a new issue