misc/rm
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user