-
Notifications
You must be signed in to change notification settings - Fork 4
Added !prize command #3
base: master
Are you sure you want to change the base?
Conversation
added !prize command
!flip or !coin flips a coin and returns the result
Added coin flip command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dupe file
Do you even check what you commit?
@@ -0,0 +1,300 @@ | |||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls
"XDanielCommand", | ||
"RedardCommand", | ||
] | ||
"PrizeCommand", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding to the top
|
||
logger = logging.getLogger(__name__) | ||
|
||
|
||
class PrizeCommand(Command): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also adding to the top
class PrizeCommand(Command): | ||
handlers = "!prize" | ||
|
||
phrases = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*prices
You'll just need to change the prizes to be /g/ related