greenbotdevelopment / green-bot Goto Github PK
View Code? Open in Web Editor NEW🎧 Green-bot is a powerfull discord music bot used in 700k servers!
Home Page: https://green-bot.app
License: Apache License 2.0
🎧 Green-bot is a powerfull discord music bot used in 700k servers!
Home Page: https://green-bot.app
License: Apache License 2.0
Please use winston for create .log files and log the bot. Can you search a bad usage of bot or an error in this.
Bonjour, je rencontre beaucoup d'erreurs avec le bot, beaucoup sont dus aux emojis, mais cela, je parviens un peu près à les gérer.
Mon nouveau problème est la commande .backup create
Je reçois l'erreur "Uncaught TypeError: message.guild.channels.cache.sort(...).array is not a function"
Pouvez-vous m'aider s'il vous plaît ?
Latest package.json commit broke package.json (invalid json). Need to remove last comma in dependencies.
fc18a52
J'ai un problème,
le système de traduction stoppe le code avec cette erreur quand on ne rentre pas d'arguments (dans les commandes avec arguments)
ex: *g-start donne:
Uncaught Error: Translate: Params error: Unknow text ID or missing text
Voilà, Merci d'avance
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version
Please give these versions:
NodeJs:
Green-bot;
Additional context
Add any other context about the problem here.
The bot will see what timestamp of a music a user is at through their discord profile with their Spotify connected and play the music with the timestamp sync on a voice channel.
I've setup a dedicated #controller channel and set it to read only. I'd love if it could auto update every few seconds so the "now playing" part of the controller embed shows properly. Is there a way you could auto update that embed or edit the original message? I haven't looked through the source yet but will do so and submit a PR if I can.
Thanks!
Describe the bug
I have a problem on startup
To Reproduce
Steps to reproduce the behavior: 4
Expected behavior
npm install -> config write -> mongodb on -> lavalink on -> visual studio press f5 start -> error...
Screenshots
https://cdn.discordapp.com/attachments/733567165126541333/988628724754812968/unknown.png
Version
Please give these versions:
NodeJs: 16.15.1
Green-bot; multipropose
Additional context
Greenbot v5 from releases
C:\Users\MrPiesel\Desktop\Green-bot-5(1)\Green-bot-5\index.js:5
const result = await checkConfig(config)
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1031:15)
at Module._compile (node:internal/modules/cjs/loader:1065:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
at node:internal/main/run_main_module:17:47
What about rewriting the bot in typescript? It will offer a better error debugging but we have to compile the code and it could be hard for new users..
On the packge.json starting script not working and add more info its require packges to install
i run npm run start and npm run dev none of them are working
The autoplay function is not working.
The bot say "autoplay enabled", but no song is played after the queue is ended.
Il faudrait explique ce qu'es mongodb
on green bot lot of users connect same channel and clicking the buttion (spam) it delete after but getting lot of spams so can you add it like only user can see messages when button click some users don't connect vc and use buttons it give more spams to server
add ephemeral embeds
itry to add it but when i do that slash command got broke i put buttonhandler.ts to e.deferUpdate()
it brake the slash commands functionality
can you add ephemeral messages like only button clicked user can see it more help full (remove spams)
when I play music my bot gives the play message too late is this due to replit?
for example when I type "!p shape of you" it gives "playing shape of you" too late or sometimes e4vent it don't give the message
po
I changed prefix in config.js from * to Ri! but it still is replying to old prefix only and youtube alerts commands is not working
can't play playlist or track from spotify + soundcloud..
Auto Play / on autoplay after bot queue end it will not autoplay things but i skip the songs it work like it give new song
but after queue end it will not play songs player will stop
this is the error = [Dispatcher => 924888533137764403] Ended received from source undefined . no tracks in queue [Dispatcher => 924888533137764403] Received end event from lavalink websocket (end): [object Object]
Is your feature request related to a problem? Please describe.
Make the music-requests channel to accept any string that is not a command as a play command implicitly
Describe the solution you'd like
For example inside the channel if you entered just a youtube playlist then make the bot play that list without need of using explict play command
Describe the bug
The filters are not working when filters are added the queue gets cleared and the playback stops.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The filters should be applied or if there's some problem inform the user abou that.
Version
Please give these versions:v7
NodeJs:
Green-bot;
Describe the bug
When the queue is created using the controller, the initialVolume is set to 60 instead of the default volume set by the user.
This can be fixed by replacing initialVolume: 60
with initialVolume: guildDB.defaultVolume
in events/discord/messageCreate.js#L103
If user manualy disconnect bot from vc lastmessage will not edit
Very Importent
Slash commands not working imean not loading to guild
i check the code SlashUpdate.ts not connected to anyware i think that why slash commands not loading
add uptime command
Describe the bug
when i try to use the *prefix command it gives me "This command is not available anymore to encourage people to use slash command! All bots will stop answering to commands with a prefix like this one!"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
it would change the prefix
Version
Please give these versions:
NodeJs:
Green-bot;
Additional context
Add any other context about the problem here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.