Beispiel #1
0
def notifications_job_logistics():
    esi_notification_task(
        notifications,
        api_queue_logistics,
        'discord',
        my_discord_channels
    )
Beispiel #2
0
def notifications_job_logistics():
    esi_notification_task(
        eve_apis['logistics-team']['notifications'],
        api_queue_logistics,
        'discord',
        my_discord_channels
    )
Beispiel #3
0
def notifications_job_fc():
    esi_notification_task(
        eve_apis['fc-team']['notifications'],
        api_queue_fc,
        'slack',
        my_slack_channels
    )
Beispiel #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))
Beispiel #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))
Beispiel #6
0
def notifications_job_logistics():
    esi_notification_task(eve_apis['logistics-team']['notifications'],
                          api_queue_logistics, notifiers)