Skip to content

Instantly share code, notes, and snippets.

View Gaming32's full-sized avatar

Josiah Glosson Gaming32

  • Wisconsin, USA
  • 06:32 (UTC -05:00)
View GitHub Profile
@Gaming32
Gaming32 / requirements.txt
Created April 21, 2020 23:47
Text wrecker
googletrans
tqdm
@Gaming32
Gaming32 / json_serialize.py
Last active January 10, 2020 21:52
Serializes objects to json THIS HAS BEEN MOVED TO: https://github.com/gaming32/JSON-Serialize
import sys
import json, uuid
MODE_YES = 'yes'
MODE_NO = 'no'
MODE_FALLBACK = 'fallback'
MODE_REPR = 'repr'
MODE_FUNCTION = 'function'
_MODE_IID = 'iid'
class FALLBACK: pass
@Gaming32
Gaming32 / joke_bot.py
Last active July 30, 2020 17:22
Twitch chatbot that tells jokes
"""
The JokeBot is licensed under the MIT License (https://opensource.org/licenses/MIT)
The following are the JokeBot's commands:
"!joke" tells a joke
"!jokes get" tells a joke
"!jokes get new" gets a new joke from icanhazdadjoke
"!jokes add <main>|<punchline>" adds a joke to the list
"!jokes delete <id>" deletes the joke with the specified ID
"!jokes tell <id>" tells the joke with the specified id