We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I managed to get the bot to join the server and be online but now my issues is that the slash command do not appear
The text was updated successfully, but these errors were encountered:
I also edited the original code since it did not work for me here it is:
import discord from discord.ext import commands import json import os
with open("config.json", "r") as f: config = json.load(f)
intents = discord.Intents.all() client = discord.Client(intents=intents)
bot = commands.Bot(command_prefix = config["prefix"],intents=intents ) bot.remove_command("help")
for file in os.listdir("./cogs"): if file.endswith(".py"): name = file[:-3] bot.load_extension(f"cogs.{name}")
@bot.event async def on_ready(): print(f"Bot is online") await bot.change_presence(activity=discord.Game(name="big brain | =help"))
try: bot.run(config["token"]) except Exception as err: print(f"Error: {err}")
Sorry, something went wrong.
Hey did u find the answer to this ?
Im having the same issue
No branches or pull requests
I managed to get the bot to join the server and be online but now my issues is that the slash command do not appear
The text was updated successfully, but these errors were encountered: