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:
parent
4185a5cf86
commit
621daea2ff
1 changed files with 15 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue