示例#1
0
def getCommandLength():
    data, count = decodeurl(
        'https://vierofernando.github.io/username601/assets/json/commands.json'
    ).json(), 0
    for i in range(len(data)):
        count += len(data[i][list(data[i].keys())[0]])
    return count
示例#2
0
class Config:
    id = 696973408000409626  # BOT ID
    prefix = '1'  # your prefix here
    cmdtypes = decodeurl(
        "https://vierofernando.github.io/username601/assets/json/categories.json"
    ).json()

    class Version:
        number = '2.6'
        changelog = 'More GIF commands, and deleted some buggy/non-functional commands, fixed typos, improved code, and more.'

    class SupportServer:
        id = 688373853889495044  # support server ID
        logging = 694521383908016188  # logging channel ID in support server
        Announcements = 722752725267382323  # announcements channel
        feedback = 706459051034279956  # feedback channel
        invite = 'https://discord.gg/HhAPkD8'  # your support server invite link

    class owner:
        id = 661200758510977084  # YOUR USER ID
示例#3
0
class Config:
    id = 696973408000409626  # BOT ID
    prefix = '1'  # your prefix here
    cmdtypes = decodeurl(
        "https://vierofernando.github.io/username601/assets/json/categories.json"
    ).json()

    class Version:
        number = '2.4.5'
        changelog = 'Updated to discord.py version 1.4'

    class SupportServer:
        id = 688373853889495044  # support server ID
        logging = 694521383908016188  # logging channel ID in support server
        Announcements = 722752725267382323  # announcements channel
        feedback = 706459051034279956  # feedback channel
        invite = 'https://discord.gg/HhAPkD8'  # your support server invite link

    class owner:
        id = 661200758510977084  # YOUR USER ID
        name = 'Viero Fernando'
示例#4
0
def insp(url):
    return decodeurl(url).text
示例#5
0
def jsonisp(url):
    return decodeurl(url).json()
示例#6
0
def ping():
    a = t.now().timestamp()
    decodeurl('https://hosting601.vierofernando.repl.co')
    return round((t.now().timestamp() - a) * 1000)