mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
piracy reports on in bot-log for pirated releases
This commit is contained in:
2
bot.py
2
bot.py
@@ -247,8 +247,10 @@ async def piracy_check(message: Message):
|
||||
async def piracy_alert(message: Message):
|
||||
try:
|
||||
await message.delete()
|
||||
await report("Pirated Release", message, None, attention=False)
|
||||
except Forbidden as fbe:
|
||||
print("Couldn't delete the moderated log attachment")
|
||||
await report("Pirated Release", message, None, attention=True)
|
||||
await message.channel.send(
|
||||
"Pirated release detected {author}!\n"
|
||||
"**You are being denied further support until you legally dump the game!**\n"
|
||||
|
||||
Reference in New Issue
Block a user