diff options
| author | 2021-04-19 20:20:48 +0100 | |
|---|---|---|
| committer | 2021-04-19 20:20:48 +0100 | |
| commit | 1ed857d9093481387720ac1dc4041a64a2c9c593 (patch) | |
| tree | 909724207ba5493db3f0871a74efa1198d34fc59 /bot/exts/evergreen/ping.py | |
| parent | Merge pull request #673 from janine9vn/int-eval (diff) | |
chore: switch commands.Bot typehints to bot.bot's Bot
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/evergreen/ping.py | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/bot/exts/evergreen/ping.py b/bot/exts/evergreen/ping.py index 97f8b34d..1332e3e6 100644 --- a/bot/exts/evergreen/ping.py +++ b/bot/exts/evergreen/ping.py @@ -1,13 +1,14 @@  from discord import Embed  from discord.ext import commands +from bot.bot import Bot  from bot.constants import Colours  class Ping(commands.Cog):      """Ping the bot to see its latency and state.""" -    def __init__(self, bot: commands.Bot): +    def __init__(self, bot: Bot):          self.bot = bot      @commands.command(name="ping") @@ -22,6 +23,6 @@ class Ping(commands.Cog):          await ctx.send(embed=embed) -def setup(bot: commands.Bot) -> None: +def setup(bot: Bot) -> None:      """Cog load."""      bot.add_cog(Ping(bot)) | 
