mirror of https://github.com/stijndcl/didier
Start working on ufora notifications, add new course id's to FAQ
parent
c374fce3f3
commit
ade7f8b72e
|
@ -14,6 +14,7 @@ botIDs = [
|
|||
"728361496874057812"
|
||||
]
|
||||
BugReports = "762668401960812554"
|
||||
BotTesting = "679701786189103106"
|
||||
CallOfCode = "626699611192688641"
|
||||
CoCGeneral = "626699611813314561"
|
||||
DeZandbak = "728361030404538488"
|
||||
|
@ -53,7 +54,12 @@ faq_channels = {
|
|||
727876797458284584: "funcprog",
|
||||
727876819264733244: "statprob",
|
||||
727876836587208714: "sysprog",
|
||||
676713433567199232: "didier"
|
||||
676713433567199232: "didier",
|
||||
807566495550013460: "comparch",
|
||||
807567007355895838: "multimedia",
|
||||
807567261216538644: "sel1",
|
||||
807567345484169237: "webdev",
|
||||
807567387775336499: "wetrek"
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
from discord import embeds
|
||||
|
||||
|
||||
class UforaNotification:
|
||||
pass
|
|
@ -1 +1,20 @@
|
|||
import feedparser
|
||||
import feedparser
|
||||
from data.constants import BotTesting
|
||||
|
||||
|
||||
# TODO when it works, move to announcements channel
|
||||
notifications_channel = BotTesting
|
||||
|
||||
|
||||
course_urls = {
|
||||
"Algoritmen en Datastructuren 2": "https://ufora.ugent.be/d2l/le/news/rss/222018/course?token=aehhv6utkf46t8cc102e0&ou=222018",
|
||||
"Communicatienetwerken": "https://ufora.ugent.be/d2l/le/news/rss/221184/course?token=aehhv6utkf46t8cc102e0&ou=221184",
|
||||
"Computerarchitectuur": "https://ufora.ugent.be/d2l/le/news/rss/228912/course?token=aehhv6utkf46t8cc102e0&ou=228912",
|
||||
"Functioneel Programmeren": "https://ufora.ugent.be/d2l/le/news/rss/236396/course?token=aehhv6utkf46t8cc102e0&ou=236396",
|
||||
"Multimedia": "https://ufora.ugent.be/d2l/le/news/rss/236949/course?token=aehhv6utkf46t8cc102e0&ou=236949",
|
||||
"Software Engineering Lab 1": "https://ufora.ugent.be/d2l/le/news/rss/235800/course?token=aehhv6utkf46t8cc102e0&ou=235800",
|
||||
"Statistiek en Probabiliteit": "https://ufora.ugent.be/d2l/le/news/rss/236398/course?token=aehhv6utkf46t8cc102e0&ou=236398",
|
||||
"Systeemprogrammeren": "https://ufora.ugent.be/d2l/le/news/rss/222035/course?token=aehhv6utkf46t8cc102e0&ou=222035",
|
||||
"Webdevelopment": "https://ufora.ugent.be/d2l/le/news/rss/223449/course?token=aehhv6utkf46t8cc102e0&ou=223449",
|
||||
"Wetenschappelijk Rekenen": "https://ufora.ugent.be/d2l/le/news/rss/236404/course?token=aehhv6utkf46t8cc102e0&ou=236404"
|
||||
}
|
Loading…
Reference in New Issue