@@ -521,7 +521,7 @@ async def takehelp(self, ctx: GuildContext, member: discord.Member | discord.Use
521521
522522 @is_staff ("Helper" )
523523 @commands .guild_only ()
524- @commands .command (aliases = ["yeshelp" ])
524+ @commands .command (aliases = ["yeshelp" , "nonthelp" ])
525525 async def givehelp (self , ctx : GuildContext , member : discord .Member | discord .User , * , reason : Optional [str ]):
526526 """Restore access to the assistance channels. Staff and Helpers only."""
527527 await self .restrictions .remove_restriction (member , Restriction .TakeHelp )
@@ -530,7 +530,7 @@ async def givehelp(self, ctx: GuildContext, member: discord.Member | discord.Use
530530
531531 @is_staff ("Helper" )
532532 @commands .guild_only ()
533- @commands .command (aliases = ["timenohelp" ])
533+ @commands .command (aliases = ["timenohelp" , "timeyesnthelp" ])
534534 async def timetakehelp (self , ctx : GuildContext , member : discord .Member , length : int = commands .parameter (converter = DateOrTimeToSecondsConverter ), * , reason : Optional [str ]):
535535 """Restricts a user from Assistance Channels for a limited period of time. Staff and Helpers only.\n \n Length format: #d#h#m#s"""
536536 if await check_bot_or_staff (ctx , member , "takehelp" ):
@@ -542,9 +542,10 @@ async def timetakehelp(self, ctx: GuildContext, member: discord.Member, length:
542542 timestamp = datetime .now (self .bot .tz )
543543
544544 takehelp_expiration = timestamp + delta
545+ yeshelp_time_string = format_dt (takehelp_expiration )
545546
546547 await self .restrictions .add_restriction (member , Restriction .TakeHelp , reason , end_date = takehelp_expiration )
547- await ctx .send (f"{ member .mention } can no longer speak in Assistance Channels ." )
548+ await ctx .send (f"{ member .mention } can no longer access the help channels until { yeshelp_time_string } ." )
548549 await self .logs .post_action_log (issuer , member , 'take-help' , reason = reason , until = takehelp_expiration )
549550
550551 @is_staff ("Helper" )
0 commit comments