Comments (4)
Hello,
Bot worked great until a week ago. I updated it to the latest version but, i get the error in the title anytime i try to use it. It doesn't matter if i give the exact link to the bot or not.
Can you provide more information so I can reproduce this issue?
from dismusic.
My bot's code and the screenshot of the error im getting is below, is there anything else i can provide?
import discord
import requests
from discord.ext import commands, tasks
from env import PASSWORD, TOKEN
bot = commands.Bot(command_prefix='!')
bot.lavalink_nodes = [
{
'host': 'lava.link',
'port': 80,
'password': PASSWORD,
}
]
@bot.event
async def on_ready():
change_status.start()
bot.load_extension('dismusic')
print('Valhalla calling..')
@tasks.loop(minutes=15)
async def change_status():
r = requests.get('https://www.google.com/')
print(r)
await bot.change_presence(
activity=discord.Activity(
name=f'!play In Maidjan',
type=1
)
)
bot.run(TOKEN)
from dismusic.
I think the node is causing problem. Can you try using a different node
from dismusic.
I think the node is causing problem. Can you try using a different node
Yes you were right, it was the node! Thank you!
edit: Is there any way we can implement an error message when the node fails?
from dismusic.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dismusic.