From 25659b4665b47286a7cbc36d9610586880df829e Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Thu, 25 Jul 2019 14:30:12 +0100 Subject: [PATCH] Fixed PrivateChannel member list. --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 50cd2a8..3ba0253 100644 --- a/bot.py +++ b/bot.py @@ -538,7 +538,7 @@ async def say(channel, text, *, attachment = None, embed = None, wake = None): return message async def say_many(channel, lines, *, attachment = None, embed = None, maxlen = 2000): - destination = 'private channel [{}]'.format(', '.join(user.name, user.discriminator) for user in channel.users if user.id != channel.me.id) if channel.is_private else 'channel {} on {}'.format(channel.name, channel.server.name) + destination = 'private channel [{}]'.format(', '.join(user.name, user.discriminator) for user in channel.recipients if user.id != channel.me.id) if channel.is_private else 'channel {} on {}'.format(channel.name, channel.server.name) while len(lines): message_len = 0 n = 0 -- 2.7.4