mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Use proper Parameter type in CustomCommands cog (#6149)
Co-authored-by: Jamie <31554168+flaree@users.noreply.github.com>
This commit is contained in:
parent
a2132ad0a5
commit
cbe50bf82e
@ -2,7 +2,6 @@ import asyncio
|
|||||||
import re
|
import re
|
||||||
import random
|
import random
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from inspect import Parameter
|
|
||||||
from typing import Iterable, List, Mapping, Tuple, Dict, Set, Literal, Union
|
from typing import Iterable, List, Mapping, Tuple, Dict, Set, Literal, Union
|
||||||
from urllib.parse import quote_plus
|
from urllib.parse import quote_plus
|
||||||
|
|
||||||
@ -10,6 +9,7 @@ import discord
|
|||||||
from rapidfuzz import process
|
from rapidfuzz import process
|
||||||
|
|
||||||
from redbot.core import Config, commands
|
from redbot.core import Config, commands
|
||||||
|
from redbot.core.commands import Parameter
|
||||||
from redbot.core.i18n import Translator, cog_i18n
|
from redbot.core.i18n import Translator, cog_i18n
|
||||||
from redbot.core.utils import menus, AsyncIter
|
from redbot.core.utils import menus, AsyncIter
|
||||||
from redbot.core.utils.chat_formatting import box, pagify, escape, humanize_list
|
from redbot.core.utils.chat_formatting import box, pagify, escape, humanize_list
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user