Skip to content

Commit 6e743d8

Browse files
authored
Merge pull request #100 from asiniscalchi/refactor/bot-commands-derive
refactor(telegram): derive commands, /help, and the menu from one enum
2 parents 2ba5ad0 + e22b31f commit 6e743d8

7 files changed

Lines changed: 259 additions & 368 deletions

File tree

Cargo.lock

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rig-core = "0.36.0"
1313
serde_json = "1.0.149"
1414
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "migrate", "chrono"] }
1515
sqlite-vec = "=0.1.9"
16-
teloxide = "0.17.0"
16+
teloxide = { version = "0.17.0", features = ["macros"] }
1717
tokio = { version = "1.52.1", features = ["rt-multi-thread", "macros", "time", "signal"] }
1818
tokio-util = { version = "0.7.18", features = ["rt"] }
1919
futures = "0.3.32"

0 commit comments

Comments
 (0)