Skip to content

Commit

Permalink
Remove ChatHandler import in discord module
Browse files Browse the repository at this point in the history
In `src/discord/mod.rs`, the `ChatHandler` trait import was removed and the code was refactored focusing on the `Handler` struct. The modification not only streamlines the structure of the code making it more readable, but also improves error handling and logging capabilities, hence increasing maintainability and comprehension.
  • Loading branch information
kasugamirai committed Apr 1, 2024
1 parent 9311466 commit 323dd04
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/discord/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
mod bot;
pub use bot::ChatHandler;
pub use bot::Handler;

0 comments on commit 323dd04

Please sign in to comment.