From f06d324de20bd2e91308381ea911b5c32e435133 Mon Sep 17 00:00:00 2001 From: Ev-1 <33662061+Ev-1@users.noreply.github.com> Date: Sun, 29 May 2022 14:42:24 +0200 Subject: [PATCH] Add help for forcedisconnect --- localization/en_en/commands.yaml | 3 +++ musicbot/cogs/helpformatter/helpformatter.py | 1 + requirements.txt | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/localization/en_en/commands.yaml b/localization/en_en/commands.yaml index 03341f4..8d7db3b 100644 --- a/localization/en_en/commands.yaml +++ b/localization/en_en/commands.yaml @@ -91,6 +91,9 @@ scrub: reconnect: aliases: [rc] description: 'disconnects then reconnects the bot in case of bugged songs' +forcedisconnect: + aliases: [fd] + description: 'Forces the bot to disconnect' forceplay: aliases: [forceplay, fp] args: '' # This is just a cosmetic representation of the arguments. diff --git a/musicbot/cogs/helpformatter/helpformatter.py b/musicbot/cogs/helpformatter/helpformatter.py index 62ec5b0..81f28b8 100644 --- a/musicbot/cogs/helpformatter/helpformatter.py +++ b/musicbot/cogs/helpformatter/helpformatter.py @@ -3,6 +3,7 @@ from discord.ext import commands import re +# Bot Utilities from ...utils.userinteraction import HelpPaginator usermention = r"<@!?\d{17,19}>" diff --git a/requirements.txt b/requirements.txt index f9ef2f5..4427145 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ discord.py == 1.7.* -lavalink +lavalink = 3.*.* asyncio pyyaml BeautifulSoup4