DEV Community

Cover image for Persistent Data w/JSON [Live Coding Recap]
💾 bun9000
💾 bun9000

Posted on • Edited on

Persistent Data w/JSON [Live Coding Recap]

Streamed: 10/22 on Twitch

Topic(s): We created a persistent data system for the Twitch Bot
Language: Python, JSON
Tech & libs used: VSCode, TwitchIO

StarProject Repository
💜 Follow ⇒ on Twitch and GitHub
🔴 WatchTwitch VOD (replay)

During the stream we...

✔ showed off some new features and went over updates to the repo
✔ identify where we already have hardcoded infos
✔ got distracted by a bug with the tts system
✔ took a break and ate sum noms
✔ FEEXED THE BUG
✔ created a json settings file for persistent data
✔ answered some viewer's question
✔ setup a config obj and interfaced w/it
✔ made tts, sfx, and shoutouts enable/disable settings persistent
✔ moved the FAQ to json & generated commands from it
✔ tried to get it writing the commands... but THINGS BROKE
✔ prime raided - 1337H4X
✔ fixed the thing! FAQ's are writing to JSON now! yay
✔ broke another thing - will tackle next stream

Top comments (2)

Collapse
 
alvincrespo profile image
Alvin Crespo

This just popped up in my feed and I love this concept! Gonna watch the video laterz.

Collapse
 
ninjabunny9000 profile image
💾 bun9000

awesome, lemme know what you think! i'm posting another article tomorrow for tonight stream recap that'll have some code examples in it too. we used json to store persistent data for a quote system. :D