Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
small inconsistency in activeadventure
Browse files Browse the repository at this point in the history
The other replies for active adventures all get deleted after 5 seconds, the `Noone attacked!` reply doesn't.
  • Loading branch information
starspritechippy authored Aug 18, 2019
1 parent d60cf5f commit 16fc8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/adventure.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def is_valid_move(r, u):
if move == "defend" and enemymove == "attack":
await ctx.send(_("Enemy attack was blocked!"), delete_after=5)
if move == "defend" and enemymove == "defend":
await ctx.send(_("Noone attacked."))
await ctx.send(_("Noone attacked."), delete_after=5)
if move == "attack" and enemymove == "attack":
efficiency = random.randint(int(SWORD * 0.5), int(SWORD * 1.5))
HP -= efficiency
Expand Down

0 comments on commit 16fc8af

Please sign in to comment.