Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # uncompyle6 version 3.6.4
- # Python bytecode 3.7 (3394)
- # Decompiled from: Python 2.7.17 (default, Apr 15 2020, 17:20:14)
- # [GCC 7.5.0]
- # Warning: this version has problems handling the Python 3 byte type in contants properly.
- # Embedded file name: C:\Users\joelt\Desktop\aoi-bot - Copy\utils\checks.py
- # Size of source mod 2**32: 1954 bytes
- import discord
- disallow_channels = [
- 411363271568785420L, 606549827077144589L, 575234510682193930L,
- 602454748406480916L, 508668937035186186L, 438529996223545344L,
- 439016971749556234L, 439017534709170187L, 439019287370530817L,
- 439149789058433024L, 653906879357124609L]
- twitch = [
- 411363271568785420L, 606549827077144589L, 575234510682193930L,
- 602454748406480916L, 508668937035186186L]
- user_blacklist = []
- guild_blacklist = []
- owners_ids = [
- 396241937658675206L, 135161245941628928L]
- def is_joel(ctx):
- return ctx.author.id == 396241937658675206L
- def manage_message_owner(ctx):
- if not ctx.author.guild_permissions.manage_messages or ctx.author.id == 396241937658675206L:
- return ctx.author.guild_permissions.manage_messages or ctx.author.id == 396241937658675206L
- def allowed_ids(ctx):
- return ctx.author.id in (199004056310513674, 396241937658675206, 104632038425903104,
- 135161245941628928)
- async def owners(ctx):
- if ctx.author.id in owners_ids:
- return ctx.author.id in owners_ids
- await ctx.send(f"Sorry, {ctx.author.name}. You're not allowed to use that command.")
- return
- def _owners(ctx):
- return ctx.author.id in owners_ids
- async def disabled_channels(ctx):
- if ctx.channel.id not in disallow_channels:
- return ctx.channel.id not in disallow_channels
- await ctx.send('Sorry, this command cannot be used here.', delete_after=10)
- return
- status_list = [
- discord.Activity(name='myself being pretty around the school', type=3),
- discord.Activity(name='Ayano act suspicously', type=3),
- discord.Streaming(name='twitch.tv/YandereDev', url='https://twitch.tv/YandereDev')]
Advertisement
Add Comment
Please, Sign In to add comment