1
0
Fork 0
mirror of https://code.lenaisten.de/Lenaisten/lenaverse-bot.git synced 2024-11-22 15:03:01 +00:00
lenaverse-bot/lenaverse_bot/core/_helpers.py
Jörn-Michael Miehe d3b7a445c5 FileCommand: get on demand
- remove files directory
- remove git lfs
- use `aiohttp` to fetch files
2023-11-20 14:29:39 +01:00

15 lines
325 B
Python

import discord
from discord.app_commands import locale_str
from discord.utils import MISSING
from .config import CONFIG
def ev_command(
name: str,
description: str | locale_str = MISSING,
):
return discord.app_commands.command(
name=CONFIG.command_prefix + name,
description=description,
)