Compare commits
2 Commits
1a3d2f0b14
...
512b3b05d2
Author | SHA1 | Date | |
---|---|---|---|
512b3b05d2 | |||
0c4224314b |
@ -19,6 +19,7 @@ class HelpManager(BaseGameManager):
|
|||||||
|
|
||||||
help_message = (
|
help_message = (
|
||||||
"Braveball commands\n"
|
"Braveball commands\n"
|
||||||
|
+ "ping - Will respond 'pong' if the bot is alive\n"
|
||||||
+ "!braveball - Start new game\n"
|
+ "!braveball - Start new game\n"
|
||||||
+ "!guess - While a game is running, add a guess"
|
+ "!guess - While a game is running, add a guess"
|
||||||
+ " (or update an existing one) from 1-1000\n"
|
+ " (or update an existing one) from 1-1000\n"
|
||||||
|
@ -77,7 +77,7 @@ class ProcessGuess:
|
|||||||
difference = abs(guess - self.pitch_value)
|
difference = abs(guess - self.pitch_value)
|
||||||
|
|
||||||
if difference > 500:
|
if difference > 500:
|
||||||
return 1000 - difference
|
difference = 1000 - difference
|
||||||
|
|
||||||
self.difference = difference
|
self.difference = difference
|
||||||
return self.difference
|
return self.difference
|
||||||
|
Loading…
x
Reference in New Issue
Block a user