| Conditions | 2 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | from . import CommandError |
||
| 12 | def process_howmuch(self, message): |
||
| 13 | try: |
||
| 14 | amount, reason = self.get_amount(message.text) |
||
| 15 | except CommandError: |
||
| 16 | self.bot.say(message, "Nope, I don't get ya") |
||
| 17 | return |
||
| 18 | self.remove(message.chat.id, message.from_user.id, message.message_id, |
||
| 19 | message.date, amount, reason) |
||
| 20 | self.bot.say(message, 'Removed {}'.format(amount)) |
||
| 21 |