friend added comments for some reason

This commit is contained in:
Lilac-Rose
2026-02-18 03:09:43 +01:00
parent 93c9a777ac
commit 2b3f68a142
70 changed files with 0 additions and 90 deletions

View File

@@ -1 +0,0 @@
"""Birthday tracking and celebration features."""

View File

@@ -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

1
bot.py
View File

@@ -1,4 +1,3 @@
"""Main entry point for the Lacie Discord bot."""
import os
from dotenv import load_dotenv
import discord

View File

@@ -1 +0,0 @@
"""General-purpose bot commands (fun, utility, moderation helpers)."""

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,4 +1,3 @@
"""Minesweeper game cog with an interactive Discord UI."""
import discord
from discord.ext import commands
from discord import app_commands

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1 +0,0 @@
"""Embed color management for consistent bot embed styling."""

View File

@@ -1,4 +1,3 @@
"""Embed color preference system allowing users to set custom embed colors."""
import discord
import sqlite3
from pathlib import Path

View File

@@ -1 +0,0 @@
"""Event listeners and automated monitoring (welcome, webhooks, status alerts)."""

View File

@@ -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

View File

@@ -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

View File

@@ -1,4 +1,3 @@
"""Chain message event listener (reacts to chain messages in channels)."""
import discord
from discord.ext import commands

View File

@@ -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

View File

@@ -1,4 +1,3 @@
"""Goodbot/badbot event listener that reacts to compliments or insults."""
import discord
from discord.ext import commands

View File

@@ -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

View File

@@ -1,4 +1,3 @@
"""Welcome event cog that greets new members and assigns default roles."""
import discord
from discord.ext import commands

View File

@@ -1 +0,0 @@
"""Image generation and avatar manipulation commands."""

View File

@@ -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

View File

@@ -1 +0,0 @@
"""Administrative tools and bot management commands for the bot owner."""

View File

@@ -1,4 +1,3 @@
"""Owner-only admin tools: database browser, terminal, eval, file manager."""
import discord
from discord.ext import commands
import aiosqlite

View File

@@ -1 +0,0 @@
"""Moderation tools and admin permission management."""

View File

@@ -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

View File

@@ -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

View File

@@ -1,4 +1,3 @@
"""Infraction logging and retrieval system for moderation actions."""
import discord
from discord.ext import commands, tasks
from .loader import ModerationBase

View File

@@ -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

View File

@@ -1,4 +1,3 @@
"""Shared ModerationBase cog with DB connection and is_admin() decorator."""
from discord.ext import commands
import os
import sqlite3

View File

@@ -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

View File

@@ -1,4 +1,3 @@
"""Moderation event logger that records Discord actions to the database."""
import discord
from discord.ext import commands
import sqlite3

View File

@@ -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

View File

@@ -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

View File

@@ -1,4 +1,3 @@
"""Unmute command with confirmation prompt."""
import discord
from discord.ext import commands
from discord.ui import View, Button

View File

@@ -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

View File

@@ -1 +0,0 @@
"""User profile card generation and customization."""

View File

@@ -1,4 +1,3 @@
"""Profile database helpers for connecting to the profile SQLite database."""
import sqlite3
from pathlib import Path

View File

@@ -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

View File

@@ -1 +0,0 @@
"""Reminder scheduling and notification system."""

View File

@@ -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

View File

@@ -1 +0,0 @@
"""Sparkle currency system for rewarding community engagement."""

View File

@@ -1,4 +1,3 @@
"""Sparkle currency database helpers for the sparkle economy."""
import sqlite3
from pathlib import Path

View File

@@ -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

View File

@@ -1 +0,0 @@
"""Server statistics tracking and reporting."""

View File

@@ -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

View File

@@ -1 +0,0 @@
"""Suggestion submission and review system."""

View File

@@ -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

View File

@@ -1 +0,0 @@
"""Shared utilities for the Lacie Discord bot."""

View File

@@ -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

View File

@@ -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

View File

@@ -1 +0,0 @@
"""Wordle game implementation for Discord."""

View File

@@ -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

View File

@@ -1 +0,0 @@
"""XP and leveling system with role rewards and leaderboards."""

View File

@@ -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

View File

@@ -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

View File

@@ -1,4 +1,3 @@
"""XP database connection helpers for multiple leaderboard time periods."""
import sqlite3
from pathlib import Path

View File

@@ -1,4 +1,3 @@
"""Utilities for managing channels excluded from XP gain."""
import discord
from discord.ext import commands
import json

View File

@@ -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

View File

@@ -1,4 +1,3 @@
"""XP import/export commands for backing up and restoring user XP data."""
import json
import asyncio
from io import BytesIO

View File

@@ -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

View File

@@ -1,4 +1,3 @@
"""XP rank card generation and rank display commands."""
import discord
import time
import math

View File

@@ -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

View File

@@ -1,4 +1,3 @@
"""XP database restore commands for recovering from backups."""
import discord
from discord import app_commands
from discord.ext import commands

View File

@@ -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

View File

@@ -1,4 +1,3 @@
"""XP system utilities: level math, multipliers, config loading."""
import math
import random
import time