From 2b3f68a14241494b4c4d9cc0cf7071f6ea2f03e9 Mon Sep 17 00:00:00 2001 From: Lilac-Rose Date: Wed, 18 Feb 2026 03:09:43 +0100 Subject: [PATCH] friend added comments for some reason --- birthday/__init__.py | 1 - birthday/birthday.py | 1 - bot.py | 1 - commands/__init__.py | 1 - commands/bonk.py | 1 - commands/connect4.py | 1 - commands/emote_credits.py | 1 - commands/generate_role_color_images.py | 1 - commands/infractions.py | 1 - commands/meow.py | 1 - commands/minesweeper.py | 1 - commands/ping.py | 1 - commands/role_color.py | 1 - commands/role_track.py | 1 - embed/__init__.py | 1 - embed/embed_color.py | 1 - events/__init__.py | 1 - events/archipelago_monitor.py | 6 ------ events/botban.py | 1 - events/chain.py | 1 - events/git_webhook.py | 1 - events/goodbot.py | 1 - events/status_alerts.py | 4 ---- events/welcome.py | 1 - image/__init__.py | 1 - image/avatar.py | 1 - lilac-tools/__init__.py | 1 - lilac-tools/admin.py | 1 - moderation/__init__.py | 1 - moderation/ban.py | 1 - moderation/cleanban.py | 1 - moderation/infraction.py | 1 - moderation/kick.py | 1 - moderation/loader.py | 1 - moderation/lock.py | 1 - moderation/logger.py | 1 - moderation/mute.py | 1 - moderation/spam_protection.py | 1 - moderation/unmmute.py | 1 - moderation/warn.py | 1 - profiles/__init__.py | 1 - profiles/database.py | 1 - profiles/profiles.py | 1 - reminders/__init__.py | 1 - reminders/reminder.py | 1 - sparkle/__init__.py | 1 - sparkle/database.py | 1 - sparkle/sparkle_commands.py | 1 - stats/__init__.py | 1 - stats/stats.py | 1 - suggestion/__init__.py | 1 - suggestion/suggest.py | 1 - utils/__init__.py | 1 - utils/constants.py | 7 ------- utils/logger.py | 7 ------- wordle/__init__.py | 1 - wordle/wordle.py | 1 - xp/__init__.py | 1 - xp/backup_xp.py | 1 - xp/calculate.py | 1 - xp/database.py | 1 - xp/exclude_channels.py | 1 - xp/groups.py | 1 - xp/import_export.py | 1 - xp/leaderboard.py | 1 - xp/rank.py | 1 - xp/reset_task.py | 1 - xp/restoredb.py | 1 - xp/sync.py | 1 - xp/utils.py | 1 - 70 files changed, 90 deletions(-) diff --git a/birthday/__init__.py b/birthday/__init__.py index 4fc83a1..e69de29 100644 --- a/birthday/__init__.py +++ b/birthday/__init__.py @@ -1 +0,0 @@ -"""Birthday tracking and celebration features.""" diff --git a/birthday/birthday.py b/birthday/birthday.py index b9c30b5..443fb96 100644 --- a/birthday/birthday.py +++ b/birthday/birthday.py @@ -1,4 +1,3 @@ -"""Birthday tracking cog that sends birthday wishes and manages birthday roles.""" import discord from discord.ext import commands, tasks from discord import app_commands diff --git a/bot.py b/bot.py index f432964..70fb297 100644 --- a/bot.py +++ b/bot.py @@ -1,4 +1,3 @@ -"""Main entry point for the Lacie Discord bot.""" import os from dotenv import load_dotenv import discord diff --git a/commands/__init__.py b/commands/__init__.py index 5bcfb9a..e69de29 100644 --- a/commands/__init__.py +++ b/commands/__init__.py @@ -1 +0,0 @@ -"""General-purpose bot commands (fun, utility, moderation helpers).""" diff --git a/commands/bonk.py b/commands/bonk.py index ea0523e..239315b 100644 --- a/commands/bonk.py +++ b/commands/bonk.py @@ -1,4 +1,3 @@ -"""Bonk command cog that lets users bonk each other with an image.""" import discord from discord import app_commands from discord.ext import commands diff --git a/commands/connect4.py b/commands/connect4.py index 499c8f6..8b6dc97 100644 --- a/commands/connect4.py +++ b/commands/connect4.py @@ -1,4 +1,3 @@ -"""Connect 4 game implementation as a Discord slash command.""" import discord from discord.ext import commands from discord import app_commands diff --git a/commands/emote_credits.py b/commands/emote_credits.py index 2f86dc1..9700e99 100644 --- a/commands/emote_credits.py +++ b/commands/emote_credits.py @@ -1,4 +1,3 @@ -"""Emote credits cog for tracking and displaying custom emote artists.""" import discord from discord import app_commands from discord.ext import commands diff --git a/commands/generate_role_color_images.py b/commands/generate_role_color_images.py index 46f79dc..1dcf8b3 100644 --- a/commands/generate_role_color_images.py +++ b/commands/generate_role_color_images.py @@ -1,4 +1,3 @@ -"""Admin command to generate the color role preview image.""" import discord from discord import app_commands from discord.ext import commands diff --git a/commands/infractions.py b/commands/infractions.py index a74c100..09f33d4 100644 --- a/commands/infractions.py +++ b/commands/infractions.py @@ -1,4 +1,3 @@ -"""Command for users to view their own moderation infractions via DM.""" import discord from discord import app_commands from discord.ext import commands diff --git a/commands/meow.py b/commands/meow.py index a42bf33..5ce3ea3 100644 --- a/commands/meow.py +++ b/commands/meow.py @@ -1,4 +1,3 @@ -"""Simple meow command cog that responds with a random cat sound.""" import discord from discord.ext import commands from discord import app_commands diff --git a/commands/minesweeper.py b/commands/minesweeper.py index 9486693..98ec9eb 100644 --- a/commands/minesweeper.py +++ b/commands/minesweeper.py @@ -1,4 +1,3 @@ -"""Minesweeper game cog with an interactive Discord UI.""" import discord from discord.ext import commands from discord import app_commands diff --git a/commands/ping.py b/commands/ping.py index 37203f0..f2019b4 100644 --- a/commands/ping.py +++ b/commands/ping.py @@ -1,4 +1,3 @@ -"""Ping command that shows WebSocket, API, and database latency.""" import discord from discord.ext import commands from discord import app_commands diff --git a/commands/role_color.py b/commands/role_color.py index 971f116..73771e2 100644 --- a/commands/role_color.py +++ b/commands/role_color.py @@ -1,4 +1,3 @@ -"""Color role management cog allowing users to pick decorative color roles.""" import discord from discord import app_commands from discord.ext import commands diff --git a/commands/role_track.py b/commands/role_track.py index d14a0ac..09ddde7 100644 --- a/commands/role_track.py +++ b/commands/role_track.py @@ -1,4 +1,3 @@ -"""Role tracking cog that monitors and records role assignment history.""" import discord from discord import app_commands from discord.ext import commands diff --git a/embed/__init__.py b/embed/__init__.py index 67baaeb..e69de29 100644 --- a/embed/__init__.py +++ b/embed/__init__.py @@ -1 +0,0 @@ -"""Embed color management for consistent bot embed styling.""" diff --git a/embed/embed_color.py b/embed/embed_color.py index fc9047f..fcef56a 100644 --- a/embed/embed_color.py +++ b/embed/embed_color.py @@ -1,4 +1,3 @@ -"""Embed color preference system allowing users to set custom embed colors.""" import discord import sqlite3 from pathlib import Path diff --git a/events/__init__.py b/events/__init__.py index a0d6945..e69de29 100644 --- a/events/__init__.py +++ b/events/__init__.py @@ -1 +0,0 @@ -"""Event listeners and automated monitoring (welcome, webhooks, status alerts).""" diff --git a/events/archipelago_monitor.py b/events/archipelago_monitor.py index 63c279c..bceaca3 100644 --- a/events/archipelago_monitor.py +++ b/events/archipelago_monitor.py @@ -1,9 +1,3 @@ -""" -Archipelago Monitor Cog -Monitors an Archipelago server log file and sends Discord notifications -when items are sent between players. -""" - import discord from discord.ext import commands, tasks import asyncio diff --git a/events/botban.py b/events/botban.py index bdaa7b9..ee30b17 100644 --- a/events/botban.py +++ b/events/botban.py @@ -1,4 +1,3 @@ -"""Auto-ban cog that bans users who receive a specific bot-trap role.""" import discord from discord.ext import commands from datetime import datetime, timedelta, timezone diff --git a/events/chain.py b/events/chain.py index 207e112..7641bdf 100644 --- a/events/chain.py +++ b/events/chain.py @@ -1,4 +1,3 @@ -"""Chain message event listener (reacts to chain messages in channels).""" import discord from discord.ext import commands diff --git a/events/git_webhook.py b/events/git_webhook.py index dcce22c..f4c8fd6 100644 --- a/events/git_webhook.py +++ b/events/git_webhook.py @@ -1,4 +1,3 @@ -"""Webhook server that listens for GitHub push events and posts to Discord.""" import discord from discord.ext import commands from aiohttp import web diff --git a/events/goodbot.py b/events/goodbot.py index 61e7225..b0e8053 100644 --- a/events/goodbot.py +++ b/events/goodbot.py @@ -1,4 +1,3 @@ -"""Goodbot/badbot event listener that reacts to compliments or insults.""" import discord from discord.ext import commands diff --git a/events/status_alerts.py b/events/status_alerts.py index 7c4adf3..ce64d05 100644 --- a/events/status_alerts.py +++ b/events/status_alerts.py @@ -1,7 +1,3 @@ -""" -Status Monitor Cog -Monitors the status_monitor database and sends DMs when services go down/recover -""" import discord from discord.ext import commands, tasks import sqlite3 diff --git a/events/welcome.py b/events/welcome.py index f1baea6..3ae0f05 100644 --- a/events/welcome.py +++ b/events/welcome.py @@ -1,4 +1,3 @@ -"""Welcome event cog that greets new members and assigns default roles.""" import discord from discord.ext import commands diff --git a/image/__init__.py b/image/__init__.py index 3fd5974..e69de29 100644 --- a/image/__init__.py +++ b/image/__init__.py @@ -1 +0,0 @@ -"""Image generation and avatar manipulation commands.""" diff --git a/image/avatar.py b/image/avatar.py index 322f77e..4c9986a 100644 --- a/image/avatar.py +++ b/image/avatar.py @@ -1,4 +1,3 @@ -"""Avatar manipulation commands (bitcrush, edge detect, explode, filters, etc.).""" import discord from discord import app_commands from discord.ext import commands diff --git a/lilac-tools/__init__.py b/lilac-tools/__init__.py index 71788c4..e69de29 100644 --- a/lilac-tools/__init__.py +++ b/lilac-tools/__init__.py @@ -1 +0,0 @@ -"""Administrative tools and bot management commands for the bot owner.""" diff --git a/lilac-tools/admin.py b/lilac-tools/admin.py index 91e9b80..cb82607 100644 --- a/lilac-tools/admin.py +++ b/lilac-tools/admin.py @@ -1,4 +1,3 @@ -"""Owner-only admin tools: database browser, terminal, eval, file manager.""" import discord from discord.ext import commands import aiosqlite diff --git a/moderation/__init__.py b/moderation/__init__.py index 3b29207..e69de29 100644 --- a/moderation/__init__.py +++ b/moderation/__init__.py @@ -1 +0,0 @@ -"""Moderation tools and admin permission management.""" diff --git a/moderation/ban.py b/moderation/ban.py index d85319c..18904d5 100644 --- a/moderation/ban.py +++ b/moderation/ban.py @@ -1,4 +1,3 @@ -"""Ban command with confirmation prompt and DM notification.""" import discord from discord.ext import commands from discord.ui import View, Button diff --git a/moderation/cleanban.py b/moderation/cleanban.py index eba0b52..18ce770 100644 --- a/moderation/cleanban.py +++ b/moderation/cleanban.py @@ -1,4 +1,3 @@ -"""Cleanban command that bans and deletes recent messages.""" import discord from discord.ext import commands from discord.ui import View, Button diff --git a/moderation/infraction.py b/moderation/infraction.py index 4ec13f0..a946f12 100644 --- a/moderation/infraction.py +++ b/moderation/infraction.py @@ -1,4 +1,3 @@ -"""Infraction logging and retrieval system for moderation actions.""" import discord from discord.ext import commands, tasks from .loader import ModerationBase diff --git a/moderation/kick.py b/moderation/kick.py index 706f433..73c3928 100644 --- a/moderation/kick.py +++ b/moderation/kick.py @@ -1,4 +1,3 @@ -"""Kick command with confirmation prompt and DM notification.""" import discord from discord.ext import commands from discord.ui import View, Button diff --git a/moderation/loader.py b/moderation/loader.py index a4905fb..ecb7434 100644 --- a/moderation/loader.py +++ b/moderation/loader.py @@ -1,4 +1,3 @@ -"""Shared ModerationBase cog with DB connection and is_admin() decorator.""" from discord.ext import commands import os import sqlite3 diff --git a/moderation/lock.py b/moderation/lock.py index a4719b3..9cdf65e 100644 --- a/moderation/lock.py +++ b/moderation/lock.py @@ -1,4 +1,3 @@ -"""Channel lock/unlock commands that save and restore permission overwrites.""" import discord from discord.ext import commands from .loader import ModerationBase diff --git a/moderation/logger.py b/moderation/logger.py index 56078f5..fe5abe8 100644 --- a/moderation/logger.py +++ b/moderation/logger.py @@ -1,4 +1,3 @@ -"""Moderation event logger that records Discord actions to the database.""" import discord from discord.ext import commands import sqlite3 diff --git a/moderation/mute.py b/moderation/mute.py index 2838217..75888b2 100644 --- a/moderation/mute.py +++ b/moderation/mute.py @@ -1,4 +1,3 @@ -"""Mute command with duration parsing and scheduled unmute task.""" import discord from discord.ext import commands, tasks from discord.ui import View, Button diff --git a/moderation/spam_protection.py b/moderation/spam_protection.py index b4582a9..e02f4db 100644 --- a/moderation/spam_protection.py +++ b/moderation/spam_protection.py @@ -1,4 +1,3 @@ -"""Automatic spam detection and rate-limiting with auto-mute.""" import discord from discord.ext import commands, tasks from discord.ui import View, Button diff --git a/moderation/unmmute.py b/moderation/unmmute.py index b78a194..a6c94bc 100644 --- a/moderation/unmmute.py +++ b/moderation/unmmute.py @@ -1,4 +1,3 @@ -"""Unmute command with confirmation prompt.""" import discord from discord.ext import commands from discord.ui import View, Button diff --git a/moderation/warn.py b/moderation/warn.py index c742414..52c6732 100644 --- a/moderation/warn.py +++ b/moderation/warn.py @@ -1,4 +1,3 @@ -"""Warn command that logs infractions and notifies the user.""" import discord from discord.ext import commands from discord.ui import View, Button diff --git a/profiles/__init__.py b/profiles/__init__.py index 4317a17..e69de29 100644 --- a/profiles/__init__.py +++ b/profiles/__init__.py @@ -1 +0,0 @@ -"""User profile card generation and customization.""" diff --git a/profiles/database.py b/profiles/database.py index dae74ef..f5c1984 100644 --- a/profiles/database.py +++ b/profiles/database.py @@ -1,4 +1,3 @@ -"""Profile database helpers for connecting to the profile SQLite database.""" import sqlite3 from pathlib import Path diff --git a/profiles/profiles.py b/profiles/profiles.py index ac3a3ce..7f0c13e 100644 --- a/profiles/profiles.py +++ b/profiles/profiles.py @@ -1,4 +1,3 @@ -"""User profile card generation with custom fonts and avatar overlays.""" import discord from discord.ext import commands from discord import app_commands diff --git a/reminders/__init__.py b/reminders/__init__.py index 4b6268e..e69de29 100644 --- a/reminders/__init__.py +++ b/reminders/__init__.py @@ -1 +0,0 @@ -"""Reminder scheduling and notification system.""" diff --git a/reminders/reminder.py b/reminders/reminder.py index 8a9ead6..563d981 100644 --- a/reminders/reminder.py +++ b/reminders/reminder.py @@ -1,4 +1,3 @@ -"""Reminder cog that lets users set timed reminders via slash commands.""" import discord from discord import app_commands from discord.ext import commands, tasks diff --git a/sparkle/__init__.py b/sparkle/__init__.py index f496bf8..e69de29 100644 --- a/sparkle/__init__.py +++ b/sparkle/__init__.py @@ -1 +0,0 @@ -"""Sparkle currency system for rewarding community engagement.""" diff --git a/sparkle/database.py b/sparkle/database.py index a69abfc..48beb15 100644 --- a/sparkle/database.py +++ b/sparkle/database.py @@ -1,4 +1,3 @@ -"""Sparkle currency database helpers for the sparkle economy.""" import sqlite3 from pathlib import Path diff --git a/sparkle/sparkle_commands.py b/sparkle/sparkle_commands.py index 6424112..bc2d9d5 100644 --- a/sparkle/sparkle_commands.py +++ b/sparkle/sparkle_commands.py @@ -1,4 +1,3 @@ -"""Sparkle currency commands for giving, checking, and viewing sparkle stats.""" import discord from discord.ext import commands from discord import app_commands diff --git a/stats/__init__.py b/stats/__init__.py index 3ce2f63..e69de29 100644 --- a/stats/__init__.py +++ b/stats/__init__.py @@ -1 +0,0 @@ -"""Server statistics tracking and reporting.""" diff --git a/stats/stats.py b/stats/stats.py index a50f618..564535a 100644 --- a/stats/stats.py +++ b/stats/stats.py @@ -1,4 +1,3 @@ -"""Statistics tracking cog: message counts, word frequencies, bot uptime.""" import discord from discord.ext import commands from discord import app_commands diff --git a/suggestion/__init__.py b/suggestion/__init__.py index 957350f..e69de29 100644 --- a/suggestion/__init__.py +++ b/suggestion/__init__.py @@ -1 +0,0 @@ -"""Suggestion submission and review system.""" diff --git a/suggestion/suggest.py b/suggestion/suggest.py index f5d327c..b0abfec 100644 --- a/suggestion/suggest.py +++ b/suggestion/suggest.py @@ -1,4 +1,3 @@ -"""Suggestion system cog with voting, approval, and completion workflow.""" import discord from discord import app_commands from discord.ext import commands diff --git a/utils/__init__.py b/utils/__init__.py index b75821c..e69de29 100644 --- a/utils/__init__.py +++ b/utils/__init__.py @@ -1 +0,0 @@ -"""Shared utilities for the Lacie Discord bot.""" diff --git a/utils/constants.py b/utils/constants.py index b3c6e15..7c582df 100644 --- a/utils/constants.py +++ b/utils/constants.py @@ -1,10 +1,3 @@ -""" -Centralized constants for the Lacie Discord bot. - -All hardcoded IDs (user IDs, guild IDs, channel IDs, role IDs) -are collected here so they can be managed in one place. -""" - # --- Owner / Admin --- LILAC_ID = 252130669919076352 diff --git a/utils/logger.py b/utils/logger.py index 33790ca..cb54eb3 100644 --- a/utils/logger.py +++ b/utils/logger.py @@ -1,10 +1,3 @@ -""" -Centralized logging configuration for the Lacie Discord bot. - -Provides a configured logger factory so all modules use consistent -logging instead of bare print() statements. -""" - import logging import sys diff --git a/wordle/__init__.py b/wordle/__init__.py index e6b9fbf..e69de29 100644 --- a/wordle/__init__.py +++ b/wordle/__init__.py @@ -1 +0,0 @@ -"""Wordle game implementation for Discord.""" diff --git a/wordle/wordle.py b/wordle/wordle.py index 5988e38..cd1f751 100644 --- a/wordle/wordle.py +++ b/wordle/wordle.py @@ -1,4 +1,3 @@ -"""Wordle game cog implementing the daily word-guessing game for Discord.""" import discord from discord import app_commands from discord.ext import commands diff --git a/xp/__init__.py b/xp/__init__.py index 5e44899..e69de29 100644 --- a/xp/__init__.py +++ b/xp/__init__.py @@ -1 +0,0 @@ -"""XP and leveling system with role rewards and leaderboards.""" diff --git a/xp/backup_xp.py b/xp/backup_xp.py index 347a02c..3c2ffd0 100644 --- a/xp/backup_xp.py +++ b/xp/backup_xp.py @@ -1,4 +1,3 @@ -"""XP database backup cog with scheduled daily backups to Discord.""" import discord from discord import app_commands from discord.ext import commands, tasks diff --git a/xp/calculate.py b/xp/calculate.py index d85df36..9f29864 100644 --- a/xp/calculate.py +++ b/xp/calculate.py @@ -1,4 +1,3 @@ -"""XP calculation helpers: awarding XP, handling cooldowns, leveling up.""" import discord from discord import app_commands from discord.ext import commands, tasks diff --git a/xp/database.py b/xp/database.py index 7e6d844..30dbb60 100644 --- a/xp/database.py +++ b/xp/database.py @@ -1,4 +1,3 @@ -"""XP database connection helpers for multiple leaderboard time periods.""" import sqlite3 from pathlib import Path diff --git a/xp/exclude_channels.py b/xp/exclude_channels.py index e3ee544..145461d 100644 --- a/xp/exclude_channels.py +++ b/xp/exclude_channels.py @@ -1,4 +1,3 @@ -"""Utilities for managing channels excluded from XP gain.""" import discord from discord.ext import commands import json diff --git a/xp/groups.py b/xp/groups.py index c853364..39c1448 100644 --- a/xp/groups.py +++ b/xp/groups.py @@ -1,4 +1,3 @@ -"""Shared slash command group definitions for the XP system.""" from discord import app_commands # Public XP commands: /xp rank, /xp top, /xp calculate, /xp sync diff --git a/xp/import_export.py b/xp/import_export.py index 85586b9..54c3e31 100644 --- a/xp/import_export.py +++ b/xp/import_export.py @@ -1,4 +1,3 @@ -"""XP import/export commands for backing up and restoring user XP data.""" import json import asyncio from io import BytesIO diff --git a/xp/leaderboard.py b/xp/leaderboard.py index c21f9d5..1d59e57 100644 --- a/xp/leaderboard.py +++ b/xp/leaderboard.py @@ -1,4 +1,3 @@ -"""XP leaderboard commands showing top users by various time periods.""" import discord from discord.ext import commands from discord import app_commands diff --git a/xp/rank.py b/xp/rank.py index 7a920a4..622dc10 100644 --- a/xp/rank.py +++ b/xp/rank.py @@ -1,4 +1,3 @@ -"""XP rank card generation and rank display commands.""" import discord import time import math diff --git a/xp/reset_task.py b/xp/reset_task.py index 1ea215c..0fc54dc 100644 --- a/xp/reset_task.py +++ b/xp/reset_task.py @@ -1,4 +1,3 @@ -"""Scheduled XP reset tasks for daily, weekly, and monthly leaderboards.""" from discord.ext import tasks, commands from datetime import datetime, timezone from .database import reset_leaderboard, get_last_reset diff --git a/xp/restoredb.py b/xp/restoredb.py index 6fb2991..b68995c 100644 --- a/xp/restoredb.py +++ b/xp/restoredb.py @@ -1,4 +1,3 @@ -"""XP database restore commands for recovering from backups.""" import discord from discord import app_commands from discord.ext import commands diff --git a/xp/sync.py b/xp/sync.py index 5967f4d..4023d13 100644 --- a/xp/sync.py +++ b/xp/sync.py @@ -1,4 +1,3 @@ -"""XP role sync commands that assign Discord roles based on XP level.""" import discord from discord.ext import commands from discord import app_commands diff --git a/xp/utils.py b/xp/utils.py index b76acf8..f804671 100644 --- a/xp/utils.py +++ b/xp/utils.py @@ -1,4 +1,3 @@ -"""XP system utilities: level math, multipliers, config loading.""" import math import random import time