Ver código fonte

Bugfix for a command suggestion.

tags/v0.2
Ben Kurtovic 9 anos atrás
pai
commit
52cfbad141
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      earwigbot/commands/stalk.py

+ 2
- 2
earwigbot/commands/stalk.py Ver arquivo

@@ -210,8 +210,8 @@ class Stalk(Command):
"View your active {2} with \x0306!{2}\x0F.")
if data.is_admin:
msg += (" As a bot admin, you can clear all active {2} on that "
"{1} with \x0306!un{0}all {2}\x0F.")
self.reply(data, msg.format(verb, stalktype, plural))
"{1} with \x0306!un{0}all {3}\x0F.")
self.reply(data, msg.format(verb, stalktype, plural, target))

def _remove_all_stalks(self, stalktype, data, target):
"""Remove all entries for a particular target from the given table."""


Carregando…
Cancelar
Salvar