示例#1
0
def printHardware(sock, currentLog):
    hardwareInfo = "tablet: Wacom Cintiq 22HD"
    message = "✖ HARDWARE ✖ " + hardwareInfo + "\r\n"
    sendMessage(sock, message)
    chatLog(currentLog, "roreoBOT", message, "PRIVMSG")
示例#2
0
def banUser(sock, user):
    banMessage = ".ban "
    message = banMessage + user
    sendMessage(sock, message)
示例#3
0
def printSoftware(sock, currentLog):
    softwareInfo = "drawing program: Paint Tool SAI ✖ stream client: OBS"
    message = "✖ SOFTWARE ✖ " + softwareInfo + "\r\n"
    sendMessage(sock, message)
    chatLog(currentLog, "roreoBOT", message, "PRIVMSG")
示例#4
0
def printRequestInfo(sock, currentLog):
    requstsLink = "No Request Info Yet"
    message = "✖ REQUESTS ✖ " + requstsLink + "\r\n"
    sendMessage(sock, message)
    chatLog(currentLog, "roreoBOT", message, "PRIVMSG")
示例#5
0
def printCommissionInfo(sock, currentLog):
    commissionLink = "http://alfalfadil.tumblr.com/post/147679795591/commission-info"
    message = "✖ COMMISSIONS ✖ " + commissionLink + "\r\n"
    sendMessage(sock, message)
    chatLog(currentLog, "roreoBOT", message, "PRIVMSG")
示例#6
0
def printLinks(sock, currentLog):
    twitterLink = "https://twitter.com/alfalfadil"
    tumblrLink = "https://alfalfadil.tumblr.com"
    message = "✖ LINKS ✖ twitter @ " + twitterLink + " ✖ tumblr @ " + tumblrLink + "\r\n"
    sendMessage(sock, message)
    chatLog(currentLog, "roreoBOT", message, "PRIVMSG")
示例#7
0
def timeoutUser(sock, user):
    timeoutMessage = ".timeout "
    message = timeoutMessage + user
    sendMessage(sock, message)