Converted r/showerhoughts to csh/Wikithoughts#22
Merged
Conversation
Removed the showerthoughts endpoint and updated the wikithought endpoint documentation.
| f"Happening in {event.location}!" | ||
| if event.location | ||
| else "Happening Now!" | ||
| else "Happpening Now!" |
| ) | ||
| elif not date_time.tzinfo: | ||
| date_time = date_time.replace(tzinfo=ZoneInfo(CALENDAR_TIMEZONE)) | ||
| date_time = date_time.astimezone(tzinfo=ZoneInfo(CALENDAR_TIMEZONE)) |
Refactor date_time initialization logic in the constructor and fix typo in 'Happening Now!' string.
| global bot_authenticated | ||
|
|
||
| bot_authenticated = True | ||
| logger.info("Bot was authenticated succesfully!") |
|
|
||
| async def refresh_page_dictionary() -> None: | ||
| """ | ||
| Fetches the pages based off the cace of page titles, and updates the page cache accordingly |
NikolaiStrong
approved these changes
Mar 18, 2026
Collaborator
NikolaiStrong
left a comment
There was a problem hiding this comment.
Fixed a few typos, I know it works locally as well, also removed a redundant check for the calendar init.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.