i already have 3 perfectly running app_commands, which also get shown when you type in “/” in the discord chat. But when i try to make a 4th one, even a simple one just for testing, now mather how much i sync it doesnt come up in the commands list. And yes, i not only searched in “recently used commands” like an idiot.
Here is my 4th command(which doesnt show up):
its a simple message, nothing fancy.
@app_commands.command(name="tell_me_a_joke",description="tells you a *joke* ;)")
async def joke(self,ctx:discord.Interaction):
await ctx.response.send_message("https://u.gg/lol/profile/euw1/thebausffs-euw/overview")
This is one of the 3 working commands:
@app_commands.command(name="roll_a_dice", description="like the name states, this command roles a dice.")
async def dice(self,ctx: discord.Interaction):
zahl = rs.randint(1,6)
messagelist = [f"The dice shows **{str(zahl)}** eyes.",f"A **{str(zahl)}** was rolled", f"You threw a **{str(zahl)}**"]
await ctx.response.send_message(rs.choice(messagelist))
I even tried kicking the bot from the server and reinviting him, because that solved some problems in the past. I local synced on the guilde and globally. What is the problem? Do i just need to wait longer cuz the discord servers are slow?
FireFly is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.