fix a variable reference

This commit is contained in:
randomuser 2021-06-23 21:05:37 +00:00
parent 7aac5d09a0
commit 7ab890cf51
1 changed files with 1 additions and 2 deletions

View File

@ -52,8 +52,7 @@ class IRCBotany(Botany):
data = self.getInfo() data = self.getInfo()
if(data == []): return "{}'s invisible plant".format(self.euser) if(data == []): return "{}'s invisible plant".format(self.euser)
string += self.euser string += self.user
print(self.euser)
string += "'s " string += "'s "
if(data['is_dead']): string += "dead " if(data['is_dead']): string += "dead "
string += data['description'] string += data['description']