aboutsummaryrefslogtreecommitdiffstats
path: root/cogs/say.py
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-07-08 02:13:35 +0200
committersalmonik <raisersoft@proton.me>2026-07-08 02:13:35 +0200
commitcd8ed8bc5793985df2c1692072a932ceee517b95 (patch)
tree42d18a4140259b5c68b4dd05b7fcb398f78b8d7f /cogs/say.py
parentMerge pull request 'Voice related fixes, alongside simplifying assistant' (#5... (diff)
downloadsenator-sperma-cd8ed8bc5793985df2c1692072a932ceee517b95.tar.gz
senator-sperma-cd8ed8bc5793985df2c1692072a932ceee517b95.zip
OPEN THE RUST GATES
Signed-off-by: salmonik <raisersoft@proton.me>
Diffstat (limited to '')
-rw-r--r--cogs/say.py28
1 files changed, 0 insertions, 28 deletions
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 @@
1# This file is part of Senator Sperma
2# Licensed under the GPL-3.0 License
3# Copyright (C) 2026 Salmonik @ salmonik@tuta.io
4# https://codeberg.org/salmonik/senator-sperma
5
6from discord.ext import commands
7import discord
8import logging
9
10logger = logging.getLogger(__name__)
11
12class Say(commands.Cog):
13 def __init__(self, bot):
14 self.bot = bot
15
16 @discord.slash_command(name="say", description="senator, gadaj")
17 async def say(
18 self,
19 ctx: discord.ApplicationContext,
20 text: str = discord.Option(str, "Tekst do przeczytania", required=True)
21 ):
22 await ctx.defer()
23 await ctx.respond(content="\u200b", ephemeral=True)
24 await ctx.interaction.delete_original_response()
25 await ctx.send(content=text)
26
27def setup(bot):
28 bot.add_cog(Say(bot))