diff --git a/discord/message.py b/discord/message.py index e8bb4af2d..15e7cfb5b 100644 --- a/discord/message.py +++ b/discord/message.py @@ -435,31 +435,49 @@ class Message: if self.type is MessageType.new_member: formats = [ - "%s just joined the server - glhf!", - "%s just joined. Everyone, look busy!", - "%s just joined. Can I get a heal?", - "%s joined your party.", - "%s joined. You must construct additional pylons.", - "Ermagherd. %s is here.", - "Welcome, %s. Stay awhile and listen.", - "Welcome, %s. We were expecting you ( ͡° ͜ʖ ͡°)", - "Welcome, %s. We hope you brought pizza.", - "Welcome %s. Leave your weapons by the door.", - "A wild %s appeared.", - "Swoooosh. %s just landed.", - "Brace yourselves. %s just joined the server.", - "%s just joined. Hide your bananas.", - "%s just arrived. Seems OP - please nerf.", - "%s just slid into the server.", - "A %s has spawned in the server.", - "Big %s showed up!", - "Where’s %s? In the server!", - "%s hopped into the server. Kangaroo!!", - "%s just showed up. Hold my beer.", + "{0} just joined the server - glhf!", + "{0} just joined. Everyone, look busy!", + "{0} just joined. Can I get a heal?", + "{0} joined your party.", + "{0} joined. You must construct additional pylons.", + "Ermagherd. {0} is here.", + "Welcome, {0}. Stay awhile and listen.", + "Welcome, {0}. We were expecting you ( ͡° ͜ʖ ͡°)", + "Welcome, {0}. We hope you brought pizza.", + "Welcome {0}. Leave your weapons by the door.", + "A wild {0} appeared.", + "Swoooosh. {0} just landed.", + "Brace yourselves. {0} just joined the server.", + "{0} just joined. Hide your bananas.", + "{0} just arrived. Seems OP - please nerf.", + "{0} just slid into the server.", + "A {0} has spawned in the server.", + "Big {0} showed up!", + "Where’s {0}? In the server!", + "{0} hopped into the server. Kangaroo!!", + "{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) - return formats[index] % self.author.name + return formats[index].format(self.author.name) if self.type is MessageType.call: # we're at the call message type now, which is a bit more complicated.