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):
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 )
You can’t perform that action at this time.
0 commit comments