I put the bot in an other PC and get this errors C:\Users\Monpote\Downloads\python\Vocard-main>python main.py Traceback (most recent call last): File "C:\Users\Monpote\Downloads\python\Vocard-main\main.py", line 1, in <module> import discord File "C:\Users\Monpote\AppData\Local\Programs\Python\Python313\Lib\site-packages\discord\__init__.py", line 23, in <module> from .client import * File "C:\Users\Monpote\AppData\Local\Programs\Python\Python313\Lib\site-packages\discord\client.py", line 51, in <module> from .sku import SKU, Entitlement File "C:\Users\Monpote\AppData\Local\Programs\Python\Python313\Lib\site-packages\discord\sku.py", line 31, in <module> from .app_commands import MissingApplicationID File "C:\Users\Monpote\AppData\Local\Programs\Python\Python313\Lib\site-packages\discord\app_commands\__init__.py", line 12, in <module> from .commands import * File "C:\Users\Monpote\AppData\Local\Programs\Python\Python313\Lib\site-packages\discord\app_commands\commands.py", line 53, in <module> from .models import Choice File "C:\Users\Monpote\AppData\Local\Programs\Python\Python313\Lib\site-packages\discord\app_commands\models.py", line 44, in <module> from ..member import Member File "C:\Users\Monpote\AppData\Local\Programs\Python\Python313\Lib\site-packages\discord\member.py", line 33, in <module> import discord.abc File "C:\Users\Monpote\AppData\Local\Programs\Python\Python313\Lib\site-packages\discord\abc.py", line 59, in <module> from .voice_client import VoiceClient, VoiceProtocol File "C:\Users\Monpote\AppData\Local\Programs\Python\Python313\Lib\site-packages\discord\voice_client.py", line 35, in <module> from .player import AudioPlayer, AudioSource File "C:\Users\Monpote\AppData\Local\Programs\Python\Python313\Lib\site-packages\discord\player.py", line 29, in <module> import audioop ModuleNotFoundError: No module named 'audioop'
#ModuleNotFoundError on startup
1 messages · Page 1 of 1 (latest)
Use python 3.12 or 3.11
I'll try now give me a sec
Now I get this error Traceback (most recent call last): File "C:\Users\Monpote\Downloads\python\Vocard-main\main.py", line 7, in <module> import function as func File "C:\Users\Monpote\Downloads\python\Vocard-main\function.py", line 14, in <module> from motor.motor_asyncio import ( File "C:\Users\Monpote\AppData\Local\Programs\Python\Python312\Lib\site-packages\motor\motor_asyncio.py", line 16, in <module> from . import core, motor_gridfs File "C:\Users\Monpote\AppData\Local\Programs\Python\Python312\Lib\site-packages\motor\core.py", line 30, in <module> from pymongo.cursor import _QUERY_OPTIONS, Cursor, RawBatchCursor ImportError: cannot import name '_QUERY_OPTIONS' from 'pymongo.cursor' (C:\Users\Monpote\AppData\Local\Programs\Python\Python312\Lib\site-packages\pymongo\cursor.py)
discord.py==2.4.0
motor==3.6.0
dnspython==2.2.1
tldextract==3.2.1
validators==0.18.2
humanize==4.0.0
beautifulsoup4==4.11.1
psutil==5.9.8
use this requirements.txt
it does this with all songs spotify songs and yes I did the youtube trusted seasion
use oauth, don't use ptoken
please read the note of their docs
ModuleNotFoundError on startup
nope that dosen't work
have you login with your google account?
no
how do you do that ?
it already mentioned in the docs
I am sorry but I didn't understend how do you get the Oauth token
Google Cloud Platform lets you build, deploy, and scale applications, websites, and services on the same infrastructure as Google.
you don't need get any token
you just have to click the google oauth link in your lavalink server
and fill in the code and login with your google account
I didn't get any link
you will see something like this https://accounts.google.com/device
ye I know but I don't find
that's mean you didn't installed the plugin correctly
hmmm..
I think it is correctly installed
│ application.yml
│ Lavalink.jar
│
├───logs
└───plugins
skybot-lavalink-plugin-1.7.0.jar
youtube-plugin-1.8.3.jar
Not bad
your settings is wrong (why you place the plugin settings here?)
youtube:
enabled: true
oauth:
enabled: true
this is how you install the plugin
this is how you config your plugin
there are in the same root
oh ye thx
plugins:
- dependency: dev.lavalink.youtube:youtube-plugin:1.8.3
snapshot: false
- dependency: "com.dunctebot:skybot-lavalink-plugin:1.7.0"
repository : "https://maven.lavalink.dev/#/releases"
snapshot: false
server:
bufferDurationMs: 400
filters:
channelMix: true
distortion: true
equalizer: true
karaoke: true
lowPass: true
rotation: true
timescale: true
tremolo: true
vibrato: true
volume: true
frameBufferDurationMs: 5000
gc-warnings: true
opusEncodingQuality: 10
password: pass # Keep the password here under this server block
playerUpdateInterval: 5
resamplingQuality: LOW
soundcloudSearchEnabled: true
sources:
bandcamp: true
http: true
local: false
soundcloud: true
twitch: true
vimeo: true
youtube: false
trackStuckThresholdMs: 10000
useSeekGhosting: true
youtubePlaylistLoadLimit: 6
youtubeSearchEnabled: true
plugins:
youtube:
enabled: true
oauth:
enabled: true
refreshToken: "refreshToken"
logging:
file:
path: ./logs/
level:
lavalink: INFO
root: INFO
logback:
rollingpolicy:
max-file-size: 1GB
max-history: 30
request:
enabled: true
includeClientInfo: true
includeHeaders: false
includePayload: true
includeQueryString: true
maxPayloadLength: 10000
metrics:
prometheus:
enabled: false
endpoint: /metrics
server: # Make sure this block is here only once
address: 0.0.0.0
http2:
enabled: false
port: 2333
this is the application.yml that works for me 👍