Skip to content

Commit ae20e28

Browse files
committed
using BotBase
1 parent b32d8d0 commit ae20e28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

discord/ext/prometheus/prometheus_cog.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from discord.ext import commands, tasks
44
from discord import Interaction, InteractionType, AutoShardedClient
55
from discord.app_commands.commands import Command
6+
from discord.ext.commands.bot import BotBase
67

78
log = logging.getLogger("prometheus")
89

@@ -48,7 +49,7 @@ class PrometheusCog(commands.Cog):
4849
using the `on_ready` listener.
4950
"""
5051

51-
def __init__(self, bot: commands.Bot, port: int = 8000):
52+
def __init__(self, bot: BotBase, port: int = 8000):
5253
"""
5354
Parameters:
5455
bot: The Discord bot

0 commit comments

Comments
 (0)