Skip to content

Commit cb9ed08

Browse files
authored
Merge pull request #7 from fourjr/patch-2
Missed some modmail out
2 parents d6dd59d + f886878 commit cb9ed08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def help_embed(self):
157157
@commands.has_permissions(administrator=True)
158158
async def setup(self, ctx, *, modrole: discord.Role=None):
159159
'''Sets up a server for modmail'''
160-
if discord.utils.get(ctx.guild.categories, name='modmail'):
160+
if discord.utils.get(ctx.guild.categories, name='Mod Mail'):
161161
return await ctx.send('This server is already set up.')
162162

163163
categ = await ctx.guild.create_category(
@@ -285,7 +285,7 @@ async def process_modmail(self, message):
285285
author = message.author
286286
topic = f'User ID: {author.id}'
287287
channel = discord.utils.get(guild.text_channels, topic=topic)
288-
categ = discord.utils.get(guild.categories, name='modmail')
288+
categ = discord.utils.get(guild.categories, name='Mod Mail')
289289

290290
if channel is not None:
291291
await self.send_mail(message, channel, mod=False)

0 commit comments

Comments
 (0)