diff --git a/discordbot.py b/discordbot.py index a3545c2d..a8fdf66f 100644 --- a/discordbot.py +++ b/discordbot.py @@ -505,6 +505,7 @@ async def cmd_register(channel: discord.Channel, author: discord.Member, params: @command +@requires_voice_client async def cmd_forceplay(channel: discord.Channel, author: discord.Member, params: typing.List[str]): if voice_player is not None: voice_player.stop() diff --git a/templates/main.html b/templates/main.html index 0016a29a..09ad5a11 100644 --- a/templates/main.html +++ b/templates/main.html @@ -46,6 +46,8 @@