1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 21:44:21 +00:00

Remove !m

This commit is contained in:
Steffo 2018-11-26 14:20:10 +00:00
parent ea59a37826
commit 58430bc3ad

View file

@ -325,8 +325,7 @@ class RoyalDiscordBot(discord.Client):
"!yes": self.null, "!yes": self.null,
"!no": self.null, "!no": self.null,
"!pause": self.cmd_pause, "!pause": self.cmd_pause,
"!resume": self.cmd_resume, "!resume": self.cmd_resume
"!m": self.cmd_m
} }
self.video_queue: typing.List[Video] = [] self.video_queue: typing.List[Video] = []
self.now_playing = None self.now_playing = None
@ -783,26 +782,6 @@ class RoyalDiscordBot(discord.Client):
await channel.send(f"✅ Video aggiunto alla coda.") await channel.send(f"✅ Video aggiunto alla coda.")
logger.debug(f"Added ytsearch:{search} to the queue as YouTube search.") logger.debug(f"Added ytsearch:{search} to the queue as YouTube search.")
@command
async def cmd_m(self, channel, author, params):
await self.add_video_from_file("./opusfiles/m/1.opus")
await self.add_video_from_file("./opusfiles/m/2.opus")
await self.add_video_from_file("./opusfiles/m/3.opus")
await self.add_video_from_file("./opusfiles/m/4.opus")
await self.add_video_from_file("./opusfiles/m/5.opus")
await self.add_video_from_file("./opusfiles/m/6.opus")
await self.add_video_from_file("./opusfiles/m/7.opus")
await self.add_video_from_file("./opusfiles/m/8.opus")
await self.add_video_from_file("./opusfiles/m/9.opus")
await self.add_video_from_file("./opusfiles/m/a.opus")
await self.add_video_from_file("./opusfiles/m/b.opus")
await self.add_video_from_file("./opusfiles/m/c.opus")
await self.add_video_from_file("./opusfiles/m/d.opus")
await self.add_video_from_file("./opusfiles/m/e.opus")
await self.add_video_from_file("./opusfiles/m/f.opus")
await self.add_video_from_file("./opusfiles/m/g.opus")
await channel.send(f"?")
@command @command
@requires_connected_voice_client @requires_connected_voice_client
async def cmd_skip(self, channel: discord.TextChannel, author: discord.Member, params: typing.List[str]): async def cmd_skip(self, channel: discord.TextChannel, author: discord.Member, params: typing.List[str]):