We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b32d8d0 commit ae20e28Copy full SHA for ae20e28
discord/ext/prometheus/prometheus_cog.py
@@ -3,6 +3,7 @@
3
from discord.ext import commands, tasks
4
from discord import Interaction, InteractionType, AutoShardedClient
5
from discord.app_commands.commands import Command
6
+from discord.ext.commands.bot import BotBase
7
8
log = logging.getLogger("prometheus")
9
@@ -48,7 +49,7 @@ class PrometheusCog(commands.Cog):
48
49
using the `on_ready` listener.
50
"""
51
- def __init__(self, bot: commands.Bot, port: int = 8000):
52
+ def __init__(self, bot: BotBase, port: int = 8000):
53
54
Parameters:
55
bot: The Discord bot
0 commit comments