DEV Community

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

Persistent Data w/JSON [Live Coding Recap]

ninjabunny9000 profile image πŸ’Ύ ・Updated on ・1 min read

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
βœ” 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


Editor guide
alvincrespo profile image
Alvin Crespo

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

ninjabunny9000 profile image
πŸ’Ύ Author

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