Added meow command

This commit is contained in:
Lilac-Rose
2025-10-16 20:33:19 +02:00
parent 4bfa7858d8
commit b69c8e07f1
2 changed files with 15 additions and 4 deletions

14
commands/meow.py Normal file
View File

@@ -0,0 +1,14 @@
import discord
from discord.ext import commands
from discord import app_commands
class Ping(commands.Cog):
def __init__(self, bot: commands.Bot):
self.bot = bot
@app_commands.command(name="meow")
async def ping(self, interaction: discord.Interaction):
await interaction.response.send_message("Meowwwww~")
async def setup(bot: commands.Bot):
await bot.add_cog(Ping(bot))

View File

@@ -430,12 +430,9 @@ class Logger(commands.Cog):
await self.send_log(role.guild.id, "role_delete", embed)
async def log_moderation_action(self, guild_id: int, action_type: str, user: discord.User,
moderator: discord.User, reason: Optional[str] = None,
duration: Optional[str] = None):
async def log_moderation_action(self, guild_id: int, action_type: str, user: discord.User, moderator: discord.User, reason: Optional[str] = None, duration: Optional[str] = None):
"""
Public method to log moderation actions from commands.
Call this from your moderation commands.
"""
color_map = {
"warn": discord.Color.yellow(),