This commit is contained in:
2025-05-20 11:13:49 -04:00
parent b13c2eec2a
commit b3f0e084ce
6 changed files with 58 additions and 403 deletions

View File

@ -58,3 +58,15 @@ async def send_message(
if not isinstance(_channel, discord.TextChannel):
return None
await _channel.send(message)
async def log_to_playground(bot: discord.Bot, message: str) -> None:
"""
Send {message} to playground/log chan
Args:
bot (discord.Bot): Bot instance
message (str): The message to send
Returns:
None
"""
return await send_message(bot=bot, channel="havoc-playground", message=message)