Browse Source

Update system_content strings for MessageType.new_member.

pull/718/merge
Rapptz 8 years ago
parent
commit
9a0e9b0494
  1. 62
      discord/message.py

62
discord/message.py

@ -435,31 +435,49 @@ class Message:
if self.type is MessageType.new_member: if self.type is MessageType.new_member:
formats = [ formats = [
"%s just joined the server - glhf!", "{0} just joined the server - glhf!",
"%s just joined. Everyone, look busy!", "{0} just joined. Everyone, look busy!",
"%s just joined. Can I get a heal?", "{0} just joined. Can I get a heal?",
"%s joined your party.", "{0} joined your party.",
"%s joined. You must construct additional pylons.", "{0} joined. You must construct additional pylons.",
"Ermagherd. %s is here.", "Ermagherd. {0} is here.",
"Welcome, %s. Stay awhile and listen.", "Welcome, {0}. Stay awhile and listen.",
"Welcome, %s. We were expecting you ( ͡° ͜ʖ ͡°)", "Welcome, {0}. We were expecting you ( ͡° ͜ʖ ͡°)",
"Welcome, %s. We hope you brought pizza.", "Welcome, {0}. We hope you brought pizza.",
"Welcome %s. Leave your weapons by the door.", "Welcome {0}. Leave your weapons by the door.",
"A wild %s appeared.", "A wild {0} appeared.",
"Swoooosh. %s just landed.", "Swoooosh. {0} just landed.",
"Brace yourselves. %s just joined the server.", "Brace yourselves. {0} just joined the server.",
"%s just joined. Hide your bananas.", "{0} just joined. Hide your bananas.",
"%s just arrived. Seems OP - please nerf.", "{0} just arrived. Seems OP - please nerf.",
"%s just slid into the server.", "{0} just slid into the server.",
"A %s has spawned in the server.", "A {0} has spawned in the server.",
"Big %s showed up!", "Big {0} showed up!",
"Where’s %s? In the server!", "Where’s {0}? In the server!",
"%s hopped into the server. Kangaroo!!", "{0} hopped into the server. Kangaroo!!",
"%s just showed up. Hold my beer.", "{0} just showed up. Hold my beer.",
"Challenger approaching - {0} has appeared!",
"It's a bird! It's a plane! Nevermind, it's just {0}.",
"It's {0}! Praise the sun! [T]/",
"Never gonna give {0} up. Never gonna let {0} down.",
"Ha! {0} has joined! You activated my trap card!",
"Cheers, love! {0}'s here!",
"Hey! Listen! {0} has joined!",
"We've been expecting you {0}",
"It's dangerous to go alone, take {0}!",
"{0} has joined the server! It's super effective!",
"Cheers, love! {0} is here!",
"{0} is here, as the prophecy foretold.",
"{0} has arrived. Party's over.",
"Ready player {0}",
"{0} is here to kick butt and chew bubblegum. And {0} is all out of gum.",
"Hello. Is it {0} you're looking for?",
"{0} has joined. Stay a while and listen!",
"Roses are red, violets are blue, {0} joined this server with you",
] ]
index = int(self.created_at.timestamp()) % len(formats) index = int(self.created_at.timestamp()) % len(formats)
return formats[index] % self.author.name return formats[index].format(self.author.name)
if self.type is MessageType.call: if self.type is MessageType.call:
# we're at the call message type now, which is a bit more complicated. # we're at the call message type now, which is a bit more complicated.

Loading…
Cancel
Save