Advertisement
Guest User

users.py

a guest
Jan 7th, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.62 KB | None | 0 0
  1. BOT_TOKEN = " "
  2. defaultStatus = "Bingo Bot"
  3. defaultChannel = "392157063502888962"
  4. testChannel = "392120898909634561"
  5. testChannelName = "bot-test"
  6. bugChannel = "392439244309921804"
  7. featChannel = "392427109009850389"
  8. devServerInvite = " "
  9.  
  10. #reddit login stuff
  11. CLIENT_ID = " "
  12. CLIENT_SECRET = " "
  13. USER_AGENT = " "
  14. REDDIT_USERNAME = " "
  15. REDDIT_PASSWORD = " "
  16. botSubreddit = "LivePDDiscordBot"
  17. liveSubreddit = "LivePD"
  18. bugFlair = 'ad6586ba-e66d-11e7-adfb-0ecbac9eda98'
  19. featFlair = 'b17ab8ec-e66d-11e7-9e2d-0e9624cb1cba'
  20.  
  21. #All Admins/Mods as of 17 December 2017
  22. BizarroRick = " "
  23. YouAllAreDisgraceful = " "
  24. AlmaLlama6 = " "
  25. SteelPenguin71 = " "
  26. Vinto = " "
  27. TexanPride = " "
  28.  
  29. #Most active Bingo moderators
  30. Bwana = " "
  31. Fpreston = " "
  32.  
  33. WHITELIST = {
  34.     BizarroRick,
  35.     YouAllAreDisgraceful,
  36.     AlmaLlama6,
  37.     SteelPenguin71,
  38.     Vinto,
  39.     TexanPride,
  40.     Bwana,
  41.     Fpreston
  42. }
  43. DEPARTMENTS = {
  44.     'CCSO': "Clark County Sheriff's Office",
  45.     'EPPD': "El Paso Police Department",
  46.     'JPD': "Jeffersonville Police Department",
  47.     'LCSO': "Lake County Sheriff's Office",
  48.     'NYE': "Nye County Sheriff's Office",
  49.     'PCSD': "Pasco County Sheriff's Department",
  50.     'PCSO': "Pinal County Sheriff's Office",
  51.     'RCSD': "Richland County Sheriff's Department",
  52.     'SCSO': "Spokane County Sheriff's Office",
  53.     'SPD': "Slidell Police Department",
  54.     'UHP': "Utah Highway Patrol",
  55.     'STUDIO': "In Studio",
  56.     'OTHER': "Other"
  57. }
  58.  
  59.  
  60. # @bot.command(pass_context=True, aliases=['sr'])
  61. # async def setrole(ctx, user: str, role: str):
  62. #     """Add a role to a user.  Usage "setrole NAME roleName"  >>RESTRICTED USE<<"""
  63. #     if not ctx.message.channel.is_private:
  64. #         await bot.delete_message(ctx.message)
  65. #     if user or role is None:
  66. #         pass
  67. #     if ctx.message.author.id in users.WHITELIST:
  68. #         user = discord.utils.get(ctx.message.server.members, name=user)
  69. #         userRole = discord.utils.get(ctx.message.server.roles, name=role)
  70. #         sroles = discord.utils.find(lambda m: m.name == role, ctx.message.server.roles)
  71. #         checked = 0
  72. #         if str(sroles) == str(role):
  73. #             checked += 1
  74. #         else:
  75. #             checked += 0
  76. #         if checked == 1:
  77. #             await bot.add_roles(user, userRole)
  78. #             tstamp = datetime.datetime.now()
  79. #             print("{} made {} a {}.".format(ctx.message.author,user,role))
  80. #             await bot.send_message(ctx.message.channel, "{} is now a **{}**".format(user.mention, userRole))
  81. #     else:
  82. #         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