Added Radio BOB
This commit is contained in:
@@ -996,6 +996,28 @@ async def list_command(ctx: commands.Context):
|
||||
async with state.lock:
|
||||
await ctx.send(build_list_output(ctx.guild))
|
||||
|
||||
RADIO_BOB_URL = "https://streams.radiobob.de/bob-national/mp3-192/streams.radiobob.de/"
|
||||
|
||||
@commands.guild_only()
|
||||
@bot.command(name="bob")
|
||||
async def bob_command(ctx: commands.Context):
|
||||
state = get_state(ctx.guild.id)
|
||||
|
||||
logging.info("!bob von %s in Guild %s", ctx.author, ctx.guild.id)
|
||||
|
||||
async with state.lock:
|
||||
await ensure_connected_or_same_channel(ctx)
|
||||
|
||||
await stop_playback(
|
||||
ctx.guild,
|
||||
clear_queue=True,
|
||||
disconnect=False,
|
||||
reset_mode=True,
|
||||
)
|
||||
|
||||
await play_radio(ctx.guild, RADIO_BOB_URL)
|
||||
await ctx.send("📻 Radio BOB gestartet.")
|
||||
|
||||
@commands.guild_only()
|
||||
@bot.command(name="helpme")
|
||||
async def helpme_command(ctx: commands.Context):
|
||||
@@ -1005,6 +1027,7 @@ async def helpme_command(ctx: commands.Context):
|
||||
"**Verfügbare Befehle:**\n"
|
||||
"`!call` – Bot in deinen Voice-Channel holen\n"
|
||||
"`!radio <url>` – Radio-Stream starten\n"
|
||||
"`!bob - Spiel Radio Bob Live Nation ab \n"
|
||||
"`!yt <url>` – YouTube-Link sofort starten oder in Queue einreihen\n"
|
||||
"`!https://...` – YouTube-Link direkt ohne !yt einreihen\n"
|
||||
"`!play` – fortsetzen / nächsten Track starten\n"
|
||||
|
||||
Reference in New Issue
Block a user