Hello, it's been a while that my slash commands don't appear with my main bot but strangely they appear with my secondary bot.
The main bot already uses prefix commands on 3 different files but even when it's off, the slash commands don't work.
Here is the beginning of my program with the libraries I imported and the "on_ready()" to save my commands.
Can you help me to solve this problem please?
If you need more information about my program or other I can give it to you
import csv
import datetime
from random import randint
import discord
import asyncio
from dotenv import load_dotenv
from discord.utils import get
from discord.ext import commands
import os
intents = discord.Intents(messages = True, guilds = True, reactions = True, members = True, presences = True)
bot = discord.Bot(command_prefix="#",
debug_guilds=[910953201652629586], case_insensitive=True, intents=intents,) # Create a bot object
@bot.event
async def on_ready():
print("Ready !")