Updated README

Removed extra comments from bot.py
Removed unused dependancies from main.py
This commit is contained in:
Logan Cusano
2021-12-04 05:06:12 -05:00
parent 02be475894
commit 604b5a3bcd
3 changed files with 7 additions and 20 deletions

View File

@@ -1,2 +1,8 @@
# Discord-Radio-Bot
Init
This project is intended to allow users in discord to be able to listen to their favorite radio stations, *music or other ;)*, while talking to their friends.
###To-Do
- Move cogs to their own files
- Interact with soapysdr directly from the bot
- Allow chat interaction with soapysdr
- Transcode radio transmissions to text

17
bot.py
View File

@@ -4,23 +4,6 @@ import asyncio
import datetime
from discord.ext import commands
from discord.ext.tasks import loop
# For Alex's use
#async def bg_timer():
# await bot.wait_until_ready()
# channel = bot.get_channel(id=757379843792044102)
# while not bot.is_closed():
# guild = channel.guild
# role_id = discord.utils.get(guild.roles, name='Superadmins').id
# willie_time = ("04:20:00", "00:16:00")
# print(guild.roles)
# time_now = datetime.datetime.now()
# time_now_str = f"{time_now.strftime('%H:%M')}:00"
# print(role_id)
# if 1: #time_now_str in willie_time:
# await channel.send(f"<@{role_id}> hello")
# print("yes")
#
# await asyncio.sleep(30)
class WillieTimer(commands.Cog):

View File

@@ -1,6 +1,4 @@
import configparser
import signal
import sys
import os
import time
import bot