Expose memberid of people that left the server

pull/3/head
Stijn De Clercq 2020-10-23 19:34:25 +02:00
parent f102faaf7e
commit 30d2b63f41
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class Utils(commands.Cog):
member = COC.get_member(int(memberid))
if member is not None:
return member.display_name
return "[Persoon die de server misschien geleaved is]"
return "[Persoon die de server misschien geleaved is | {}]".format(memberid)
mem = ctx.guild.get_member(int(memberid))
return mem.display_name