Explorar o código

include nicknames in message

Kylie Jo Swistak %!s(int64=5) %!d(string=hai) anos
pai
achega
1a7d678f41
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bot.rb

+ 1 - 1
bot.rb

@@ -1904,7 +1904,7 @@ bot.member_leave do |event|
 
   embed = Embed.new(
     title: "I've lost track of a user!",
-    description: "It seems #{event.user.name} has left the server!",
+    description: "It seems <@#{event.user.name}>, (#{event.user.nickname}) has left the server!",
     fields: [
       { name: "```Flagging Guild Members......```", value: updated.join("\n") }
     ]