diff --git a/rainwavebot.py b/rainwavebot.py index 64c2c74..f91294f 100644 --- a/rainwavebot.py +++ b/rainwavebot.py @@ -1,20 +1,25 @@ -import discord -import time -import asyncio -import random -import os -import traceback +#Built in libraries +import time #Built in +import asyncio #Built in +import random #Built in +import os #Built in +import traceback #Built in +#import logging #Built in +from datetime import datetime, timedelta, timezone #Built in + +#Libraries to install import aiocron -#import logging +import discord from discord.ext import commands from discord.ext import tasks -from datetime import datetime, timedelta, timezone +import nacl #This import is not required, but provides `requirements.txt` clarity, and use of `pipreqs`. +from rainwaveclient import RainwaveClient #Command to upgrade the rainwaveclient api: pip install -U python-rainwave-client + +#Local imports from config.config import botChannels from config.config import private from config.config import dependencies from config.config import options -from rainwaveclient import RainwaveClient -#Command to upgrade the rainwaveclient api: pip install -U python-rainwave-client MINIMUM_REFRESH_DELAY = 6 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..005ae42 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,8 @@ +#A list of dependencies for rainwavebot.py + +#The first three were found using `pipreqs`, is that a good choice? It did miss PyNaCl. +aiocron==1.8 +discord.py==2.4.0 +python_rainwave_client==2024.2 +PyNaCl==1.5.0 #I got this by using `pip show pynacl`. If I hadn't known what would I do? +#Maybe more? \ No newline at end of file