Giter Club home page Giter Club logo

green-bot's Issues

Use Logger for bot

Please use winston for create .log files and log the bot. Can you search a bad usage of bot or an error in this.

Help

Commands which require you to type enable and disable do not work such as boost-message , anti-dc and many more and when you use command *help [any command] status always is ✅ even if it the command is not enabled
Example
anti-dc command
IMG_20220220_184611
youtube-alerts command
IMG_20220220_185139

Code qui ferme quand .backup create

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 ?

Invalid Package.Json

Latest package.json commit broke package.json (invalid json). Need to remove last comma in dependencies.
fc18a52

Bot Is Not Playing Music

I am using green bot open source code but when I am trying to play music in it it's showing now playing and song name and then directly shows queue conclude and also when I am trying to use skip command it's showing error I am attaching the screenshot.

Thanks.
IMG_20220615_150546

mising script start

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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.

Auto update controller embed

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!

Bug?

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

Typescript rewrite??? 🤔

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..

Bot not starting

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

Autoplay not working

The autoplay function is not working.
The bot say "autoplay enabled", but no song is played after the queue is ended.

Message spam

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)

Slow bot

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

Prefix not changing

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

Bug Report

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]

Make the music-requests play command implicitly

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

The filters are not working when filters are added.

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:

  1. apply any filter 'appy filters'

Expected behavior
The filters should be applied or if there's some problem inform the user abou that.

Screenshots
1642071836983.

Version
Please give these versions:v7
NodeJs:
Green-bot;

Default volume not working when using the controller

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

Bug Report

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

prefix command doesnt work

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:

  1. use the prefix command
  2. see error

Expected behavior
it would change the prefix

Screenshots
image

Version
Please give these versions:
NodeJs:
Green-bot;

Additional context
Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.