commit 4bab164a8372f06bbfb33fd6b085c54cce82fc93 Author: Tyler Perkins Date: Thu Oct 27 12:00:48 2022 -0400 initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..cd2406d --- /dev/null +++ b/README.md @@ -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 diff --git a/main.py b/main.py new file mode 100644 index 0000000..c05304c --- /dev/null +++ b/main.py @@ -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) + diff --git a/memes.py b/memes.py new file mode 100644 index 0000000..e69de29 diff --git a/plex.py b/plex.py new file mode 100644 index 0000000..e69de29