From 483a704404f017181fefab99ea5dd890cd78d8a1 Mon Sep 17 00:00:00 2001 From: eibex <40539455+eibex@users.noreply.github.com> Date: Tue, 16 Nov 2021 14:41:10 +0100 Subject: [PATCH] disnake replacement --- .version | 2 +- README.md | 6 +++--- bot.py | 4 ++-- requirements.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.version b/.version index 437459cd..4a36342f 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -2.5.0 +3.0.0 diff --git a/README.md b/README.md index 9da236ba..fc717f1d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Reaction Light - Discord Role Bot -[![Reaction Light 2.5.0](https://img.shields.io/badge/Reaction%20Light-2.5.0-yellow.svg)](https://github.com/eibex/reaction-light/blob/master/CHANGELOG.md) -[![Python 3.6+](https://img.shields.io/badge/python-3.6+-blue.svg)](#) -[![discord.py 1.6.0+](https://img.shields.io/badge/discord.py-1.6.0+-blue.svg)](#) +[![Reaction Light 3.0.0](https://img.shields.io/badge/Reaction%20Light-3.0.0-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.2.1+](https://img.shields.io/badge/disnake-2.2.1+-blue.svg)](#) ![Reaction Light Embed Example](https://i.imgur.com/f4b9Qye.png) diff --git a/bot.py b/bot.py index da4f02a3..38eb7171 100644 --- a/bot.py +++ b/bot.py @@ -30,8 +30,8 @@ from shutil import copy from sys import platform -import discord -from discord.ext import commands, tasks +import disnake as discord +from disnake.ext import commands, tasks from core import database, activity, github, schema, i18n diff --git a/requirements.txt b/requirements.txt index 37c651e6..b88184c7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -discord.py>=1.6.0 +disnake>=2.2.1