@@ -77,6 +77,8 @@ async def meme(self, ctx: Context):
77
77
78
78
await ctx .try_reply (embed = e )
79
79
80
+ @app_commands .allowed_contexts (guilds = True , dms = True , private_channels = True )
81
+ @app_commands .allowed_installs (guilds = True , users = True )
80
82
@app_commands .choices (args = [Choice (name = i , value = i ) for i in get_args (FINDSEED_MODES )])
81
83
@app_commands .rename (args = "mode" )
82
84
@cmds .command (
@@ -386,6 +388,8 @@ async def roll(self, ctx, *args):
386
388
]
387
389
return await ctx .try_reply ("You rolled {}" .format (", " .join (results )))
388
390
391
+ @app_commands .allowed_contexts (guilds = True , dms = True , private_channels = True )
392
+ @app_commands .allowed_installs (guilds = True , users = True )
389
393
@cmds .command (
390
394
name = _ ("clap" ),
391
395
aliases = ("👏" ,),
@@ -397,6 +401,8 @@ async def roll(self, ctx, *args):
397
401
async def clap (self , ctx , * , text : str = "" ):
398
402
return await ctx .try_reply (text .replace (" " , " 👏 " ) or " 👏 " )
399
403
404
+ @app_commands .allowed_contexts (guilds = True , dms = True , private_channels = True )
405
+ @app_commands .allowed_installs (guilds = True , users = True )
400
406
@cmds .command (
401
407
name = _ ("barter" ),
402
408
description = _ ("barter-desc" ),
@@ -460,6 +466,8 @@ async def lootTableSuggestion(self, inter, choice):
460
466
rps = (("Before Nerf" , "before" ), ("After Nerfed" , "nerfed" ))
461
467
return [app_commands .Choice (name = i [0 ], value = i [1 ]) for i in rps ]
462
468
469
+ @app_commands .allowed_contexts (guilds = True , dms = True , private_channels = True )
470
+ @app_commands .allowed_installs (guilds = True , users = True )
463
471
@cmds .command (
464
472
name = _ ("findblock" ),
465
473
description = _ ("findblock-desc" ),
0 commit comments