cappucino time!

This commit is contained in:
vulpine 2020-10-22 18:22:44 -04:00
parent 4e508475dc
commit bd5fcee5c2
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import random
async def coffeeup(self,c,n,m):
if c in ['#coffee','#tea','#water','#CAPS']:
if (c[1:]+"!" in m and c+'!' not in m) or c=='#coffee' and ('latte!' in m or 'espresso!' in m) or c=='#tea' and ('chai!' in m):
if (c[1:]+"!" in m and c+'!' not in m) or c=='#coffee' and ('latte!' in m or 'espresso!' in m or 'cappucino!' in m) or c=='#tea' and ('chai!' in m):
cc = self.coffee.find_one(name=c)
if cc:
self.coffee.update(dict(name=c,value=cc['value']+1),['name'])