File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def main():
108108
109109@bot .slash_command (name = "create_ctf_channel" , description = "Create a CTF channel in the CTF category" )
110110async def create_CTF_channel (ctx , channel_name :str ):
111- category_name = "CTF"
111+ category_name = "Incoming/Running CTF"
112112 guild = ctx .guild
113113 category = discord .utils .get (ctx .guild .categories , name = category_name )
114114
@@ -118,7 +118,8 @@ async def create_CTF_channel(ctx, channel_name:str):
118118
119119 overwrites = {
120120 guild .default_role : discord .PermissionOverwrite (view_channel = False ),
121- ctx .author : discord .PermissionOverwrite (view_channel = True )
121+ ctx .author : discord .PermissionOverwrite (view_channel = True ),
122+ guild .me : discord .PermissionOverwrite (view_channel = True )
122123 }
123124
124125 try :
You can’t perform that action at this time.
0 commit comments