This commit is contained in:
Slipstream 2025-04-30 10:02:42 -06:00
parent 5b656cc811
commit 48c3bc2214
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -39,7 +39,7 @@ from .config import (
async def get_recent_messages(cog: commands.Cog, limit: int, channel_id: str = None) -> Dict[str, Any]:
"""Get recent messages from a Discord channel"""
from .utils import format_message # Import here to avoid circular dependency at module level
from .utils import format_message # Import here to avoid circular dependency at module level test
limit = min(max(1, limit), 100)
try:
if channel_id: