From ed6cc433c8891cac1e0f1353088bbe10b6fcb146 Mon Sep 17 00:00:00 2001 From: bobloy Date: Thu, 15 Apr 2021 11:38:36 -0400 Subject: [PATCH] Remove pycountry --- tts/tts.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tts/tts.py b/tts/tts.py index 02d7267..c69522a 100644 --- a/tts/tts.py +++ b/tts/tts.py @@ -3,7 +3,6 @@ import logging from typing import Optional, TYPE_CHECKING import discord -import pycountry from discord.ext.commands import BadArgument, Converter from gtts import gTTS from gtts.lang import _fallback_deprecated_lang, tts_langs @@ -13,8 +12,6 @@ from redbot.core.commands import Cog log = logging.getLogger("red.fox_v3.tts") -langs = [lang.iso639_1_code for lang in pycountry.languages if hasattr(lang, "iso639_1_code")] - if TYPE_CHECKING: ISO639Converter = str else: