From 621daea2ff763cf252ef690bc092336e0379a80d Mon Sep 17 00:00:00 2001 From: RGBCube Date: Mon, 25 Jul 2022 15:29:45 +0300 Subject: [PATCH] Add =staff-application --- cogs/mc_server.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/cogs/mc_server.py b/cogs/mc_server.py index a17beef..ddfd85b 100644 --- a/cogs/mc_server.py +++ b/cogs/mc_server.py @@ -111,6 +111,21 @@ class MinecraftServer( ) await ctx.reply(view=view) + @commands.command( + aliases=["apply", "staffapply", "applystaff", "applyforstaff", "staff-application", "staff-applications", "staff_applications"], + brief="Sends the link to the staff application.", + help="Sends the link to the staff application.", + ) + async def staff_application(self, ctx: commands.Context) -> None: + view = discord.ui.View() + view.add_item( + discord.ui.Button( + label="Apply for staff!", + url="https://docs.google.com/forms/d/1I7Rh_e-ZTXm5L51XoKZsOAk7NAJcHomUUCuOlQcARvY/viewform", + ) + ) + await ctx.reply(view=view) + @tasks.loop(minutes=5) async def check_processes_up(self) -> None: pass