Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BOT_TOKEN = " "
- defaultStatus = "Bingo Bot"
- defaultChannel = "392157063502888962"
- testChannel = "392120898909634561"
- testChannelName = "bot-test"
- bugChannel = "392439244309921804"
- featChannel = "392427109009850389"
- devServerInvite = " "
- #reddit login stuff
- CLIENT_ID = " "
- CLIENT_SECRET = " "
- USER_AGENT = " "
- REDDIT_USERNAME = " "
- REDDIT_PASSWORD = " "
- botSubreddit = "LivePDDiscordBot"
- liveSubreddit = "LivePD"
- bugFlair = 'ad6586ba-e66d-11e7-adfb-0ecbac9eda98'
- featFlair = 'b17ab8ec-e66d-11e7-9e2d-0e9624cb1cba'
- #All Admins/Mods as of 17 December 2017
- BizarroRick = " "
- YouAllAreDisgraceful = " "
- AlmaLlama6 = " "
- SteelPenguin71 = " "
- Vinto = " "
- TexanPride = " "
- #Most active Bingo moderators
- Bwana = " "
- Fpreston = " "
- WHITELIST = {
- BizarroRick,
- YouAllAreDisgraceful,
- AlmaLlama6,
- SteelPenguin71,
- Vinto,
- TexanPride,
- Bwana,
- Fpreston
- }
- DEPARTMENTS = {
- 'CCSO': "Clark County Sheriff's Office",
- 'EPPD': "El Paso Police Department",
- 'JPD': "Jeffersonville Police Department",
- 'LCSO': "Lake County Sheriff's Office",
- 'NYE': "Nye County Sheriff's Office",
- 'PCSD': "Pasco County Sheriff's Department",
- 'PCSO': "Pinal County Sheriff's Office",
- 'RCSD': "Richland County Sheriff's Department",
- 'SCSO': "Spokane County Sheriff's Office",
- 'SPD': "Slidell Police Department",
- 'UHP': "Utah Highway Patrol",
- 'STUDIO': "In Studio",
- 'OTHER': "Other"
- }
- # @bot.command(pass_context=True, aliases=['sr'])
- # async def setrole(ctx, user: str, role: str):
- # """Add a role to a user. Usage "setrole NAME roleName" >>RESTRICTED USE<<"""
- # if not ctx.message.channel.is_private:
- # await bot.delete_message(ctx.message)
- # if user or role is None:
- # pass
- # if ctx.message.author.id in users.WHITELIST:
- # user = discord.utils.get(ctx.message.server.members, name=user)
- # userRole = discord.utils.get(ctx.message.server.roles, name=role)
- # sroles = discord.utils.find(lambda m: m.name == role, ctx.message.server.roles)
- # checked = 0
- # if str(sroles) == str(role):
- # checked += 1
- # else:
- # checked += 0
- # if checked == 1:
- # await bot.add_roles(user, userRole)
- # tstamp = datetime.datetime.now()
- # print("{} made {} a {}.".format(ctx.message.author,user,role))
- # await bot.send_message(ctx.message.channel, "{} is now a **{}**".format(user.mention, userRole))
- # else:
- # await bot.say("{} you don't have permission to do that.".format(ctx.message.author.mention))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement