Giter Site home page Giter Site logo

discord-bot's Introduction

Discord-Bot

A Discord C#/.NET Bot

This Discord bot is a chat and voice bot coded in C# with Discord.Net

This bot is built to be run on any .NET Framework compatible machine. It is meant for single server usage due to the heavy amount of resources the voice part consumes.

This bot currently is still in development, further changes to come.

To Install:

To install do the following:

  • Clone our repo.
  • Compile with Visual Studio, and it should be ready to go.
  • Modify config.json with your bot token and other settings.
    • Move this file to the same folder as your executable.

Resources

discord-bot's People

Contributors

domnguyen avatar sebastiandang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

discord-bot's Issues

Youtube-dl audio quality

Found audio quality issues with streaming using youtube-dl.exe and ffmpeg.exe

May be due to the fixed byte size, network bandwidth, or volume adjustments.

Cases :
Audio will buffer and pause before playing the rest of the song.
Audio will stutter or create static noise.
Audio will be delayed when opening and Sleep longer than the allocated Sleep time.

!ban Not working

Hi, i'm trying to ban someone with the command !ban.
But when i send the command the bot return "User not found." What can i do to correct this ?

Thanks

Pull YT / Soundcloud Clips Title

Once user uses !play [url] , we want to:

  1. Pull the Title of the Song/Video
  2. Set the "playing" field of the bot as the title
  3. Reply with "Now Playing" and insert the title.

api key

hi dude
what is api key and how can i got it?

Bot is not playing any songs.

When i do
!join
then
!play https://www.youtube.com/watch?v=JGwWNGJdvx8
Bot reply: Now playing: //nothing there
and logs are: Unknown OpCode(14) or Unknown OpCode(8)
And no music is played

Unknown command.

while trying to add new command (in code) bot respond "Unknown command."

problem disappeared ๐Ÿ˜„

Connecting and Disconnecting Multiple Times

Connecting and Disconnecting multiple times causes it to block itself and get stuck on connecting the next time.

In AudioService.cs :

await target.ConnectAsync();

  1. Attempts to connect, but doesn't indicate connected. Possible stuck on an IVoiceChannel loop.
  2. Can't kill the process, so new commands for connecting/disconnecting wait for this process to finish.

Audio Issues***Plays song but wont play the next**

Hello,

Discord bot will play a song with not problem. But as soon as it changes to a new song it will stop. I have to restart the bot all over again in order to play a new song. Any idea why its doing this? After playing the 2nd song which stops discord bot will just spam this message "Sent Speaking" over & over again.

image

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.