From 284520d1f85e5c1f80a16a114a345be4eff15de9 Mon Sep 17 00:00:00 2001 From: MAX <63972751+ltzmax@users.noreply.github.com> Date: Mon, 23 Oct 2023 17:51:02 +0200 Subject: [PATCH] and the rest. --- adminutils/__init__.py | 2 +- adminutils/info.json | 2 +- datautils/__init__.py | 6 +++--- datautils/info.json | 4 ++-- massthings/info.json | 2 +- messageslog/info.json | 2 +- minecraftdata/__init__.py | 4 ++-- minecraftdata/info.json | 2 +- moreutils/__init__.py | 6 +++--- moreutils/info.json | 2 +- smmdata/__init__.py | 4 ++-- smmdata/info.json | 2 +- translators/__init__.py | 4 ++-- translators/info.json | 4 ++-- vocadb/__init__.py | 4 ++-- vocadb/info.json | 4 ++-- weather/__init__.py | 4 ++-- weather/info.json | 4 ++-- 18 files changed, 31 insertions(+), 31 deletions(-) diff --git a/adminutils/__init__.py b/adminutils/__init__.py index ac853a4c..4e4d2694 100644 --- a/adminutils/__init__.py +++ b/adminutils/__init__.py @@ -21,4 +21,4 @@ async def setup_after_ready(bot): async def setup(bot): - create_task(setup_after_ready(bot)) + await create_task(setup_after_ready(bot)) diff --git a/adminutils/info.json b/adminutils/info.json index d78d046f..1779d7d7 100644 --- a/adminutils/info.json +++ b/adminutils/info.json @@ -8,7 +8,7 @@ "install_msg": "Thanks for install.\nThis cog contains some useful commands for server administrators.", "short": "Useful commands for server administrators.", "description": "Useful commands for server administrators.", - "min_bot_version": "3.4.0", + "min_bot_version": "3.5.0", "tags": [ "admin", "emoji", diff --git a/datautils/__init__.py b/datautils/__init__.py index 6f2ada94..546005e2 100644 --- a/datautils/__init__.py +++ b/datautils/__init__.py @@ -17,8 +17,8 @@ async def setup_after_ready(bot): for alias in command.aliases: if bot.get_command(alias): command.aliases[command.aliases.index(alias)] = f"du{alias}" - bot.add_cog(cog) + await bot.add_cog(cog) -def setup(bot): - create_task(setup_after_ready(bot)) +async def setup(bot): + await create_task(setup_after_ready(bot)) diff --git a/datautils/info.json b/datautils/info.json index 214cad7d..d7b77a7d 100644 --- a/datautils/info.json +++ b/datautils/info.json @@ -14,8 +14,8 @@ "server", "permissions" ], - "min_bot_version": "3.4.8", - "max_bot_version": "3.4.99", + "min_bot_version": "3.5.0", + "max_bot_version": "3.5.99", "requirements": [ "tabulate", "wcwidth", diff --git a/massthings/info.json b/massthings/info.json index 1de96eeb..d0573f14 100644 --- a/massthings/info.json +++ b/massthings/info.json @@ -6,7 +6,7 @@ "short": "⚠Cog for doing things in bulk.⚠", "description": "⚠Cog for doing things in bulk.⚠\n⚠️ This cog may contain commands that may (or may not) be against Discord API terms. Use this at your own risk, cog author is not responsible for anything that happens during usage of this cog.", "tags": [], - "min_bot_version": "3.0.0", + "min_bot_version": "3.5.0", "max_bot_version": "3.5.99", "requirements": ["tabulate"], "end_user_data_statement": "This cog does not persistently store data or metadata about users.", diff --git a/messageslog/info.json b/messageslog/info.json index b296b16c..c932def7 100644 --- a/messageslog/info.json +++ b/messageslog/info.json @@ -5,7 +5,7 @@ "install_msg": "Thanks for install.", "short": "Log deleted and edited messages to a specified channel", "description": "Log deleted and edited messages to a specified channel", - "min_bot_version": "3.4.0", + "min_bot_version": "3.5.0", "max_bot_version": "3.5.99", "tags": [ "messages", diff --git a/minecraftdata/__init__.py b/minecraftdata/__init__.py index b6565095..26c1b762 100644 --- a/minecraftdata/__init__.py +++ b/minecraftdata/__init__.py @@ -5,5 +5,5 @@ ) -def setup(bot): - bot.add_cog(MinecraftData(bot)) +async def setup(bot): + await bot.add_cog(MinecraftData(bot)) diff --git a/minecraftdata/info.json b/minecraftdata/info.json index 2ee3ecb6..4256a830 100644 --- a/minecraftdata/info.json +++ b/minecraftdata/info.json @@ -10,7 +10,7 @@ "game" ], "min_python_version": [3, 8, 0], - "max_bot_version": "3.4.99", + "max_bot_version": "3.5.99", "requirements": [ "tabulate", "wcwidth", diff --git a/moreutils/__init__.py b/moreutils/__init__.py index dc141c09..f6ae107c 100644 --- a/moreutils/__init__.py +++ b/moreutils/__init__.py @@ -17,8 +17,8 @@ async def setup_after_ready(bot): for alias in command.aliases: if bot.get_command(alias): command.aliases[command.aliases.index(alias)] = f"mu{alias}" - bot.add_cog(cog) + await bot.add_cog(cog) -def setup(bot): - create_task(setup_after_ready(bot)) +async def setup(bot): + await create_task(setup_after_ready(bot)) diff --git a/moreutils/info.json b/moreutils/info.json index e7a745bb..a70eb8de 100644 --- a/moreutils/info.json +++ b/moreutils/info.json @@ -12,7 +12,7 @@ "someone", "color" ], - "max_bot_version": "3.4.99", + "max_bot_version": "3.5.99", "requirements": [ "tabulate" ], diff --git a/smmdata/__init__.py b/smmdata/__init__.py index d83cb795..6e07f79e 100644 --- a/smmdata/__init__.py +++ b/smmdata/__init__.py @@ -5,5 +5,5 @@ ) -def setup(bot): - bot.add_cog(SMMData(bot)) +async def setup(bot): + await bot.add_cog(SMMData(bot)) diff --git a/smmdata/info.json b/smmdata/info.json index 2ad51a05..3716f21c 100644 --- a/smmdata/info.json +++ b/smmdata/info.json @@ -4,7 +4,7 @@ ], "install_msg": "Thanks for install.", "short": "This cog shows SMM-related data", - "max_bot_version": "3.4.99", + "max_bot_version": "3.5.99", "description": "This cog shows Super Mario Maker-related data. You can check levels and level designers", "tags": [ "mario", diff --git a/translators/__init__.py b/translators/__init__.py index 6d3750b2..e50b3a58 100644 --- a/translators/__init__.py +++ b/translators/__init__.py @@ -5,5 +5,5 @@ ) -def setup(bot): - bot.add_cog(Translators(bot)) +async def setup(bot): + await bot.add_cog(Translators(bot)) diff --git a/translators/info.json b/translators/info.json index c282dff8..dcc0e421 100644 --- a/translators/info.json +++ b/translators/info.json @@ -5,8 +5,8 @@ "install_msg": "Thanks for install.\nFor Yandex.Translate you will need to set apikey (`[p]ytapikey`)", "short": "Useful (and not) translators", "description": "Useful (and not) translators", - "min_bot_version": "3.4.1", - "max_bot_version": "3.4.99", + "min_bot_version": "3.5.0", + "max_bot_version": "3.5.99", "tags": [ "translation", "translate", diff --git a/vocadb/__init__.py b/vocadb/__init__.py index 9603d6f1..d226fce3 100644 --- a/vocadb/__init__.py +++ b/vocadb/__init__.py @@ -3,5 +3,5 @@ __red_end_user_data_statement__ = "This cog does not persistently store any PII data about users." -def setup(bot): - bot.add_cog(VocaDB(bot)) +async def setup(bot): + await bot.add_cog(VocaDB(bot)) diff --git a/vocadb/info.json b/vocadb/info.json index 1e535a13..191f681a 100644 --- a/vocadb/info.json +++ b/vocadb/info.json @@ -11,8 +11,8 @@ "required_cogs": {}, "requirements": [], "tags": ["vocadb", "vocaloid"], - "min_bot_version": "3.4.12", - "max_bot_version": "3.4.99", + "min_bot_version": "3.5.0", + "max_bot_version": "3.5.99", "hidden": false, "disabled": false, "type": "COG" diff --git a/weather/__init__.py b/weather/__init__.py index a11ac6b0..29c90540 100644 --- a/weather/__init__.py +++ b/weather/__init__.py @@ -6,5 +6,5 @@ ) -def setup(bot): - bot.add_cog(Weather(bot)) +async def setup(bot): + await bot.add_cog(Weather(bot)) diff --git a/weather/info.json b/weather/info.json index 041fd7e5..b41c529e 100644 --- a/weather/info.json +++ b/weather/info.json @@ -6,8 +6,8 @@ "install_msg": "Thanks for install.\nDon't forget to set api key (`[p]forecastapi`)\nIf you don't have registered DarkSky API key, this cog will be useless to you.\nDarkSky API closing at end of ~~2021~~ 2022 and im aware of this.", "short": "Weather forecast", "description": "Weather forecast. Requires \"semi-private\" DarkSky API key. For more info: https://blog.darksky.net", - "min_bot_version": "3.2.1", - "max_bot_version": "3.4.99", + "min_bot_version": "3.5.0", + "max_bot_version": "3.5.99", "tags": [ "weather", "forecast"