DEV Community

Cover image for Persistent Data w/JSON [Live Coding Recap]
πŸ’Ύ bun9000
πŸ’Ύ bun9000

Posted on • Updated 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
 
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