From cd8ed8bc5793985df2c1692072a932ceee517b95 Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 8 Jul 2026 02:13:35 +0200 Subject: OPEN THE RUST GATES Signed-off-by: salmonik --- cogs/say.py | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 cogs/say.py (limited to 'cogs/say.py') diff --git a/cogs/say.py b/cogs/say.py deleted file mode 100644 index 29d95fe..0000000 --- a/cogs/say.py +++ /dev/null @@ -1,28 +0,0 @@ -# This file is part of Senator Sperma -# Licensed under the GPL-3.0 License -# Copyright (C) 2026 Salmonik @ salmonik@tuta.io -# https://codeberg.org/salmonik/senator-sperma - -from discord.ext import commands -import discord -import logging - -logger = logging.getLogger(__name__) - -class Say(commands.Cog): - def __init__(self, bot): - self.bot = bot - - @discord.slash_command(name="say", description="senator, gadaj") - async def say( - self, - ctx: discord.ApplicationContext, - text: str = discord.Option(str, "Tekst do przeczytania", required=True) - ): - await ctx.defer() - await ctx.respond(content="\u200b", ephemeral=True) - await ctx.interaction.delete_original_response() - await ctx.send(content=text) - -def setup(bot): - bot.add_cog(Say(bot)) -- cgit v1.2.3