Skip to content

Commit a2f5731

Browse files
committed
Fix contact
1 parent 83225e9 commit a2f5731

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.10.1"
1+
__version__ = "3.10.0"
22

33

44
import asyncio
@@ -1329,7 +1329,7 @@ async def handle_react_to_contact(self, payload):
13291329
return await member.send(embed=embed)
13301330

13311331
ctx = await self.get_context(message)
1332-
await ctx.invoke(self.get_command("contact"), user=member, manual_trigger=False)
1332+
await ctx.invoke(self.get_command("contact"), users=[member], manual_trigger=False)
13331333

13341334
async def on_raw_reaction_add(self, payload):
13351335
await asyncio.gather(

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ repository = 'https://github.com/kyb3r/modmail'
3434
homepage = 'https://github.com/kyb3r/modmail'
3535
keywords = ['discord', 'modmail']
3636

37-
[tool.pylint.format]
37+
[tool.pylint.format]react_to_contact_message
3838
max-line-length = "110"

0 commit comments

Comments
 (0)