aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands/bot.py
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2020-11-28 08:16:49 +0000
committerGitHub <[email protected]>2020-11-28 03:16:49 -0500
commit6b803acde4f6377b8ccad959350a61a3d524b619 (patch)
treeb7e573aeb48562dd567983eb6f2283e1cd3a0d0b /discord/ext/commands/bot.py
parentFix `UnboundLocalError` for editing `public_updates_channel` (diff)
downloaddiscord.py-6b803acde4f6377b8ccad959350a61a3d524b619.tar.xz
discord.py-6b803acde4f6377b8ccad959350a61a3d524b619.zip
[chore] Remove redundant imports
This also removes the historical patch for NullHandler implemented in bbf1c54, as it has been available since Python 3.1.
Diffstat (limited to 'discord/ext/commands/bot.py')
-rw-r--r--discord/ext/commands/bot.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index c858ab6a..2fc08fa2 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -30,12 +30,11 @@ import inspect
import importlib.util
import sys
import traceback
-import re
import types
import discord
-from .core import GroupMixin, Command
+from .core import GroupMixin
from .view import StringView
from .context import Context
from . import errors