| Conditions | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | import time |
||
| 11 | def post_init(self): |
||
| 12 | downtime_event = Event("__.downtime__") |
||
| 13 | downtime_event.define(msg_definition="^\.downtime") |
||
| 14 | downtime_event.subscribe(self) |
||
| 15 | |||
| 16 | # register ourself to our new custom event |
||
| 17 | self.bot.register_event(downtime_event, self) |
||
| 18 | |||
| 19 | self.drinks = ['a beer', 'a scotch', 'a bloody mary', 'a nice glass of wine', 'FUCKIN FOUR LOKO', 'a crisp cider'] |
||
| 20 | |||
| 21 | self.action_string = "\001ACTION " |
||
| 22 | |||
| 32 |