- if isinstance(result.object, tables.Pokemon):
- self._reply(irc, u"""{name}, {type}-type Pokémon.""".format(
- name=result.object.name,
- type='/'.join(_.name for _ in result.object.types),
+ obj = result.object
+ if isinstance(obj, tables.Pokemon):
+ reply_template = \
+ u"""#{id} {name}, {type}-type Pokémon. Has {abilities}. """ \
+ """Is {stats}."""
+ self._reply(irc, reply_template.format(
+ id=obj.id,
+ name=obj.name,
+ type='/'.join(_.name for _ in obj.types),
+ abilities=' or '.join(_.name for _ in obj.abilities),
+ stats='/'.join(str(_.base_stat) for _ in obj.stats),