DEV Community

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

Posted on β€’ Edited on

3 3

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

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

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

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay