Show list of users in a channel, not just count

This commit is contained in:
jesopo 2018-11-27 13:34:51 +00:00
parent 7df55305ca
commit 00d4b9c73f

View file

@ -83,7 +83,7 @@ class Module(ModuleManager.BaseModule):
def _channel_stats(self, channel): def _channel_stats(self, channel):
return { return {
"users": len(channel.users), "users": [user.nickname for user in channel.users],
"topic": channel.topic, "topic": channel.topic,
"topic-set-at": channel.topic_time, "topic-set-at": channel.topic_time,
"topic-set-by": channel.topic_setter_nickname "topic-set-by": channel.topic_setter_nickname