Skip to content

Commit

Permalink
Use .owner.name instead of .owner
Browse files Browse the repository at this point in the history
  • Loading branch information
user12986714 committed Jul 2, 2020
1 parent 23989d1 commit 6fd56f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatcommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6fd56f8

Please sign in to comment.