Explorar el Código

Capitalise replies in !submissions

tags/v0.1^2
Justin Yulli Kim hace 12 años
padre
commit
56d954c022
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      earwigbot/commands/afc_submissions.py

+ 2
- 2
earwigbot/commands/afc_submissions.py Ver fichero

@@ -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:


Cargando…
Cancelar
Guardar