File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ def help_embed(self):
157
157
@commands .has_permissions (administrator = True )
158
158
async def setup (self , ctx , * , modrole : discord .Role = None ):
159
159
'''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 ' ):
161
161
return await ctx .send ('This server is already set up.' )
162
162
163
163
categ = await ctx .guild .create_category (
@@ -285,7 +285,7 @@ async def process_modmail(self, message):
285
285
author = message .author
286
286
topic = f'User ID: { author .id } '
287
287
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 ' )
289
289
290
290
if channel is not None :
291
291
await self .send_mail (message , channel , mod = False )
You can’t perform that action at this time.
0 commit comments