Skip to content

Commit

Permalink
Merge pull request #54 from coldshouldermedia/add_requirements
Browse files Browse the repository at this point in the history
Add requirements
  • Loading branch information
clockwinder authored Sep 7, 2024
2 parents 3e0abc4 + 4a7958d commit 58ff6a4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 10 deletions.
25 changes: 15 additions & 10 deletions rainwavebot.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
8 changes: 8 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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?

0 comments on commit 58ff6a4

Please sign in to comment.