Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions src/capy_app/frontend/cogs/onboarding/brian_onboarding_cog.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import discord
import logging
from discord.ext import commands
from discord import app_commands

from frontend import config_colors as colors
from config import settings


class todoCog(commands.Cog):
def __init__(self, bot: commands.Bot):
self.bot = bot
self.logger = logging.getLogger(
f"discord.cog.{self.__class__.__name__.lower()}"
)

@app_commands.guilds(discord.Object(id=settings.DEBUG_GUILD_ID))
@app_commands.command(name="todo", description="creates todo list")
async def todo(self, interaction: discord.Interaction):
embed = discord.Embed(
title="Todo List",
description="This is a list of tasks to be completed.",
color=colors.TODO,
)
await interaction.response.send_message(embed=embed)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Consider making this response ephemeral

Pass ephemeral=True if the message is only for the user, to prevent channel clutter.

Suggested change
await interaction.response.send_message(embed=embed)
await interaction.response.send_message(embed=embed, ephemeral=True)



async def setup(bot: commands.Bot):
await bot.add_cog(todoCog(bot))