From 604b5a3bcd58f1fa109182e2589888fa3b91cbbd Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sat, 4 Dec 2021 05:06:12 -0500 Subject: [PATCH] Updated README Removed extra comments from bot.py Removed unused dependancies from main.py --- README.md | 8 +++++++- bot.py | 17 ----------------- main.py | 2 -- 3 files changed, 7 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 63820cb..5f10b73 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/bot.py b/bot.py index 0fbbaf4..7383c8b 100644 --- a/bot.py +++ b/bot.py @@ -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): diff --git a/main.py b/main.py index 8dc9f76..699c1e1 100644 --- a/main.py +++ b/main.py @@ -1,6 +1,4 @@ import configparser -import signal -import sys import os import time import bot