DEV Community

Cover image for Persistent Data w/JSON [Live Coding Recap]
Krys Heishman (aka bun9000)
Krys Heishman (aka 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

⭐ Star ⇒ Project Repository
šŸ’œ Follow ⇒ on Twitch and GitHub
šŸ”“ Watch ⇒ Twitch 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
 
bun9000 profile image
Krys Heishman (aka 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