diff --git a/docs/changelog_3_1_0.rst b/docs/changelog_3_1_0.rst index 773260f23..2659888da 100644 --- a/docs/changelog_3_1_0.rst +++ b/docs/changelog_3_1_0.rst @@ -69,6 +69,7 @@ Mod * Admins can now decide how many times message has to be repeated before ``deleterepeats`` removes it (`#2437`_) * Fix: make ``[p]ban [days]`` optional as per the doc (`#2602`_) + * Added the command ``voicekick`` to kick members from a voice channel with optional mod case. (`#2639`_) ------------- Setup Scripts @@ -146,3 +147,4 @@ Utility Functions .. _#2605: https://github.com/Cog-Creators/Red-DiscordBot/pull/2605 .. _#2606: https://github.com/Cog-Creators/Red-DiscordBot/pull/2606 .. _#2620: https://github.com/Cog-Creators/Red-DiscordBot/pull/2620 +.. _#2639: https://github.com/Cog-Creators/Red-DiscordBot/pull/2639 diff --git a/redbot/cogs/mod/abc.py b/redbot/cogs/mod/abc.py index 2dc233783..9f00dffea 100644 --- a/redbot/cogs/mod/abc.py +++ b/redbot/cogs/mod/abc.py @@ -1,8 +1,8 @@ from abc import ABC, abstractmethod -from typing import List, Tuple +from typing import List, Tuple, Optional import discord -from redbot.core import Config +from redbot.core import Config, commands from redbot.core.bot import Red