initial commit

This commit is contained in:
Tyler Perkins 2022-10-27 12:00:48 -04:00
commit 4bab164a83
4 changed files with 43 additions and 0 deletions

24
README.md Normal file
View File

@ -0,0 +1,24 @@
Memerr
======
A discord bot to manage you and your friend's meme collection
Enviroment vars
------
* DISCORD_TOKEN
* Discord bot auth token
* S3_URL
* S3 Endpoint URL, include port if needed
* S3_UN
* S3 Username
* S3_PW
* S3 Password
* S3_TLS
* Does the S3 endpoint use TLS/HTTPS?
* Either 'True' or 'False'
* Defaults to True
* S3_BUCKET
* The bucket to put memes into

19
main.py Normal file
View File

@ -0,0 +1,19 @@
#!/usr/bin/python3
import discord
import requests
import os, random
from fuzzywuzzy import fuzz, process
from minio import Minio
from minio.error import S3Error
#globals for discord
token = os.environ['DISCORD_TOKEN']
client = discord.Client()
client.run(token)

0
memes.py Normal file
View File

0
plex.py Normal file
View File