Sfoglia il codice sorgente

Bugfix for a command suggestion.

tags/v0.2
Ben Kurtovic 9 anni fa
parent
commit
52cfbad141
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      earwigbot/commands/stalk.py

+ 2
- 2
earwigbot/commands/stalk.py Vedi File

@@ -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."""


Caricamento…
Annulla
Salva