mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
Use python-Levenshtein-wheels (#2393)
This removes the compiler detection logic in setup.py. python-Levenshtein-wheels includes pre-built wheels for virtually all operating systems and architectures we support. Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
This commit is contained in:
@@ -176,12 +176,6 @@ def init_events(bot, cli_flags):
|
||||
print("\nInvite URL: {}\n".format(invite_url))
|
||||
|
||||
bot.color = discord.Colour(await bot.db.color())
|
||||
try:
|
||||
import Levenshtein
|
||||
except ImportError:
|
||||
log.info(
|
||||
"python-Levenshtein is not installed, fuzzy string matching will be a bit slower."
|
||||
)
|
||||
|
||||
@bot.event
|
||||
async def on_error(event_method, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user