mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 09:49:07 +01:00
Merge pull request #33 from teloxide/fullpath
Use full path when implementing `BotCommands`
This commit is contained in:
commit
822300eb89
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