Skip to content

Commit

Permalink
Update tos.py
Browse files Browse the repository at this point in the history
🤔
  • Loading branch information
DoroWolf authored Mar 19, 2024
1 parent 793e1c2 commit bb99fd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/tos.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ async def tos_report(sender, target, reason = None, banned = False):
action = locale.t("tos.message.action.warning")
warn_template.append(locale.t("tos.message.action") + action)

for target in report_targets:
if f := await Bot.FetchTarget.fetch_target(target):
await f.send_direct_message('\n'.join(warn_template), disable_secret_check=True)
for target_ in report_targets:
if f := await Bot.FetchTarget.fetch_target(target_):
await f.send_direct_message('\n'.join(warn_template), disable_secret_check=True)

0 comments on commit bb99fd9

Please sign in to comment.