Sfoglia il codice sorgente

Capitalise replies in !submissions

tags/v0.1^2
Justin Yulli Kim 12 anni fa
parent
commit
56d954c022
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      earwigbot/commands/afc_submissions.py

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

@@ -42,10 +42,10 @@ class AFCSubmissions(Command):
try:
number = int(data.args[0])
except ValueError:
self.reply(data, "argument must be a number.")
self.reply(data, "Argument must be a number.")
return
if number > 5:
msg = "cannot get more than five submissions at a time."
msg = "Cannot get more than five submissions at a time."
self.reply(data, msg)
return
else:


Caricamento…
Annulla
Salva