send all arguments after channel id when using custommsg command

This commit is contained in:
leander committed 2026-10-24 04:29:17 +02:00
1 parent 44a39bba5a
commit b66384e27e
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ class DevTools(commands.Cog):
name="custommsg",
description="Send en melding til hvilken som helst kanal på hvilken som helst server botten er i",
)
async def custommsg(self, ctx: commands.Context, channel: int, text: str):
async def custommsg(self, ctx: commands.Context, channel: int, *, text: str):
"""
Send a message to any channel on any server the bot is in