mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Audio] Add [p]sing (#2067)
* port [p]sing * [p]sing in alphabetical order what even is an alphabet
This commit is contained in:
parent
e77cfff892
commit
e83beeef34
@ -5,6 +5,7 @@ import discord
|
||||
import heapq
|
||||
import lavalink
|
||||
import math
|
||||
import random
|
||||
import re
|
||||
import time
|
||||
import redbot.core
|
||||
@ -1462,6 +1463,21 @@ class Audio:
|
||||
)
|
||||
await self._embed_msg(ctx, "Shuffle songs: {}.".format(shuffle))
|
||||
|
||||
@commands.command()
|
||||
@commands.guild_only()
|
||||
async def sing(self, ctx):
|
||||
"""Makes Red sing one of her songs"""
|
||||
ids = (
|
||||
"zGTkAVsrfg8",
|
||||
"cGMWL8cOeAU",
|
||||
"vFrjMq4aL-g",
|
||||
"WROI5WYBU_A",
|
||||
"41tIUr_ex3g",
|
||||
"f9O2Rjn1azc",
|
||||
)
|
||||
url = f"https://www.youtube.com/watch?v={random.choice(ids)}"
|
||||
await ctx.invoke(self.play, query=url)
|
||||
|
||||
@commands.command(aliases=["forceskip", "fs"])
|
||||
@commands.guild_only()
|
||||
async def skip(self, ctx):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user