Skip to content

Commit

Permalink
feat(commands): remove dice command (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
bb4L authored Sep 23, 2023
1 parent 8acbf5c commit 4aa2dd1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/utils/bot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ async fn answer(bot: Bot, msg: Message, cmd: Command) -> ResponseResult<()> {
.send_message(msg.chat.id, text)
.await?;
}
Command::Dice => {
bot.send_dice(msg.chat.id).await?;
}
Command::AddressCut {
filename,
distance,
Expand Down
2 changes: 0 additions & 2 deletions src/utils/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ pub enum Command {
Start,
#[command(description = "display this text\n")]
Help,
#[command(description = "roll a dice\n")]
Dice,
#[command(
description = "get the cut out version of the gxp file \nArguments: filename, distance, address \nExample: `/cutgpx MyGpxFile.gpx 20 random_sreeet+random_city`\n",
parse_with = "split"
Expand Down

0 comments on commit 4aa2dd1

Please sign in to comment.