mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 06:00:59 -05:00
cleanup
This commit is contained in:
parent
7612380380
commit
9f2890441d
@ -37,10 +37,10 @@ def bot_command_sherlock(bot, trigger):
|
||||
else:
|
||||
notinlist.append(social_network)
|
||||
|
||||
if inlist != []:
|
||||
if len(inlist):
|
||||
if checklistname != 'all':
|
||||
bot.osd(["The username " + username + " is in " + checklist[0], SpiceBot.sherlock.dict.get(social_network).get("url").format(username)])
|
||||
else:
|
||||
bot.osd(["The username " + username + " is in the following:", spicemanip.main(inlist, "andlist")])
|
||||
if notinlist != []:
|
||||
if len(notinlist):
|
||||
bot.osd(["The username " + username + " is NOT in the following:", spicemanip.main(notinlist, "andlist")])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user