Exemplo n.º 1
0
def askLoop():
    askCommand()
    userInput = utils.jinput()
    return answer.command(userInput)
Exemplo n.º 2
0
def askLoop():
    askCommand()
    userInput = utils.jinput()
    return answer.command(userInput)
Exemplo n.º 3
0
#####
## Junk Bot
## A junk but awesome bot
#####

import time
import sys
import utils.utils as utils
import conf.conf as conf
import bot.answer as answer
import bot.ask as ask

utils.jmode(conf.botName + " Bot " + conf.botVersion)

# Boot process
utils.jsysprint("Initializing...")
utils.jprogressbar(2)
utils.jmode(conf.botName + " boot sequence completed")

# Greetings
ask.greetings()
userInput = utils.jinput()
answer.greetings(userInput)

# Commands
utils.jmode("Command mode enabled")

while ask.askLoop():
    pass