Strip ?s from twitter links
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cf8fa6f300
commit
a8e8a92d6c
@ -129,7 +129,9 @@ async def fix_social_media_links(ctx):
|
||||
"%s said:\n%s"
|
||||
% (
|
||||
ctx.author.mention,
|
||||
ctx.content.replace(k, "https://%s.com" % correct_domains[k]),
|
||||
ctx.content.replace(k, "https://%s.com" % correct_domains[k]).split(
|
||||
"?s"
|
||||
)[0],
|
||||
)
|
||||
)
|
||||
await ctx.delete()
|
||||
|
Loading…
x
Reference in New Issue
Block a user