Updated README
Removed extra comments from bot.py Removed unused dependancies from main.py
This commit is contained in:
@@ -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
17
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):
|
||||
|
||||
Reference in New Issue
Block a user