Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.89 KB | None | 0 0
  1. #######################################################
  2. ## NOTIFY POKEMON
  3. ##
  4. ## If some values are left out,
  5. ## Monocle uses the values of DEFAULT_ALARM
  6. ##
  7. ## So either set all values or delete the '#' signs
  8. ## infront of the DEFAULT_ALARM lines
  9. #######################################################
  10.  
  11. # copyright safe icons:
  12. ICONS_URL = "https://raw.githubusercontent.com/M4d40/my-po-icons/master/Copyrightfree-Assets/{}.png"
  13. GMAP_ICONS_URL = "https://raw.githubusercontent.com/M4d40/my-po-icons/master/Copyrightfree-Assets-32x32/{}.png"
  14. GMAP_EGG_ICONS_URL = "https://raw.githubusercontent.com/M4d40/my-po-icons/master/Copyrightfree-Assets-32x32/egg_{}.png"
  15.  
  16. # non copyright safe icons:
  17. #ICONS_URL = "https://raw.githubusercontent.com/M4d40/my-po-icons/master/Original-Assets/{}.png"
  18. #GMAP_ICONS_URL = "https://raw.githubusercontent.com/M4d40/my-po-icons/master/Original-Assets-32x32/{}.png"
  19. #GMAP_EGG_ICONS_URL = "https://raw.githubusercontent.com/M4d40/my-po-icons/master/Original-Assets-32x32/egg_{}.png"
  20.  
  21.  
  22. #DEFAULT_ALARM = {
  23. # 'username': '{poke_name}',
  24. # 'title': 'A wild {poke_name} {poke_iv}% (lvl {poke_lvl} | {poke_cp}WP) ({poke_atk}/{poke_def}/{poke_sta}) appeared',
  25. # 'description': """Until {disappear_time} ({time_left} left)
  26. #IV: {poke_iv}% ({poke_atk}/{poke_def}/{poke_sta})
  27. #CP: {poke_cp} | Level: {poke_lvl}
  28. #Attacks: {poke_move_1} / {poke_move_2}
  29. #Gender: {poke_gender} | Weight: {poke_weight} kg | Height: {poke_height} m""",
  30. # 'color': 'BLUE', # RED/AQUA/GREEN/BLUE/GOLD/ORANGE/RED/GREY/NAVY
  31. # 'avatar_url': ICONS_URL,
  32. # 'icon_url': ICONS_URL
  33. #}
  34.  
  35. NOTIFY_POKEMON_ALARMS = {
  36. 'discord': [
  37. # {
  38. # 'name': 'filter pokemon ids',
  39. # 'title': 'A wild {poke_name} {poke_iv}% (lvl {poke_lvl} | {poke_cp}WP) ({poke_atk}/{poke_def}/{poke_sta}) appeared',
  40. # 'description': """Until {disappear_time} ({time_left} left)""",
  41. # 'filter_ids': [1,2,3,4,5,6,8,9,129,246,247,248],
  42. # 'webhook_url': 'https://discordapp.com/api/webhooks/385466489156665347/IcSlzK6ImkP8ezocnqGQkg87b3hpjgmkMOpHntUGFar7s8S4OFvi3_QX_Vvm9XTIga7G',
  43. # 'avatar_url': 'https://raw.githubusercontent.com/ZeChrales/monocle-icons/larger-outlined/larger-icons/{}.png',
  44. # 'icon_url': 'https://raw.githubusercontent.com/ZeChrales/monocle-icons/larger-outlined/larger-icons/{}.png',
  45. # },
  46. {
  47. 'name': 'filter pokemon ivs',
  48. 'username': 'iv-90-bot',
  49. 'filter_ivs': {'value': 10, 'op': '>=', 'ignore_unknown': True},
  50. 'webhook_url': 'https://discordapp.com/api/webhooks/385466489156665347/IcSlzK6ImkP8ezocnqGQkg87b3hpjgmkMOpHntUGFar7s8S4OFvi3_QX_Vvm9XTIga7G',
  51. },
  52. # {
  53. # 'name': 'combined filter ivs and ids',
  54. # 'username': 'iv-95-bot',
  55. # 'filter_ids': [1,2,3,4,5,6,8,9,246,247,248],
  56. # 'filter_ivs': {'value': 95, 'op': '>=', 'ignore_unknown': True},
  57. # 'webhook_url': 'https://discordapp.com/api/webhooks/385466489156665347/IcSlzK6ImkP8ezocnqGQkg87b3hpjgmkMOpHntUGFar7s8S4OFvi3_QX_Vvm9XTIga7G',
  58. # 'color': 'RED',
  59. # }
  60. ]
  61. }
  62.  
  63.  
  64.  
  65. # Override the rarity score for particular Pokémon
  66. # format is: {pokemon_id: rarity_score}
  67. #RARITY_OVERRIDE = {148: 0.6, 149: 0.9}
  68.  
  69. # Ignore IV score and only base decision on rarity score (default if IVs not known)
  70. #IGNORE_IVS = False
  71.  
  72. # Ignore rarity score and only base decision on IV score
  73. #IGNORE_RARITY = False
  74.  
  75. # The Pokémon score required to notify goes on a sliding scale from INITIAL_SCORE
  76. # to MINIMUM_SCORE over the course of FULL_TIME seconds following a notification
  77. # Pokémon scores are an average of the Pokémon's rarity score and IV score (from 0 to 1)
  78. # If NOTIFY_RANKING is 90, the 90th most common Pokémon will have a rarity of score 0, the rarest will be 1.
  79. # IV score is the IV sum divided by 45 (perfect IVs).
  80. FULL_TIME = 1800 # the number of seconds after a notification when only MINIMUM_SCORE will be required
  81. INITIAL_SCORE = 0.7 # the required score immediately after a notification
  82. MINIMUM_SCORE = 0.4 # the required score after FULL_TIME seconds have passed
  83.  
  84. ### The following values are fake, replace them with your own keys to enable
  85. ### notifications, otherwise exclude them from your config
  86. ### You must provide keys for at least one service to use notifications.
  87.  
  88. #PB_API_KEY = 'o.9187cb7d5b857c97bfcaa8d63eaa8494'
  89. #PB_CHANNEL = 0 # set to the integer of your channel, or to None to push privately
  90.  
  91. #TWITTER_CONSUMER_KEY = '53d997264eb7f6452b7bf101d'
  92. #TWITTER_CONSUMER_SECRET = '64b9ebf618829a51f8c0535b56cebc808eb3e80d3d18bf9e00'
  93. #TWITTER_ACCESS_KEY = '1dfb143d4f29-6b007a5917df2b23d0f6db951c4227cdf768b'
  94. #TWITTER_ACCESS_SECRET = 'e743ed1353b6e9a45589f061f7d08374db32229ec4a61'
  95.  
  96. ## Telegram bot token is the one Botfather sends to you after completing bot creation.
  97. ## Chat ID can be two different values:
  98. ## 1) '@channel_name' for channels
  99. ## 2) Your chat_id if you will use your own account. To retrieve your ID, write to your bot and check this URL:
  100. ## https://api.telegram.org/bot<BOT_TOKEN_HERE>/getUpdates
  101. ##
  102. ## TELEGRAM_MESSAGE_TYPE can be 0 or 1:
  103. ## => 0 you'll receive notifications as venue (as you already seen before in Monocle)
  104. ## => 1 you'll receive notifications as text message with GMaps link
  105. #TELEGRAM_BOT_TOKEN = '123456789:AA12345qT6QDd12345RekXSQeoZBXVt-AAA'
  106. #TELEGRAM_CHAT_ID = '@your_channel'
  107. #TELEGRAM_MESSAGE_TYPE = 0
  108.  
  109. ### The following raid notification related configs
  110. ### only apply to Monkey's version of raids notification (no webhook support, only Telegram and Discord)
  111. ### For webhook raids notification, see below for NOTIFY_RAIDS_WEBHOOK
  112. ###
  113. NOTIFY_RAIDS = True # Enable raid notifications. Default False
  114. RAIDS_LVL_MIN = 3
  115. #RAIDS_IDS = {143, 248}
  116.  
  117. DEFAULT_EGG_ALARM = {
  118. 'username': 'Egg Bot',
  119. 'title': 'A Level {level} Egg appeared',
  120. 'description': """
  121. It hatches at {time_battle}
  122. Raid ends at: {raid_end}
  123. """,
  124. 'color': 'GREY', # RED/AQUA/GREEN/BLUE/GOLD/ORANGE/RED/GREY/NAVY
  125. 'webhook_url': 'https://discordapp.com/api/webhooks/390505919374426122/P26c6zSi22hI05hguiu-rj_ws954RxqP4ewXurS4D6nVT5Knmtgdn_7WDZIgSLnoCm9m'
  126. }
  127.  
  128. DEFAULT_RAID_ALARM = {
  129. 'username': 'Raid Bot',
  130. 'title': 'een {poke_name} Raid (Level {level}) is uitgekomen',
  131. 'description': """
  132. Gym: {gym_name}
  133. Until: {raid_end}
  134. controlled bij: **Team {team}**
  135. Pokemon: **{poke_name}**
  136. Attacks: **{move_1}** / **{move_2}**
  137. Gym-foto: {gym_pic1}
  138. """,
  139. 'color': 'BLUE', # RED/AQUA/GREEN/BLUE/GOLD/ORANGE/RED/GREY/NAVY
  140. 'webhook_url': 'https://discordapp.com/api/webhooks/390505919374426122/P26c6zSi22hI05hguiu-rj_ws954RxqP4ewXurS4D6nVT5Knmtgdn_7WDZIgSLnoCm9m'
  141. }
  142.  
  143. #TELEGRAM_RAIDS_CHAT_ID = '@your_channel'
  144.  
  145. #WEBHOOKS = {'http://127.0.0.1:4000'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement