Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #######################################################
- ## NOTIFY POKEMON
- ##
- ## If some values are left out,
- ## Monocle uses the values of DEFAULT_ALARM
- ##
- ## So either set all values or delete the '#' signs
- ## infront of the DEFAULT_ALARM lines
- #######################################################
- # copyright safe icons:
- ICONS_URL = "https://raw.githubusercontent.com/M4d40/my-po-icons/master/Copyrightfree-Assets/{}.png"
- GMAP_ICONS_URL = "https://raw.githubusercontent.com/M4d40/my-po-icons/master/Copyrightfree-Assets-32x32/{}.png"
- GMAP_EGG_ICONS_URL = "https://raw.githubusercontent.com/M4d40/my-po-icons/master/Copyrightfree-Assets-32x32/egg_{}.png"
- # non copyright safe icons:
- #ICONS_URL = "https://raw.githubusercontent.com/M4d40/my-po-icons/master/Original-Assets/{}.png"
- #GMAP_ICONS_URL = "https://raw.githubusercontent.com/M4d40/my-po-icons/master/Original-Assets-32x32/{}.png"
- #GMAP_EGG_ICONS_URL = "https://raw.githubusercontent.com/M4d40/my-po-icons/master/Original-Assets-32x32/egg_{}.png"
- #DEFAULT_ALARM = {
- # 'username': '{poke_name}',
- # 'title': 'A wild {poke_name} {poke_iv}% (lvl {poke_lvl} | {poke_cp}WP) ({poke_atk}/{poke_def}/{poke_sta}) appeared',
- # 'description': """Until {disappear_time} ({time_left} left)
- #IV: {poke_iv}% ({poke_atk}/{poke_def}/{poke_sta})
- #CP: {poke_cp} | Level: {poke_lvl}
- #Attacks: {poke_move_1} / {poke_move_2}
- #Gender: {poke_gender} | Weight: {poke_weight} kg | Height: {poke_height} m""",
- # 'color': 'BLUE', # RED/AQUA/GREEN/BLUE/GOLD/ORANGE/RED/GREY/NAVY
- # 'avatar_url': ICONS_URL,
- # 'icon_url': ICONS_URL
- #}
- NOTIFY_POKEMON_ALARMS = {
- 'discord': [
- # {
- # 'name': 'filter pokemon ids',
- # 'title': 'A wild {poke_name} {poke_iv}% (lvl {poke_lvl} | {poke_cp}WP) ({poke_atk}/{poke_def}/{poke_sta}) appeared',
- # 'description': """Until {disappear_time} ({time_left} left)""",
- # 'filter_ids': [1,2,3,4,5,6,8,9,129,246,247,248],
- # 'webhook_url': 'https://discordapp.com/api/webhooks/385466489156665347/IcSlzK6ImkP8ezocnqGQkg87b3hpjgmkMOpHntUGFar7s8S4OFvi3_QX_Vvm9XTIga7G',
- # 'avatar_url': 'https://raw.githubusercontent.com/ZeChrales/monocle-icons/larger-outlined/larger-icons/{}.png',
- # 'icon_url': 'https://raw.githubusercontent.com/ZeChrales/monocle-icons/larger-outlined/larger-icons/{}.png',
- # },
- {
- 'name': 'filter pokemon ivs',
- 'username': 'iv-90-bot',
- 'filter_ivs': {'value': 10, 'op': '>=', 'ignore_unknown': True},
- 'webhook_url': 'https://discordapp.com/api/webhooks/385466489156665347/IcSlzK6ImkP8ezocnqGQkg87b3hpjgmkMOpHntUGFar7s8S4OFvi3_QX_Vvm9XTIga7G',
- },
- # {
- # 'name': 'combined filter ivs and ids',
- # 'username': 'iv-95-bot',
- # 'filter_ids': [1,2,3,4,5,6,8,9,246,247,248],
- # 'filter_ivs': {'value': 95, 'op': '>=', 'ignore_unknown': True},
- # 'webhook_url': 'https://discordapp.com/api/webhooks/385466489156665347/IcSlzK6ImkP8ezocnqGQkg87b3hpjgmkMOpHntUGFar7s8S4OFvi3_QX_Vvm9XTIga7G',
- # 'color': 'RED',
- # }
- ]
- }
- # Override the rarity score for particular Pokémon
- # format is: {pokemon_id: rarity_score}
- #RARITY_OVERRIDE = {148: 0.6, 149: 0.9}
- # Ignore IV score and only base decision on rarity score (default if IVs not known)
- #IGNORE_IVS = False
- # Ignore rarity score and only base decision on IV score
- #IGNORE_RARITY = False
- # The Pokémon score required to notify goes on a sliding scale from INITIAL_SCORE
- # to MINIMUM_SCORE over the course of FULL_TIME seconds following a notification
- # Pokémon scores are an average of the Pokémon's rarity score and IV score (from 0 to 1)
- # If NOTIFY_RANKING is 90, the 90th most common Pokémon will have a rarity of score 0, the rarest will be 1.
- # IV score is the IV sum divided by 45 (perfect IVs).
- FULL_TIME = 1800 # the number of seconds after a notification when only MINIMUM_SCORE will be required
- INITIAL_SCORE = 0.7 # the required score immediately after a notification
- MINIMUM_SCORE = 0.4 # the required score after FULL_TIME seconds have passed
- ### The following values are fake, replace them with your own keys to enable
- ### notifications, otherwise exclude them from your config
- ### You must provide keys for at least one service to use notifications.
- #PB_API_KEY = 'o.9187cb7d5b857c97bfcaa8d63eaa8494'
- #PB_CHANNEL = 0 # set to the integer of your channel, or to None to push privately
- #TWITTER_CONSUMER_KEY = '53d997264eb7f6452b7bf101d'
- #TWITTER_CONSUMER_SECRET = '64b9ebf618829a51f8c0535b56cebc808eb3e80d3d18bf9e00'
- #TWITTER_ACCESS_KEY = '1dfb143d4f29-6b007a5917df2b23d0f6db951c4227cdf768b'
- #TWITTER_ACCESS_SECRET = 'e743ed1353b6e9a45589f061f7d08374db32229ec4a61'
- ## Telegram bot token is the one Botfather sends to you after completing bot creation.
- ## Chat ID can be two different values:
- ## 1) '@channel_name' for channels
- ## 2) Your chat_id if you will use your own account. To retrieve your ID, write to your bot and check this URL:
- ## https://api.telegram.org/bot<BOT_TOKEN_HERE>/getUpdates
- ##
- ## TELEGRAM_MESSAGE_TYPE can be 0 or 1:
- ## => 0 you'll receive notifications as venue (as you already seen before in Monocle)
- ## => 1 you'll receive notifications as text message with GMaps link
- #TELEGRAM_BOT_TOKEN = '123456789:AA12345qT6QDd12345RekXSQeoZBXVt-AAA'
- #TELEGRAM_CHAT_ID = '@your_channel'
- #TELEGRAM_MESSAGE_TYPE = 0
- ### The following raid notification related configs
- ### only apply to Monkey's version of raids notification (no webhook support, only Telegram and Discord)
- ### For webhook raids notification, see below for NOTIFY_RAIDS_WEBHOOK
- ###
- NOTIFY_RAIDS = True # Enable raid notifications. Default False
- RAIDS_LVL_MIN = 3
- #RAIDS_IDS = {143, 248}
- DEFAULT_EGG_ALARM = {
- 'username': 'Egg Bot',
- 'title': 'A Level {level} Egg appeared',
- 'description': """
- It hatches at {time_battle}
- Raid ends at: {raid_end}
- """,
- 'color': 'GREY', # RED/AQUA/GREEN/BLUE/GOLD/ORANGE/RED/GREY/NAVY
- 'webhook_url': 'https://discordapp.com/api/webhooks/390505919374426122/P26c6zSi22hI05hguiu-rj_ws954RxqP4ewXurS4D6nVT5Knmtgdn_7WDZIgSLnoCm9m'
- }
- DEFAULT_RAID_ALARM = {
- 'username': 'Raid Bot',
- 'title': 'een {poke_name} Raid (Level {level}) is uitgekomen',
- 'description': """
- Gym: {gym_name}
- Until: {raid_end}
- controlled bij: **Team {team}**
- Pokemon: **{poke_name}**
- Attacks: **{move_1}** / **{move_2}**
- Gym-foto: {gym_pic1}
- """,
- 'color': 'BLUE', # RED/AQUA/GREEN/BLUE/GOLD/ORANGE/RED/GREY/NAVY
- 'webhook_url': 'https://discordapp.com/api/webhooks/390505919374426122/P26c6zSi22hI05hguiu-rj_ws954RxqP4ewXurS4D6nVT5Knmtgdn_7WDZIgSLnoCm9m'
- }
- #TELEGRAM_RAIDS_CHAT_ID = '@your_channel'
- #WEBHOOKS = {'http://127.0.0.1:4000'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement