16 lines
541 B
Python
16 lines
541 B
Python
"""Get command hierarchy."""
|
|
|
|
import nextcord
|
|
from nextcord.ext import commands
|
|
|
|
|
|
class GetCog(commands.Cog, name="Get command."):
|
|
"""Class holds commands for setting variables in guild's database."""
|
|
|
|
def __init__(self) -> None:
|
|
"""Default constructor for SetCog class. Does nothing."""
|
|
|
|
@nextcord.slash_command(default_member_permissions=nextcord.Permissions(administrator=True))
|
|
async def get(self, interaction: nextcord.Interaction) -> None:
|
|
"""Parent slash command for setting settings. Never called."""
|