mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Bugfics
This commit is contained in:
parent
711ddd6fe6
commit
1a211dd7f0
1 changed files with 4 additions and 2 deletions
4
bot.py
4
bot.py
|
@ -515,7 +515,9 @@ def match():
|
||||||
if len(cmd) > 2:
|
if len(cmd) > 2:
|
||||||
del cmd[0]
|
del cmd[0]
|
||||||
for name in cmd:
|
for name in cmd:
|
||||||
userdata = db.findbyname(name)
|
userdata = db.findbyname(name.lower())
|
||||||
|
if userdata is not None and 'steam' in userdata:
|
||||||
|
if userdata['steam'] not in tobematched:
|
||||||
tobematched += userdata['steam']
|
tobematched += userdata['steam']
|
||||||
if len(tobematched) > 1:
|
if len(tobematched) > 1:
|
||||||
m = list(steammatch.compare(tobematched))
|
m = list(steammatch.compare(tobematched))
|
||||||
|
|
Loading…
Reference in a new issue