diff options
| author | Nadir Chowdhury <[email protected]> | 2020-11-28 08:16:49 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-28 03:16:49 -0500 |
| commit | 6b803acde4f6377b8ccad959350a61a3d524b619 (patch) | |
| tree | b7e573aeb48562dd567983eb6f2283e1cd3a0d0b /discord/ext/commands/bot.py | |
| parent | Fix `UnboundLocalError` for editing `public_updates_channel` (diff) | |
| download | discord.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.py | 3 |
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 |