mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
utils.nItemsify
This commit is contained in:
parent
d86ebf4e7f
commit
102188d568
@ -117,10 +117,7 @@ class Gameknot(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
else:
|
else:
|
||||||
seen = '%s was last seen on Gameknot %s.' % (name,
|
seen = '%s was last seen on Gameknot %s.' % (name,
|
||||||
seen.group(2))
|
seen.group(2))
|
||||||
if games == '1':
|
games = utils.nItems('game', int(games), between='active')
|
||||||
games = '1 active game'
|
|
||||||
else:
|
|
||||||
games = '%s active games' % games
|
|
||||||
if 'Team:' in profile:
|
if 'Team:' in profile:
|
||||||
team = self._gkteam.search(profile).group('name')
|
team = self._gkteam.search(profile).group('name')
|
||||||
team = utils.htmlToText(team)
|
team = utils.htmlToText(team)
|
||||||
|
Loading…
Reference in New Issue
Block a user