News: Commit ALL changed files
This commit is contained in:
parent
00c6b36344
commit
b0c52d79d8
2 changed files with 5 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
TEMPLATES = {
|
||||
'roles.json' : '{"secret_roles": {}}',
|
||||
'messages.json' : '{}',
|
||||
'news.json' : '{}',
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import feedparser
|
||||
from typing import List, Tuple, Optional
|
||||
from datetime import datetime
|
||||
import requests
|
||||
|
@ -33,3 +34,6 @@ def active_deadlines() -> List[Tuple[str, datetime]]:
|
|||
break
|
||||
|
||||
return deadlines
|
||||
|
||||
async def ksp_feed() -> feedparser.util.FeedParserDict:
|
||||
return feedparser.parse(f"{KSP_URL}/ksp.feed")
|
||||
|
|
Loading…
Reference in a new issue