From 825cbba8fb9e0cb25e1b98c0b589f1cc928f621d Mon Sep 17 00:00:00 2001 From: hjpalpha <75081997+hjpalpha@users.noreply.github.com> Date: Wed, 23 Aug 2023 19:15:13 +0200 Subject: [PATCH] Add `adminrequestrequirements` text slash command (#45) * add `adminrequestrequirements` slash command --- ftsbot/cogs/textcommands.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/ftsbot/cogs/textcommands.py b/ftsbot/cogs/textcommands.py index 202d667..5a014a9 100644 --- a/ftsbot/cogs/textcommands.py +++ b/ftsbot/cogs/textcommands.py @@ -259,6 +259,37 @@ async def justask( ) ) + @app_commands.command( + description='Tell people the minimum requirements for admin requests!' + ) + async def adminrequestrequirements( + self, + interaction: discord.Interaction + ): + await interaction.response.send_message( + embed=discord.Embed( + colour=discord.Colour(0x00ffff), + title=('What are the minimum requirements for any admin requests?'), + description=( + '__What are the minimum requirements for any admin requests?__\n' + + '- provide an explanation what should be done\n' + + '- be as precise as possible and include links where possible\n' + + ' - for bans, it helps to link to contributions pages or edits that are ban worthy\n' + + ' - for changes on locked pages, link to the page that is to be changed\n' + + ' - for bot runs if you know the exact command it is appreciated, if you do not ' + + 'know it write down exactly what is to be done and on which wiki\n' + + '- explain why it should be done\n' + + ' - for changes on locked pages (e.g. css sheets), this includes specific examples ' + + 'that get fixed/improved due to the change and if possible also a reasoning why it ' + + 'doesn\'t break other stuff\n' + + ' - for bans, it includes the reasons why you think a ban is needed as well as an ' + + 'example (a change they did that you think is ban-worthy)\n' + + '- be polite and patient instead of demanding, remember that admins help on liquipedia ' + + 'voluntarily in their free time' + ) + ) + ) + @app_commands.command( description='Lickypiddy!' )