From 3d08c9aa340d95618f5695a48c859af54b543672 Mon Sep 17 00:00:00 2001 From: Eibe <40539455+eibex@users.noreply.github.com> Date: Tue, 14 Mar 2023 23:35:10 +0100 Subject: [PATCH] Release 3.2.2 and use InteractionBot (#122) --- .version | 2 +- CHANGELOG.md | 5 +++++ README.md | 2 +- bot.py | 2 +- cogs/help.py | 1 - 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.version b/.version index e4604e3a..be94e6f5 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -3.2.1 +3.2.2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cae1c17..8d4cfc22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Reaction Light - Changelog +### 3.2.2 +- Add translation checks ([#119](https://github.com/eibex/reaction-light/pull/119) by [Edwinexd](https://github.com/Edwinexd)) +- Fix translations ([Afasany](https://github.com/Afasany), [eibex](https://github.com/eibex), [erwinowak](https://github.com/erwinowak)) +- Remove deprecation warning + ### 3.2.1 - Add Polish translation ([#116](https://github.com/eibex/reaction-light/pull/116) by [erwinowak](https://github.com/erwinowak)) - Fix a few exception messages in en-gb ([#117](https://github.com/eibex/reaction-light/pull/117) by [erwinowak](https://github.com/erwinowak)) diff --git a/README.md b/README.md index 78750637..c4e7fcbd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Reaction Light - Discord Role Bot [![Reaction Light Discord Server](https://img.shields.io/discord/914952998109716531?color=5865f2&logo=discord&logoColor=ffffff)](https://discord.gg/cqxZQkhhHm) -[![Reaction Light 3.2.1](https://img.shields.io/badge/Reaction%20Light-3.2.1-yellow.svg)](https://github.com/eibex/reaction-light/blob/master/CHANGELOG.md) +[![Reaction Light 3.2.2](https://img.shields.io/badge/Reaction%20Light-3.2.2-yellow.svg)](https://github.com/eibex/reaction-light/blob/master/CHANGELOG.md) [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](#) [![disnake 2.5.0+](https://img.shields.io/badge/disnake-2.5.0+-blue.svg)](#) diff --git a/bot.py b/bot.py index 1f5e28de..e957ef8d 100644 --- a/bot.py +++ b/bot.py @@ -43,7 +43,7 @@ ) -class ReactionLight(commands.Bot): +class ReactionLight(commands.InteractionBot): def __init__(self): self.directory = os.path.dirname(os.path.realpath(__file__)) self.config = config.Config(self.directory) diff --git a/cogs/help.py b/cogs/help.py index 993b39a5..39912009 100644 --- a/cogs/help.py +++ b/cogs/help.py @@ -30,7 +30,6 @@ class Help(commands.Cog): def __init__(self, bot): self.bot = bot - self.bot.remove_command("help") @commands.slash_command(name="help", description=response.get("brief-help")) async def hlp(self, inter):