Skip to content

Commit d98a1df

Browse files
committed
Merge branch 'modmail-api' of https://github.com/verixx/modmail into modmail-api
2 parents 4bbb7f6 + bc9a561 commit d98a1df

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

cogs/modmail.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ async def unblock(self, ctx, id=None):
379379
await top_chan.edit(topic=topic)
380380

381381
em.title = 'Success'
382-
em.description = f'{mention} is no longer blocked'
382+
em.description = f'{mention} (`{mention.id}`) is no longer blocked'
383383

384384
await ctx.send(embed=em)
385385
else:
@@ -390,4 +390,4 @@ async def unblock(self, ctx, id=None):
390390
await ctx.send(embed=em)
391391

392392
def setup(bot):
393-
bot.add_cog(Modmail(bot))
393+
bot.add_cog(Modmail(bot))

cogs/utility.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ async def update(self, ctx):
262262

263263
await ctx.send(embed=em)
264264

265-
@commands.command(name="status", aliases=['customstatus', 'presence'])
265+
@commands.command(name='status', aliases=['customstatus', 'presence'])
266266
@commands.has_permissions(administrator=True)
267267
async def _status(self, ctx, *, message):
268268
'''Set a custom playing status for the bot.
@@ -300,7 +300,7 @@ async def ping(self, ctx):
300300
@commands.has_permissions(administrator=True)
301301
async def mention(self, ctx, *, mention=None):
302302
'''Changes what the bot mentions at the start of each thread.'''
303-
current = self.bot.config.get("mention", "@here")
303+
current = self.bot.config.get('mention', '@here')
304304
em = discord.Embed(
305305
title='Current text',
306306
color=discord.Color.green(),
@@ -311,7 +311,7 @@ async def mention(self, ctx, *, mention=None):
311311
await ctx.send(embed=em)
312312
else:
313313
em.title = 'Changed mention!'
314-
em.description = f'On thread creation the bot now says: {mention}'
314+
em.description = f'On thread creation the bot now says {mention}'
315315
self.bot.config['mention'] = mention
316316
await self.bot.config.update()
317317
await ctx.send(embed=em)

0 commit comments

Comments
 (0)