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
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
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'
def insp(url): return decodeurl(url).text
def jsonisp(url): return decodeurl(url).json()
def ping(): a = t.now().timestamp() decodeurl('https://hosting601.vierofernando.repl.co') return round((t.now().timestamp() - a) * 1000)