diff --git a/datein/welcome.py b/datein/welcome.py index 3987660..05afec2 100644 --- a/datein/welcome.py +++ b/datein/welcome.py @@ -10,8 +10,6 @@ class Welcome(commands.Cog): def __init__(self, bot): self.bot = bot - #test - @commands.command(name="welcome_banner") async def welcome_banner(self, ctx, member: discord.Member): import os, io, aiohttp @@ -97,4 +95,4 @@ def truncate_text(text, font, max_width): await ctx.send(file=file) async def setup(bot: commands.Bot): - await bot.add_cog(Welcome(bot)) \ No newline at end of file + await bot.add_cog(Welcome(bot)) diff --git a/validate_yaml.py b/validate_yaml.py deleted file mode 100644 index ae6402c..0000000 --- a/validate_yaml.py +++ /dev/null @@ -1,10 +0,0 @@ -import yaml, pathlib -path = pathlib.Path('.github/workflows/discord-notify.yml') -print('reading', path) -try: - # ensure utf-8 when reading because the workflow contains emojis - text = path.read_text(encoding='utf-8') - data = yaml.safe_load(text) - print('parsed ok') -except Exception as e: - print('error', e)