Code a Discord bot to roll 3D dice in OBS

Опубликовано: 27 Февраль 2026
на канале: Keith Hannen
4,195
89

In this video, I use Python to code a simple Discord bot that communicates with OBS to roll dice in Discord and in OBS as an overlay.

To grab the source code, visit my GItHub: https://github.com/keithhannen/OBS-Di...

For this project you will need (all free!):
OBS: https://obsproject.com
Python: https://www.python.org
OBS Websocket Plugin: https://obsproject.com/forum/resource...
A code editor like VS Code: https://code.visualstudio.com

======================================================
Check out keithhannen.com for stuff that doesn't make it into the videos. Python code, keyboard stuff, projects I'm working on and more!

Patreon link:   / keithhannen  
=======================================================

Intro/outro music is "Generations Away" by Unicorn Heads (   / @unicornheads  )

Gear I use (I may earn a commission on purchases made using these links):
Blackmagic ATEM Mini Pro https://amzn.to/2U6EzDH
Elgato Streamdeck https://amzn.to/2VHtXLH
Rode Podmic https://amzn.to/3z5yrdo
Sony A6400 https://amzn.to/2VO7Iny
Sigma 16mm f/1.4 https://amzn.to/2UNPBOb
Ploopy Mouse https://www.ploopy.co/mouse
Mechanical keyboard ( AIO Polaris, GMK 8008, Zealio Aquas)