From 74674933bab09cd0d3d019916a98768d7967697c Mon Sep 17 00:00:00 2001 From: Luca <87448287+LUCA-PYTHON@users.noreply.github.com> Date: Wed, 25 Mar 2026 18:46:10 +0100 Subject: [PATCH 1/2] welcome banner added welcome banner with PIL Co-authored-by: p.s.stueve@gmail.com --- datein/welcome.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)) From 8830a8d1ab369d7911f2b4e8c00ddc826b9a7a12 Mon Sep 17 00:00:00 2001 From: Luca <87448287+LUCA-PYTHON@users.noreply.github.com> Date: Wed, 25 Mar 2026 18:52:17 +0100 Subject: [PATCH 2/2] Discord.py Components V2 Co-authored-by: Philu2005 --- validate_yaml.py | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 validate_yaml.py 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)