|
|
@@ -129,7 +129,7 @@ class URLSpamCog(BaseCog, name='URL Spam'):
|
|
129
|
129
|
bm = BotMessage(
|
|
130
|
130
|
message.guild,
|
|
131
|
131
|
f'User {message.author.mention} posted a URL ' + \
|
|
132
|
|
- f'{join_age_str} after joining.',
|
|
|
132
|
+ f'{join_age_str} after joining: {message.jump_url}',
|
|
133
|
133
|
type = BotMessage.TYPE_MOD_WARNING if needs_attention else BotMessage.TYPE_INFO,
|
|
134
|
134
|
context = context)
|
|
135
|
135
|
bm.quote = discordutils.remove_markdown(message.clean_content)
|
|
|
@@ -152,7 +152,7 @@ class URLSpamCog(BaseCog, name='URL Spam'):
|
|
152
|
152
|
|
|
153
|
153
|
if not self.contains_deceptive_links(message.content):
|
|
154
|
154
|
return
|
|
155
|
|
- mod_text = f'User {message.author.name} ({message.author.id}) posted a deceptive link.'
|
|
|
155
|
+ mod_text = f'User {message.author.name} ({message.author.id}) posted a deceptive link. {message.jump_url}'
|
|
156
|
156
|
quoted = '> ' + escape_markdown(message.content).replace('\n', '\n> ')
|
|
157
|
157
|
mod_text += f'\n\n{quoted}'
|
|
158
|
158
|
self.log(message.guild, f'{message.author.name} posted deceptive link - action: {action}')
|