#module 'discord' has no attribute 'app_commands'

1 messages · Page 1 of 1 (latest)

lethal anvil
#

I am getting this error when I run main.py (I have already installed dependancies)
There is an incompatibility with nextcord so which version should I install specifically and what commands should I type to do so?

#

then re installed nextcord

#

but then it gives me this error :
$ "C:/Users/Kartikey Seth/AppData/Local/Programs/Python/Python312/python.exe" k:/CODE/TPHBOT/Vocard/main.py
Traceback (most recent call last):
File "k:\CODE\TPHBOT\Vocard\main.py", line 7, in <module>
import function as func
File "k:\CODE\TPHBOT\Vocard\function.py", line 6, in <module>
from discord.ext import commands
ImportError: cannot import name 'commands' from 'discord.ext' (unknown location)

pure marsh
lethal anvil
#

nvm got it to work

#

but now I am getting this on the server

pure marsh
#

make sure your db have playlist and settings collections

lethal anvil
#

they do

#

P capital S capital

pure marsh
#

can you send me the error logs?

lethal anvil
#

oh I see the issue

pure marsh
#

by run /debug and press the send log button

lethal anvil
#

it is a lavalink issue

pure marsh
#

yea

lethal anvil
#

lemme try another lavalink

#

I was using this

#

but they do not give the identifier on this website

#

is there a way I can find out the identifier

pure marsh
#

make sure are you using lavalink v4.0.0 if you on Vocard v.2.6.7

pure marsh
lethal anvil
#

ah ok

#

im using default

pure marsh
#

yea that's ok

lethal anvil
#

I'll try other servers
if it doesn't work I'll make my own server

#

thanks man

pure marsh
#

no problem

lethal anvil
#

love your tutorial and readme very simple to follow

pure marsh