Skip to content

Commit

Permalink
Update code for d.py 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen committed Jun 18, 2024
1 parent 7c13b35 commit 43e2f25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions myfirstcog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
from .myfirstcog import MyFirstCog


def setup(bot):
async def setup(bot):
# Add the cog to the bot.
bot.add_cog(MyFirstCog())
await bot.add_cog(MyFirstCog())
4 changes: 2 additions & 2 deletions mysecondcog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
from .mysecondcog import MySecondCog


def setup(bot):
async def setup(bot):
# Add the cog to the bot.
bot.add_cog(MySecondCog())
await bot.add_cog(MySecondCog())
4 changes: 2 additions & 2 deletions mythirdcog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
from .mythirdcog import MyThirdCog


def setup(bot):
async def setup(bot):
# Add the cog to the bot.
bot.add_cog(MyThirdCog())
await bot.add_cog(MyThirdCog())

0 comments on commit 43e2f25

Please sign in to comment.