Skip to content

Conversation

@Arisamiga
Copy link
Member

@Arisamiga Arisamiga commented Nov 1, 2025

This pull request introduces the Timetable command, which connects to the service at https://timetable.redbrick.dcu.ie/. This feature allows users to access information about all courses, modules, locations, clubs, and societies through the blockbot. It also provides users with a link to connect their calendar and an option to download the ICS file.

Closes #69

@Arisamiga Arisamiga self-assigned this Nov 1, 2025
@Arisamiga Arisamiga added the enhancement New feature or request label Nov 1, 2025
@Arisamiga Arisamiga requested review from novanai and wizzdom November 1, 2025 15:47
Copy link
Contributor

@novanai novanai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quite a few changes needed unfortunately sorry! I can handle the miru-based stuff as there is a specific (and somewhat complex) way for this to be done nicely.

):
if resp.status == 200:
matching_fields = await resp.json()
except aiohttp.ClientError:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Errors like this should be handled in a global or command-based error handler

Arisamiga and others added 4 commits January 7, 2026 15:30
+ Fixed to proper Plugin Name
+ Improved description for plugin
+ Changed multi-line comments to single-line
+ Improved error and status code handling for command (Prevents double sending of results)
+ Used global client session through DI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add timetable command

3 participants