def __init__(self, bot): self.bot = bot self.help_icon = "<:tag:686251889586864145>" self.big_icon = "https://cdn.discordapp.com/emojis/686251889586864145.png?v=1" self.bot.embed_color = 0x0058D6 self.bot.help_command.cog = self self.color = color_picker('colors')
def __init__(self, bot): self.bot = bot self.help_icon = "" self.big_icon = "" self.long_raid_cooldown = commands.CooldownMapping(commands.Cooldown(25, 15, commands.BucketType.guild)) self.short_raid_cooldown = commands.CooldownMapping.from_cooldown(8, 4, commands.BucketType.guild) self.color = color_picker('colors')
def __init__(self, bot): self.bot = bot self.temp_mute.start() self.temp_ban.start() self.help_icon = "" self.big_icon = "" self.color = color_picker('colors')
def __init__(self, bot): self.bot = bot self._last_result = None self.help_icon = "<:funn:747192603564441680>" self.big_icon = "https://cdn.discordapp.com/emojis/747192603564441680.png?v=1" self.blacklisted_words = [ 'nigger', 'niger', 'niga', 'n1ga', 'n1gg3r', 'n1g3r', 'retard', 'r3tard', 'r3tard3d', 'retarded' ] self.color = color_picker('colors')
async def predicate(ctx): if await ctx.bot.is_admin(ctx.author): return True elif not await ctx.bot.is_admin(ctx.author): color = color_picker('colors') e = discord.Embed( color=color['logembed_color'], description= f"{emotes.warning} This command is in it's testing phase, please [join support server]({ctx.bot.support}) if you want to know when it'll be available." ) await ctx.send(embed=e) return False return False
def __init__(self, *args, **kwargs): self.show_hidden = False super().__init__(command_attrs={ 'help': 'Shows help about bot and/or commands', 'brief': 'See cog/command help', 'usage': '[category / command]', 'cooldown': commands.Cooldown(1, 3, commands.BucketType.user), 'name': 'help'}) self.verify_checks = True self.color = color_picker('colors') self.owner_cogs = ['Devishaku', 'Music', 'Owner', "Economy", "Music"] self.admin_cogs = ['Staff'] self.vip_cogs = ['Booster'] self.ignore_cogs = ["Help", "Events", "Cmds", "Logs", "dredd", 'DBL', 'BG', 'StatcordPost', "AutomodEvents", "Eventss"]
async def predicate(ctx): if await ctx.bot.is_booster(ctx.author): return True if 100 <= len(ctx.bot.guilds) <= 110: return True async with aiohttp.ClientSession() as session: async with session.get( f'https://discord.boats/api/bot/667117267405766696/voted?id={ctx.author.id}' ) as r: js = await r.json() color = color_picker('colors') if js['error'] == True and js['message'] == "User wasn't found": e = discord.Embed( color=color['logging_color'], description= "Please [vote here](https://discord.boats/bot/667117267405766696/vote) to be able to use this command." ) await ctx.send(embed=e) return False elif js['error'] == False and js['voted'] == False: e = discord.Embed( color=color['logging_color'], description= "Please [vote here](https://discord.boats/bot/667117267405766696/vote) to be able to use this command." ) await ctx.send(embed=e) return False elif js['error'] == False and js['voted'] == True: return True elif js['error'] == True: e = discord.Embed( color=color['logging_color'], description= f"Error while fetching your vote: {js['message']}") await ctx.send(embed=e) return False
def __init__(self, bot): self.bot = bot self.help_icon = "<:etaa:747192603757248544>" self.big_icon = "https://cdn.discordapp.com/emojis/747192603757248544.png?v=1" self.color = color_picker('colors')
def __init__(self, bot): self.bot = bot self.help_icon = "<:settingss:695707235833085982>" self.big_icon = "https://cdn.discordapp.com/emojis/695707235833085982.png?v=1" self.color = color_picker('colors')
def __init__(self, bot): self.bot = bot self._last_result = None self.help_icon = '' self.big_icon = '' self.color = color_picker('colors')
def __init__(self, bot): self.bot = bot self._last_result = None self.color = color_picker('colors')
def __init__(self, bot): self.bot = bot self.help_icon = "<:staff:706190137058525235>" self.big_icon = "https://cdn.discordapp.com/emojis/706190137058525235.png?v=1" self.color = color_picker('colors')
def __init__(self, bot): self.bot = bot self.help_icon = "<:automod:701056320673153034>" self.big_icon = "https://cdn.discordapp.com/attachments/679643465407266817/701055848788787300/channeldeletee.png" self.color = color_picker('colors')