mirror of
https://github.com/Specoolazius/mcserver-discordbot.git
synced 2024-11-28 18:59:47 +01:00
empty start stops
This commit is contained in:
parent
3c835bcf38
commit
42904399e9
@ -0,0 +1,18 @@
|
|||||||
|
import discord
|
||||||
|
from discord.commands import slash_command
|
||||||
|
|
||||||
|
from libs import Client
|
||||||
|
|
||||||
|
|
||||||
|
class StartStop(discord.Cog):
|
||||||
|
"""< discord.Cog >
|
||||||
|
|
||||||
|
Extension for starting and stopping the Minecraft server.
|
||||||
|
"""
|
||||||
|
|
||||||
|
def __init__(self, bot: Client):
|
||||||
|
self.bot = bot
|
||||||
|
|
||||||
|
@slash_command(name='start')
|
||||||
|
async def __execute_start(self, ctx: discord.ApplicationContext) -> None:
|
||||||
|
pass
|
Loading…
Reference in New Issue
Block a user