Beispiel #1
0
 def __init__(self):
     self.simi_init()
     self.cfg = botcfg()
Beispiel #2
0
from urllib import request,parse
from http import cookiejar
import json
from webqq import Webqq
import re
import threading
from logger import logger
from config import botcfg
import sqlite3

import sys, os
import subprocess
import platform
import time

cfg = botcfg()
gcfg = cfg[0]
fcfg = cfg[1]

class Computer:
    '''
    just for my computer
    run commands or timing to complete tasks
    Windows XP and Arch64(sudo without password)
    TODO: XP support
    '''

    def __init__(self):
        self.platform = platform.system()
        self.mods = {}