예제 #1
0
def notifications_job_logistics():
    esi_notification_task(
        notifications,
        api_queue_logistics,
        'discord',
        my_discord_channels
    )
예제 #2
0
def notifications_job_logistics():
    esi_notification_task(
        eve_apis['logistics-team']['notifications'],
        api_queue_logistics,
        'discord',
        my_discord_channels
    )
예제 #3
0
def notifications_job_fc():
    esi_notification_task(
        eve_apis['fc-team']['notifications'],
        api_queue_fc,
        'slack',
        my_slack_channels
    )
예제 #4
0
def notifications_job_logistics():
    esi_notification_task(
        eve_apis['logistics-team']['notifications'], api_queue_logistics,
        'discord',
        CachingNotifier(SplitterNotifier([
            DiscordNotifier(discord['personal']['token'],
                            discord['personal']['channel_id'])
        ]),
                        duration=3600))
예제 #5
0
def notifications_job_fc():
    esi_notification_task(
        eve_apis['fc-team']['notifications'], api_queue_fc, 'slack',
        CachingNotifier(SplitterNotifier([
            SlackNotifier(slack_apis['example']['api_key'],
                          slack_apis['example']['username'], '#fc', 'online'),
            SlackNotifier(slack_apis['example']['api_key'],
                          slack_apis['example']['username'], '#logistics',
                          'all')
        ]),
                        duration=3600))
예제 #6
0
def notifications_job_logistics():
    esi_notification_task(eve_apis['logistics-team']['notifications'],
                          api_queue_logistics, notifiers)