Skip to content

Instantly share code, notes, and snippets.

View kalinochkind's full-sized avatar

Denis Kalinochkin kalinochkind

View GitHub Profile
@kalinochkind
kalinochkind / main.py
Created September 26, 2023 15:53
Discord gpt bot
#!/usr/bin/env python3
import discord
import sqlite3
import datetime
import openai
import os
import tiktoken
openai.api_type = "azure"
@kalinochkind
kalinochkind / main.py
Created August 19, 2021 22:41
Captcha bot
from flask import Flask, escape, request
from werkzeug.contrib.fixers import ProxyFix
from PIL import Image, ImageDraw, ImageFont, ImageChops
import numpy as np
import io
import cairosvg
app = Flask(__name__)