mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 22:23:13 +00:00
27 lines
602 B
Python
27 lines
602 B
Python
import logging
|
|
|
|
import discord
|
|
from discord.ext import commands
|
|
|
|
from sb_tools import universal
|
|
|
|
racu_logs = logging.getLogger('Racu.Core')
|
|
|
|
|
|
class SayCog(commands.Cog):
|
|
def __init__(self, sbbot):
|
|
self.bot = sbbot
|
|
|
|
@commands.slash_command(
|
|
name="tess",
|
|
description="Bot admin only",
|
|
guild_only=True
|
|
)
|
|
@commands.check(universal.owner_check)
|
|
async def tess_command(self, ctx, *, txt: discord.Option(str)):
|
|
await ctx.respond(content="✅", ephemeral=True)
|
|
await ctx.send(content=txt)
|
|
|
|
|
|
def setup(sbbot):
|
|
sbbot.add_cog(SayCog(sbbot))
|