Karma: add top to reportpattern
This commit is contained in:
parent
18fc614a4a
commit
4e8b60c201
@ -37,7 +37,7 @@ class Karma(Module):
|
||||
pattern = "(?:(\S+)|\((.+)\))"
|
||||
karmapattern = pattern + '(\+\+|--|\+-|-\+)' + '(\s+|$)'
|
||||
querypattern = '^!rank\s+(.*)'
|
||||
reportpattern = '^!karma\s+report\s+(highest|lowest|positive|negative)'
|
||||
reportpattern = '^!karma\s+report\s+(highest|lowest|positive|negative|top)'
|
||||
statpattern = '^!karma\s+stat\s+(.*)'
|
||||
|
||||
self.karmare = re.compile(karmapattern)
|
||||
|
Loading…
Reference in New Issue
Block a user