1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 22:23:13 +00:00
Lumi/modules/say.py
2024-02-28 14:07:16 +01:00

27 lines
589 B
Python

import logging
import discord
from discord.ext import commands
from lib import checks
logs = logging.getLogger('Racu.Core')
class SayCog(commands.Cog):
def __init__(self, client):
self.bot = client
@commands.slash_command(
name="tess",
description="Bot admin only",
guild_only=True
)
@commands.check(checks.bot_owner)
async def tess_command(self, ctx, *, txt: discord.Option(str)):
await ctx.respond(content="", ephemeral=True)
await ctx.send(content=txt)
def setup(client):
client.add_cog(SayCog(client))