diff --git a/apps/discord-bot/.env.example b/apps/discord-bot/.env.example new file mode 100644 index 00000000..8141df0d --- /dev/null +++ b/apps/discord-bot/.env.example @@ -0,0 +1 @@ +DISCORD_TOKEN= \ No newline at end of file diff --git a/apps/discord-bot/.gitignore b/apps/discord-bot/.gitignore new file mode 100644 index 00000000..fee10802 --- /dev/null +++ b/apps/discord-bot/.gitignore @@ -0,0 +1,2 @@ +.env +/core/apps/discord-bot/.venv* \ No newline at end of file diff --git a/apps/discord-bot/README.md b/apps/discord-bot/README.md index f3f07025..ef042630 100644 --- a/apps/discord-bot/README.md +++ b/apps/discord-bot/README.md @@ -1,7 +1,3 @@ ### Discord Bot - -This is where the discord bot will go. (Hi Stanley!) - -You may delete this read me (or not, i don't care!). - -Please use virtual envs for development... +for venv run source .venv/bin/activate if get error about pip commands not found +(hi alex) \ No newline at end of file diff --git a/apps/discord-bot/main.py b/apps/discord-bot/main.py new file mode 100644 index 00000000..4a83c50a --- /dev/null +++ b/apps/discord-bot/main.py @@ -0,0 +1,8 @@ +import discord +from discord.ext import commands +import logging +from dotenv import load_dotenv +import os + +load_dotenv() +token = os.getenv('DISCORD_TOKEN') diff --git a/apps/discord-bot/requirements.txt b/apps/discord-bot/requirements.txt new file mode 100644 index 00000000..95004ae6 --- /dev/null +++ b/apps/discord-bot/requirements.txt @@ -0,0 +1,2 @@ +discord.py +python-dotenv \ No newline at end of file