From 58430bc3adff1589b56519e70076e5d46f491a20 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 26 Nov 2018 14:20:10 +0000 Subject: [PATCH] Remove !m --- discordbot.py | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/discordbot.py b/discordbot.py index 98dfa9ce..8abd0108 100644 --- a/discordbot.py +++ b/discordbot.py @@ -325,8 +325,7 @@ class RoyalDiscordBot(discord.Client): "!yes": self.null, "!no": self.null, "!pause": self.cmd_pause, - "!resume": self.cmd_resume, - "!m": self.cmd_m + "!resume": self.cmd_resume } self.video_queue: typing.List[Video] = [] self.now_playing = None @@ -783,26 +782,6 @@ class RoyalDiscordBot(discord.Client): await channel.send(f"✅ Video aggiunto alla coda.") 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 @requires_connected_voice_client async def cmd_skip(self, channel: discord.TextChannel, author: discord.Member, params: typing.List[str]):