Use proper Parameter type in CustomCommands cog (#6149)

Co-authored-by: Jamie <31554168+flaree@users.noreply.github.com>
This commit is contained in:
Jakub Kuczys 2023-05-13 17:55:10 +02:00 committed by GitHub
parent a2132ad0a5
commit cbe50bf82e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,6 @@ import asyncio
import re
import random
from datetime import datetime, timedelta
from inspect import Parameter
from typing import Iterable, List, Mapping, Tuple, Dict, Set, Literal, Union
from urllib.parse import quote_plus
@ -10,6 +9,7 @@ import discord
from rapidfuzz import process
from redbot.core import Config, commands
from redbot.core.commands import Parameter
from redbot.core.i18n import Translator, cog_i18n
from redbot.core.utils import menus, AsyncIter
from redbot.core.utils.chat_formatting import box, pagify, escape, humanize_list