Log invite code instead of invite link (untested)

This commit is contained in:
Ave Ozkal 2019-04-24 12:03:57 +03:00
parent 8a152ed8ef
commit 319385f100
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -78,7 +78,7 @@ class Logs(Cog):
# Prepare the invite correlation message
if len(probable_invites_used) == 1:
invite_used = probable_invites_used[0]["url"]
invite_used = probable_invites_used[0]["code"]
elif len(probable_invites_used) == 0:
invite_used = "Unknown"
else: