Skip to content

Commit d9f1bae

Browse files
authored
added mod name to closed sess
1 parent 980097a commit d9f1bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ async def disable(self, ctx):
182182
if 'User ID:' in str(chan.topic):
183183
user_id = int(chan.topic.split(': ')[1])
184184
user = self.get_user(user_id)
185-
await user.send('A moderator has closed this modmail session.')
185+
await user.send('{ctx.author.name} has closed this modmail session.')
186186
await chan.delete()
187187
await categ.delete()
188188
await ctx.send('Disabled modmail.')

0 commit comments

Comments
 (0)