Fix a bug in "_text"

This commit is contained in:
SuperSonic 2020-10-20 07:59:03 +08:00 committed by GitHub
parent cfd46e8e63
commit 7b3c32c6e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -344,7 +344,7 @@ class Yuuki_Command:
return actions[msgSep[1]](ncMessage)
return self.Yuuki_DynamicTools.sendText(
Yuuki_StaticTools.sendToWho(ncMessage),
self.Yuuki.get_text("Helllo^^\nMy name is %s ><\nNice to meet you OwO"
self.Yuuki.get_text("Helllo^^\nMy name is %s ><\nNice to meet you OwO") % (Yuuki_Name,)
)
def _contact(self, ncMessage):