From 6fd56f8e6e552996be70471f13896bd538786afd Mon Sep 17 00:00:00 2001 From: user12986714 <65436504+user12986714@users.noreply.github.com> Date: Thu, 2 Jul 2020 11:07:03 -0400 Subject: [PATCH] Use .owner.name instead of .owner --- chatcommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatcommands.py b/chatcommands.py index 7bc0582056..dcf8552c6a 100644 --- a/chatcommands.py +++ b/chatcommands.py @@ -1741,7 +1741,7 @@ def allspam(msg, url, alias_used="allspam"): "for moderator attention, otherwise use !!/report on the posts individually.") output = [] - allspam_prefix = "(Batch report by {})".format(msg.owner) + allspam_prefix = " (Batch report by {})".format(msg.owner.name) for current_url in user_post_urls[:-1]: # Report that post current_output = report_post(current_url, msg.owner, msg.room.name, allspam_prefix,