~/talk

"Python + Discord = Great Bots!"

Talkat PyOhio 2024 · 2024-07-27..07-28· [python]
slides:none on file

Builds a dice-rolling Discord bot using the Pycord library and Discord slash commands, reading the bot token from environment variables, using async handlers with context.respond and await. It rolls any number of dice with any-sided dN support, offers ephemeral messages (whisper) and optional direct-message delivery, and runs locally or on hosts like Fly.io. Deployment notes include the 100-server app verification cutoff and sharding for thousands (use AutoShardedBot); sample code runs and demonstrates all features.

AI-written summary · about

  1. 0:00Intro
  2. 1:02Alexs Background
  3. 3:44Agenda
  4. 4:57Tools Needed
  5. 6:22Dice
  6. 8:42Intents Scopes
  7. 10:13Discord History
  8. 13:01What We Want
  9. 13:59Sneak Peek
  10. 15:27Getting Started
  11. 16:34User Input
  12. 17:08Command Options
  13. 19:51Output
  14. 21:06Whisper
  15. 22:32User Whisper
  16. 23:04Direct Messages
  17. 23:39Code
  18. 25:45Installation
  19. 26:52Deployment
  20. 27:58Publish
  21. 28:33App Verification
  22. 29:30Privileged Intents
  23. 30:15Sharding
  24. 31:21Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.