1
Fork 0
mirror of https://github.com/RGBCube/minearchy-bot synced 2025-07-27 08:57:46 +00:00

Add =staff-application

This commit is contained in:
RGBCube 2022-07-25 15:29:45 +03:00
parent 4185a5cf86
commit 621daea2ff

View file

@ -111,6 +111,21 @@ class MinecraftServer(
) )
await ctx.reply(view=view) 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) @tasks.loop(minutes=5)
async def check_processes_up(self) -> None: async def check_processes_up(self) -> None:
pass pass