@@ -169,7 +169,7 @@ async def c_ai(bot: commands.Bot, msg: discord.Message):
169169
170170async def add_char (ctx : commands .Context , text : str , search_type : int ):
171171 if not ctx .guild : return await ctx .reply ("not supported" )
172- if await command_check (ctx , "c.ai" , "ai" ): return
172+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
173173 # fucked up the perms again
174174 permissions = ctx .channel .permissions_for (ctx .me )
175175 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -196,7 +196,7 @@ async def add_char(ctx: commands.Context, text: str, search_type: int):
196196
197197async def delete_char (ctx : commands .Context ):
198198 if not ctx .guild : return await ctx .reply ("not supported" )
199- if await command_check (ctx , "c.ai" , "ai" ): return
199+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
200200 # fucked up the perms again
201201 permissions = ctx .channel .permissions_for (ctx .me )
202202 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -212,7 +212,7 @@ async def delete_char(ctx: commands.Context):
212212
213213async def t_chan (ctx : commands .Context ):
214214 if not ctx .guild : return await ctx .reply ("not supported" )
215- if await command_check (ctx , "c.ai" , "ai" ): return
215+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
216216 # fucked up the perms again
217217 permissions = ctx .channel .permissions_for (ctx .me )
218218 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -226,7 +226,7 @@ async def t_chan(ctx: commands.Context):
226226
227227async def t_adm (ctx : commands .Context ):
228228 if not ctx .guild : return await ctx .reply ("not supported" )
229- if await command_check (ctx , "c.ai" , "ai" ): return
229+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
230230 # fucked up the perms again
231231 permissions = ctx .channel .permissions_for (ctx .me )
232232 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -239,7 +239,7 @@ async def t_adm(ctx: commands.Context):
239239
240240async def t_mode (ctx : commands .Context ):
241241 if not ctx .guild : return await ctx .reply ("not supported" )
242- if await command_check (ctx , "c.ai" , "ai" ): return
242+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
243243 # fucked up the perms again
244244 permissions = ctx .channel .permissions_for (ctx .me )
245245 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -252,7 +252,7 @@ async def t_mode(ctx: commands.Context):
252252
253253async def set_rate (ctx : commands .Context , num : str ):
254254 if not ctx .guild : return await ctx .reply ("not supported" )
255- if await command_check (ctx , "c.ai" , "ai" ): return
255+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
256256 # fucked up the perms again
257257 permissions = ctx .channel .permissions_for (ctx .me )
258258 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -271,7 +271,7 @@ async def set_rate(ctx: commands.Context, num: str):
271271
272272async def view_char (ctx : commands .Context ):
273273 if not ctx .guild : return await ctx .reply ("not supported" )
274- if await command_check (ctx , "c.ai" , "ai" ): return
274+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
275275 # fucked up the perms again
276276 permissions = ctx .channel .permissions_for (ctx .me )
277277 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -294,7 +294,7 @@ async def view_char(ctx: commands.Context):
294294
295295async def edit_char (ctx : commands .Context , rate : str ):
296296 if not ctx .guild : return await ctx .reply ("not supported" )
297- if await command_check (ctx , "c.ai" , "ai" ): return
297+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
298298 # fucked up the perms again
299299 permissions = ctx .channel .permissions_for (ctx .me )
300300 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -315,7 +315,7 @@ async def edit_char(ctx: commands.Context, rate: str):
315315
316316async def reset_char (ctx : commands .Context ):
317317 if not ctx .guild : return await ctx .reply ("not supported" )
318- if await command_check (ctx , "c.ai" , "ai" ): return
318+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
319319 # fucked up the perms again
320320 permissions = ctx .channel .permissions_for (ctx .me )
321321 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -332,7 +332,7 @@ async def reset_char(ctx: commands.Context):
332332
333333async def set_mention_mode (ctx : commands .Context , modes : str ):
334334 if not ctx .guild : return await ctx .reply ("not supported" )
335- if await command_check (ctx , "c.ai" , "ai" ): return
335+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
336336 # fucked up the perms again
337337 permissions = ctx .channel .permissions_for (ctx .me )
338338 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -364,7 +364,7 @@ async def set_mention_mode(ctx: commands.Context, modes: str):
364364
365365async def voice_mode (ctx : commands .Context ):
366366 if not ctx .guild : return await ctx .reply ("not supported" )
367- if await command_check (ctx , "c.ai" , "ai" ): return
367+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
368368 # fucked up the perms again
369369 permissions = ctx .channel .permissions_for (ctx .me )
370370 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -377,7 +377,7 @@ async def voice_mode(ctx: commands.Context):
377377
378378async def voice_only (ctx : commands .Context ):
379379 if not ctx .guild : return await ctx .reply ("not supported" )
380- if await command_check (ctx , "c.ai" , "ai" ): return
380+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
381381 # fucked up the perms again
382382 permissions = ctx .channel .permissions_for (ctx .me )
383383 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -390,7 +390,7 @@ async def voice_only(ctx: commands.Context):
390390
391391async def voice_search (ctx : commands .Context , text : str ):
392392 if not ctx .guild : return await ctx .reply ("not supported" )
393- if await command_check (ctx , "c.ai" , "ai" ): return
393+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
394394 # fucked up the perms again
395395 permissions = ctx .channel .permissions_for (ctx .me )
396396 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -414,7 +414,7 @@ async def voice_search(ctx: commands.Context, text: str):
414414
415415async def voice_delete (ctx : commands .Context ):
416416 if not ctx .guild : return await ctx .reply ("not supported" )
417- if await command_check (ctx , "c.ai" , "ai" ): return
417+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
418418 # fucked up the perms again
419419 permissions = ctx .channel .permissions_for (ctx .me )
420420 if not permissions .manage_webhooks or not permissions .manage_roles :
@@ -429,7 +429,7 @@ async def voice_delete(ctx: commands.Context):
429429 await ctx .reply (view = DeleteVoiceView (ctx , db ["characters" ], 0 ), embed = view_embed (ctx , db ["characters" ], 0 , 0x808080 ))
430430
431431async def c_help (ctx : commands .Context ):
432- if await command_check (ctx , "c.ai" , "ai" ): return
432+ if await command_check (ctx , "c.ai" , "ai" ): return await ctx . reply ( "command disabled" , ephemeral = True )
433433 p = await get_guild_prefix (ctx )
434434 text = [
435435 "# Character commands" ,
0 commit comments