Skip to content

Commit 9c576f2

Browse files
committed
Fix sending image only messages
1 parent f5b1fc5 commit 9c576f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cogs/modmail.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ async def logs_search(self, ctx, limit: Optional[int] = None, *, query):
517517
@commands.command()
518518
@checks.has_permissions(PermissionLevel.SUPPORTER)
519519
@checks.thread_only()
520-
async def reply(self, ctx, *, msg: str):
520+
async def reply(self, ctx, *, msg: str=''):
521521
"""Reply to users using this command.
522522
523523
Supports attachments and images as well as
@@ -530,7 +530,7 @@ async def reply(self, ctx, *, msg: str):
530530
@commands.command()
531531
@checks.has_permissions(PermissionLevel.SUPPORTER)
532532
@checks.thread_only()
533-
async def anonreply(self, ctx, *, msg: str):
533+
async def anonreply(self, ctx, *, msg: str=''):
534534
"""Reply to a thread anonymously.
535535
536536
You can edit the anonymous user's name,
@@ -546,7 +546,7 @@ async def anonreply(self, ctx, *, msg: str):
546546
@commands.command()
547547
@checks.has_permissions(PermissionLevel.SUPPORTER)
548548
@checks.thread_only()
549-
async def note(self, ctx, *, msg: str):
549+
async def note(self, ctx, *, msg: str=''):
550550
"""Take a note about the current thread, useful for noting context."""
551551
ctx.message.content = msg
552552
async with ctx.typing():

0 commit comments

Comments
 (0)