Ver código fonte

Capitalise replies in !submissions

tags/v0.1^2
Justin Yulli Kim 12 anos atrás
pai
commit
56d954c022
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      earwigbot/commands/afc_submissions.py

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

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


Carregando…
Cancelar
Salvar