Skip to content

Commit b6f528b

Browse files
committed
Fixed keyboardinteruppt
1 parent 75ca81f commit b6f528b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ async def setup(self, ctx):
143143
await categ.edit(position=0)
144144
await ctx.send('Successfully set up server.')
145145

146-
@commands.command()
146+
@commands.command(name='close')
147147
@commands.has_permissions(manage_guild=True)
148-
async def close(self, ctx):
148+
async def _close(self, ctx):
149149
user_id = int(ctx.channel.topic.split(': ')[1])
150150
user = self.get_user(user_id)
151151
await user.send('A moderator has closed this modmail session.')
@@ -242,7 +242,7 @@ async def process_modmail(self, message):
242242
category=categ
243243
)
244244
await channel.edit(topic=topic)
245-
await channel.send(embed=self.format_info(author))
245+
await channel.send('@here', embed=self.format_info(author))
246246
await self.send_mail(message, channel)
247247

248248
async def on_message(self, message):

0 commit comments

Comments
 (0)