#Why can't I use my command in DM?

1 messages · Page 1 of 1 (latest)

rose reef
#

I can only use it in guild

Here is my code:

from interactions import (
    Embed,
    slash_command,
    SlashContext,
    Extension
)


from fac_lib import functions
file_path = 'commands/help_commands.fac'

class help(Extension):
    @slash_command(
        name="help",
        description=functions.read(file=file_path).get("help"),
        dm_permission=True,
        default_member_permissions=None
    )
    async def help_function(self, ctx: SlashContext):
        print("/help executed!")
lusty sphinxBOT
#

Hey! Once your issue is solved, press the button below to close this thread!