File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 55from . import config
66
77http = httpx .Client ()
8- if config .get_available_webhook () != "" : webhook = easy_discord_webhooks .Webhook (config .get_available_webhook ())
9- if config .get_updates_webhook () != "" : updates_webhook = easy_discord_webhooks .Webhook (config .get_updates_webhook ())
8+ try :
9+ if config .get_available_webhook () != "" : webhook = easy_discord_webhooks .Webhook (config .get_available_webhook ())
10+ except Exception as e :
11+ print (e )
12+ webhook = ""
13+ try :
14+ if config .get_updates_webhook () != "" : updates_webhook = easy_discord_webhooks .Webhook (config .get_updates_webhook ())
15+ except Exception as e :
16+ print (e )
17+ updates_webhook = ""
1018if config .get_archives_webhook () != "" : lists_webhooks = config .get_archives_webhook ()
1119
1220def send_available (name ):
You can’t perform that action at this time.
0 commit comments