BREAKING!!!! feat: discord.py 2.0 compatibility

This commit is contained in:
SeaswimmerTheFsh 2023-08-07 17:34:57 -04:00
parent 7148bd18b1
commit 64e075ccde
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8
9 changed files with 18 additions and 18 deletions

View file

@ -1,4 +1,4 @@
from .exportchannels import ExportChannels
def setup(bot):
bot.add_cog(ExportChannels(bot))
async def setup(bot):
await bot.add_cog(ExportChannels(bot))

View file

@ -1,5 +1,5 @@
from .galaxy import Galaxy
def setup(bot):
bot.add_cog(Galaxy(bot))
async def setup(bot):
await bot.add_cog(Galaxy(bot))

View file

@ -1,5 +1,5 @@
from .info import Info
def setup(bot):
bot.add_cog(Info(bot))
async def setup(bot):
await bot.add_cog(Info(bot))

View file

@ -1,5 +1,5 @@
from .musicdownloader import MusicDownloader
def setup(bot):
bot.add_cog(MusicDownloader(bot))
async def setup(bot):
await bot.add_cog(MusicDownloader(bot))

View file

@ -1,5 +1,5 @@
from .podcast import Podcast
def setup(bot):
bot.add_cog(Podcast(bot))
async def setup(bot):
await bot.add_cog(Podcast(bot))

View file

@ -1,5 +1,5 @@
from .shortmute import Shortmute
def setup(bot):
bot.add_cog(Shortmute(bot))
async def setup(bot):
await bot.add_cog(Shortmute(bot))

View file

@ -1,5 +1,5 @@
from .suggestions import Suggestions
def setup(bot):
bot.add_cog(Suggestions(bot))
async def setup(bot):
await bot.add_cog(Suggestions(bot))

View file

@ -1,5 +1,5 @@
from .sugoncredit import SugonCredit
def setup(bot):
bot.add_cog(SugonCredit(bot))
async def setup(bot):
await bot.add_cog(SugonCredit(bot))

View file

@ -1,5 +1,5 @@
from .worldzero import WorldZero
def setup(bot):
bot.add_cog(WorldZero(bot))
async def setup(bot):
await bot.add_cog(WorldZero(bot))