def __init__(self, bot): self.bot = bot self.api = discordlists.Client(self.bot) # Create a Client instance self.api.set_auth("discordextremelist.xyz", config.DELTOKEN) # Set authorisation token for a bot list self.api.set_auth("top.gg", config.TOPTOKEN) self.api.set_auth("discordbotlist.com", config.DBLTOKEN) self.api.start_loop() # Posts the server count automatically every 30 minutes
def __init__(self, bot): self.bot = bot self.do_dbl_post.start() self.trigger_me.start() self.bot = bot self.api = discordlists.Client(self.bot) # Create a Client instance self.api.set_auth("bots.ondiscord.xyz", "TOKEN") # Set authorisation token for a bot list self.api.set_auth("discordbots.group", "TOKEN") # Set authorisation token for a bot list self.api.start_loop() # Posts the server count automatically every 30 minutes
def __init__(self, bot): self.client = bot self.bot = bot self.token = os.environ["topgg_key"] self.api = discordlists.Client(self.bot) self.api.set_auth("disforge.com", os.environ["disforge_key"]) self.api.start_loop() self.dblpy = dbl.DBLClient(self.client, self.token) self.update_stats.start()
def __init__(self, bot): self.bot = bot self.help_icon = "<:owners:691667205082841229>" self.big_icon = "https://cdn.discordapp.com/emojis/691667205082841229.png?v=1" self._last_result = None self.api = discordlists.Client(self.bot) # Create a Client instance self.api.set_auth("discordextremelist.xyz", config.DEL_TOKEN) self.api.set_auth("discord.bots.gg", config.DBGG_TOKEN) self.api.set_auth("discord.boats", config.DBoats_TOKEN) self.api.set_auth("wonderbotlist.com", config.WONDER_TOKEN) self.api.set_auth("glennbotlist.xyz", config.GLENN_TOKEN) self.api.set_auth("mythicalbots.xyz", config.MYTH_TOKEN) self.api.set_auth("botsfordiscord.com", config.BFD_TOKEN) self.api.set_auth("botlist.space", config.BOTSPACE_TOKEN) self.api.start_loop()
def __init__(self, bot): self.bot = bot self.api = discordlists.Client(self.bot) self.api.set_auth("discord.bots.gg", bot.config.DBGG_TOKEN) self.api.set_auth("discord.boats", bot.config.DBOATS_TOKEN) self.api.set_auth("voidbots.net", bot.config.GLENN_TOKEN) self.api.set_auth("mythicalbots.xyz", bot.config.MYTH_TOKEN) self.api.set_auth("botsfordiscord.com", bot.config.BFD_TOKEN) self.api.set_auth("botlist.space", bot.config.BOTSPACE_TOKEN) self.api.set_auth("discordbots.co", bot.config.DISCORD_BOTS_TOKEN) self.api.set_auth('bladebotlist.xyz', bot.config.BBL_TOKEN) self.api.set_auth('blist.xyz', bot.config.BLIST_TOKEN) self.api.set_auth('space-bot-list.xyz', bot.config.SBL_TOKEN) self.api.set_auth('infinitybotlist.com', bot.config.INFINITY_TOKEN) self.api.start_loop() self.help_icon = '' self.big_icon = ''
def __init__(self, bot): self.bot = bot self.api = discordlists.Client(self.bot) # Create a Client instance self.api.set_auth(config[1], config[2]) # Set authorisation token for a bot list self.api.start_loop() # Posts the server count automatically every 30 minutes
def __init__(self, bot): self.bot = bot self.api = discordlists.Client(self.bot) # Create a Client instance