Pārlūkot izejas kodu

Capitalise replies in !submissions

tags/v0.1^2
Justin Yulli Kim pirms 12 gadiem
vecāks
revīzija
56d954c022
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      earwigbot/commands/afc_submissions.py

+ 2
- 2
earwigbot/commands/afc_submissions.py Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt