Rocket League¶
Parser Reference¶
-
class
rocketleague.
RLNewsParser
¶ Official Psyonix Rocket League announcements monitor
-
bot
(WumbotClient)¶ Discord bot instance
-
postchannelID
(int)¶ Discord channel ID for patch notes embed
-
logJSONpath
(pathlib.Path)¶ Path to JSON storage file
-
postedRLnews
(List[yarl.URL])¶ List
containing posted news postsPatches are stored as Steam news permalinks, as
yarl.URL
(e.g.[URL('https://steamcommunity.com/games/252950/announcements/detail/1708444560032073223')]
)
-
appID
(int)¶ Steam app ID
-
psyonixstaff
(Tuple)¶ Tuple containing account names of Psyonix employees, as
str
-
classmethod coroutine
patchcheck
()¶ Executes the patch check operations:
- Parse Steam News posts for posts made by an account specified by
RLNewsParser.psyonixstaff
- Build
Models.Steam.SteamNewsPost
objects - Check news URLs against those previously posted
- If new news post(s): Build embed, post to channel, and save the Steam news permalink to the local JSON log
- Parse Steam News posts for posts made by an account specified by
-
-
coroutine
patchchecktimer
(client: WumbotClient, sleepseconds: int=3600)¶ Asynchronous patch checking loop for use with Discord.py’s event loop
rocketleague.RLNewsParser
is called everysleepseconds
Command Reference¶
Commands are prefixed with ~
-
~checkRLpatch
Manually invoke the
rocketleague.RLNewsParser.patchcheck()
coroutineNote
This command is only enabled for the server owner via DM.