Skip to content

No slash commands returned #712

Closed Answered by exanori1
exanori1 asked this question in Help
Jul 16, 2024 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

Okay i was able to fix it. I followed this other discussion. they suggested to use a different commit and that seems to have done it. Heres my code if any of you want a similar system.

import asyncio
import random
import traceback
from typing import TYPE_CHECKING

import discord
from discord.ext import commands

from tokens import tokens

if TYPE_CHECKING:
    pass

description = None
commands_cache = {}
bot = commands.Bot(
    command_prefix="?!?!?!?!?!?!?",
    description=description,
    self_bot=True,
    help_command=None,
)

TARGET_BOT_ID = # add your values here
TARGET_COMMAND_ID = # add your values here
TARGET_GUILD_ID = # add your values here

@staticmethod
def traceback_maker(err

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@exanori1
Comment options

@MCausc78
Comment options

@exanori1
Comment options

Comment options

You must be logged in to vote
1 reply
@dolfies
Comment options

Answer selected by dolfies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants