ipdate user command

This commit is contained in:
deathbybandaid 2019-07-05 08:51:37 -04:00
parent 2ff44e3e67
commit 18197dd948

View File

@ -11,5 +11,6 @@ import sopel_modules.SpiceBot as SpiceBot
@SpiceBot.prerun('nickname')
@sopel.module.nickname_commands('users', 'user')
def nickname_comand_users(bot, trigger, botcom):
bot.say("WIP")
return
totalusers = len(list(SpiceBot.users.dict["all"]))
onlineusers = len(list(SpiceBot.users.dict["online"]))
bot.osd("Of the " + str(totalusers) + " that I've seen, " + str(onlineusers) + " are online currently.")