Fixed missing imports. (#2643)

* Added changelog

* Fixed missing imports.
This commit is contained in:
Kowlin 2019-05-03 16:22:06 +02:00 committed by Michael H
parent 9414de24d4
commit 516ebcfa2b
2 changed files with 4 additions and 2 deletions

View File

@ -69,6 +69,7 @@ Mod
* Admins can now decide how many times message has to be repeated before ``deleterepeats`` removes it (`#2437`_) * 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`_) * 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 Setup Scripts
@ -146,3 +147,4 @@ Utility Functions
.. _#2605: https://github.com/Cog-Creators/Red-DiscordBot/pull/2605 .. _#2605: https://github.com/Cog-Creators/Red-DiscordBot/pull/2605
.. _#2606: https://github.com/Cog-Creators/Red-DiscordBot/pull/2606 .. _#2606: https://github.com/Cog-Creators/Red-DiscordBot/pull/2606
.. _#2620: https://github.com/Cog-Creators/Red-DiscordBot/pull/2620 .. _#2620: https://github.com/Cog-Creators/Red-DiscordBot/pull/2620
.. _#2639: https://github.com/Cog-Creators/Red-DiscordBot/pull/2639

View File

@ -1,8 +1,8 @@
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
from typing import List, Tuple from typing import List, Tuple, Optional
import discord import discord
from redbot.core import Config from redbot.core import Config, commands
from redbot.core.bot import Red from redbot.core.bot import Red