1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
This commit is contained in:
Steffo 2016-10-04 16:50:58 +02:00
parent 711ddd6fe6
commit 1a211dd7f0

6
bot.py
View file

@ -515,8 +515,10 @@ def match():
if len(cmd) > 2:
del cmd[0]
for name in cmd:
userdata = db.findbyname(name)
tobematched += userdata['steam']
userdata = db.findbyname(name.lower())
if userdata is not None and 'steam' in userdata:
if userdata['steam'] not in tobematched:
tobematched += userdata['steam']
if len(tobematched) > 1:
m = list(steammatch.compare(tobematched))
if len(m) > 0: