Skip to content

Instantly share code, notes, and snippets.

View NexInfinite's full-sized avatar
🍉
Watermoleon

Julian Jones NexInfinite

🍉
Watermoleon
View GitHub Profile
import logging
import socket
class IRC:
irc = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
def __init__(self, server, port, nick, channel, auth):
self.server = server
self.port = port
self.nick = nick
import os
import sqlite3
from No3rdPartLibTwitchBot import IRC
from configno3rdparty import *
from SQLiteCommands import *
import shlex
import re
AUTH = oauthconfig
import sqlite3
from NewCommandLib import *
from ChatBotCommands import *
from No3rdPartLibCode import *
conn = sqlite3.connect('newcommand.db')
c = conn.cursor()
c.execute("""CREATE TABLE IF NOT EXISTS newcommand(
from config import *
import asyncio
from asynctwitch import *
class TwitchBot(CommandBot):
async def _join(self, channel):
await super()._join(channel),
await say('Im here now, ok? Streamer, are you ok with that?')
await bot._send_privmsg('nex_infinite', '/color SpringGreen')