Skip to content

Commit

Permalink
Merge pull request #2 from reinhrst/sanitize-yaml
Browse files Browse the repository at this point in the history
make sure all yaml uses json.dumps
  • Loading branch information
DoomHammer authored Oct 31, 2023
2 parents 9172974 + 70c0ff0 commit 6338dfe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ async def on_ready():
- html
- calendar
discord_event:
id: {event.id}
link: {event.url}
interested: {event.user_count}
organizer: {event.creator}
location: {event.location}
featureImage: {event.cover_image}
id: {json.dumps(event.id)}
link: {json.dumps(event.url)}
interested: {json.dumps(event.user_count)}
organizer: {json.dumps(event.creator)}
location: {json.dumps(event.location)}
featureImage: {json.dumps(event.cover_image)}
eventInfo:
dates:
extra:
Expand Down

0 comments on commit 6338dfe

Please sign in to comment.