All Questions
Tagged with audio-player discord
26
questions
0
votes
0
answers
63
views
Discord bot is not playing given URL
I am working on a Discord music bot powered by discord-player v6.6.10 and discord.js v14.15.3.
Currently, when the user executes the /play command, the bot properly searches for the given URL, grabs ...
0
votes
0
answers
163
views
The bot connects but does not play music. Discord.js V14
I wanted to make myself a music bot using ytdl in Discord.js V14, but for some reason my player does not accept activity and goes into autopaused. Here is my code for the Play command:
const { Client, ...
0
votes
0
answers
27
views
discord music bot is connecting and accepting the url but its giving me no audio
import discord
import youtube_dl
from discord.ext import commands
from youtube_search import YoutubeSearch
from typing import Union
intents = discord.Intents.all()
#(commands)
bot = commands.Bot(...
0
votes
1
answer
59
views
Python bot does not read messages
Whatever I do my bot simply refuses to read any messages. Messages do not appear in the run menu.
import discord
from discord.ext import commands
import youtube_dl
intents = discord.Intents.default()...
0
votes
1
answer
168
views
Discord js music player bot suddenly leaves
So I made a music bot for discord js that uses discord player package. The command runs perfectly but in the middle song suddenly stops I tried searching everywhere nothing works and i think its an ...
0
votes
1
answer
313
views
I cant seem to sync my / commands to discord [duplicate]
I asked ChatGPT to generate some code for a Discord bot that uses commands prefixed with /. It came up with:
import discord
import asyncio
import aiohttp
from discord import Object
from discord.ext ...
0
votes
0
answers
109
views
Commands not working, and trying to add a queue/ability to add playlists
I'm trying to make a music bot for discord, everything appears to be working. It's turning on and detects the prefix, but when I do "?join" so it joins the Voice Channel it tells me "...
0
votes
1
answer
514
views
Discord.py music bot Wavelink error: `TypeError: Type must meet VoiceProtocol abstract base class.`
The print:
0|Runa | <class 'wavelink.player.Player'>
The error:
0|Runa | vc:wavelink.Player=await ctx.author.voice.channel.connect(cls= wavelink.Player)
0|Runa | File "/...
0
votes
1
answer
227
views
Discord Music Bot: Cannot read properties of undefined
I have completed my bot. When I try to run a command such as /play (LINK) it is stuck thinking. After a brief moment the bot will return this error in the console and stops running:
TypeError: Cannot ...
0
votes
1
answer
400
views
discord.py music used to work but now im getting an error
im not sure what this error is or how to fix it. is it possible to fix or should i just not try.
i searched for this since other people had the same issue, but nothing helped my case.
A while back ...
1
vote
1
answer
5k
views
TypeError: Cannot read properties of null (reading 'play')
I am trying to create a discord bot for the first time in my life so I would like to say that my code is far from being perfect and optimized ^^ '
I have a problem, TypeError: Cannot read properties ...
1
vote
1
answer
2k
views
SyntaxError: 'await' outside async function
So i'm trying to add a queue to my bot. but it gives me the error in the title.
This is the command to add something to the queue:
@commands.command()
async def remove(self, ctx, number):
...
2
votes
1
answer
730
views
Discord.py doesn't play audio
Basically I made a bot that just simply plays music, I made a command that plays the song so you do ?play [url of song] and it will play, now I'm working on a ?search command that you can enter the ...
1
vote
1
answer
705
views
Discord.py: How can I make a queue for a discord music bot?
I want to extend my play method so I can queue multiple songs. I tried to create a list and append songs everytime play is used, but I don't know how to start playing a song once a song has finished ...
1
vote
1
answer
4k
views
Discord.js v13, @discordjs/voice Play Music Command
This is my code,
The command executes perfectly, The bot joins the voice channel and also sends the name of the song its about to play, but it doesnt play the song in the voice channel.
This is my ...