Skip to content

Commit e9430d0

Browse files
committed
Swapped contact position, fixed a slight issue with audit from last update
1 parent 55b25cb commit e9430d0

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This project mostly adheres to [Semantic Versioning](https://semver.org/spec/v2.
77
however, insignificant breaking changes does not guarantee a major version bump, see the reasoning [here](https://github.com/kyb3r/modmail/issues/319).
88

99

10-
# v3.3.2-dev5
10+
# v3.3.2-dev6
1111

1212
(Development update, very likely to be unstable!)
1313

@@ -30,6 +30,7 @@ however, insignificant breaking changes does not guarantee a major version bump,
3030

3131
- The look of alias and snippet when previewing.
3232
- Message ID of the thread embed is saved in DB, instead of the original message.
33+
- Swapped the position of user and category for `?contact`.
3334

3435
### Fixed
3536

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ async def on_guild_channel_delete(self, channel):
986986
mod = entry.user
987987
except AttributeError as e:
988988
# discord.py broken implementation with discord API
989-
logger.warning("Failed to retrieve audit log.", str(e))
989+
logger.warning("Failed to retrieve audit log: %s.", str(e))
990990
return
991991

992992
if mod == self.user:

cogs/modmail.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,9 +878,9 @@ async def edit(self, ctx, message_id: Optional[int] = None, *, message: str):
878878
async def contact(
879879
self,
880880
ctx,
881-
category: Optional[discord.CategoryChannel] = None,
882-
*,
883881
user: Union[discord.Member, discord.User],
882+
*,
883+
category: discord.CategoryChannel = None
884884
):
885885
"""
886886
Create a thread with a specified member.

0 commit comments

Comments
 (0)