discord bot that plays music in a voice channel discord

Music discord bot by serje3

Description

A bot written in the Golang language plays music on your server's voice channel on Discord. It can be built and used on any platform that Go supports.

Documentation

Coming soon...

Installation

Coming soon...

Technologies

Contact me

LinkedIn Badge Discord Badge Telegram Badge

Owner
Сергей Ерин
Backend / Frontend developer
Сергей Ерин
Comments
  • Basic bot functions

    Basic bot functions

    All commands begin with the prefix specified in the settings.


    • [x] join : Bot joins the voice channel
    • [x] stop: Bot stops playing audio and exits the voice channel

    This is what I need now. The list will continue to grow

  • Make the bot run through a built exe

    Make the bot run through a built exe

    Doesn't work now because the token needs to be specified outside of the code

    Soo... simple solution to this

    When you run the exe file, a cfg file will be created and in the console you will need to enter the token, then it will be saved in the cfg file.

    Token values and maybe other settings will be contained in the config.cfg file

  • Moving settings.go to config.cfg

    Moving settings.go to config.cfg

    Why do I need settings.go, when I have config.cfg ??? I can't change settings.go in build mode

    Here the checklist:

    • [x] Rename settings.go to config.go and write here function for get value from config.cfg with error handling
    • [x] Simplify code in main.go that uses configparser
  • Added config settings + set log output to logfile.log

    Added config settings + set log output to logfile.log

    #2 Features:

    • When the program starts - a config.cfg file is created, which stores various bot settings (for now on only token value)
    • Logfile will be changed every time the program ends.
    • Improved the code
  • Add music player function to bot

    Add music player function to bot

    The concept is

    First, the bot downloads an audio track from Youtube, then it broadcasts the downloaded track to discord.

    It might be better to stream the video directly from Youtube and not clutter up your storage space. I'll take care of that later.

    Here is a checklist:

    • [x] Create a parser for YouTube videos
    • [x] Create a play the audio function
    • [x] Create a stop the audio function
  • Receive stream url right before calling PlayAudioFile

    Receive stream url right before calling PlayAudioFile

    This is important for queues for example: 1.10 hours video 2.something else ... 2 video after playing the first one does not play. Because we get the stream url immediately after calling the Play command, and during this time (10hrs) link on 2 video expires

  • Add audio filter options to play function.

    Add audio filter options to play function.

    Add audio filter options to play function.

    Maybe ffmpeg filters can help, but the user will not be able to change filters in the audio runtime. Only if Play function was called, and filters will not change until the end of playback. Need to think about it.

    Originally posted by @serje3 in https://github.com/serje3/music-discord-bot/issues/7#issuecomment-968093947

🕌 Iftar Bot, Plays Ezan sound on iftar time (Ramadan special ✨)

?? Iftar Bot Plays Ezan sound on iftar time (Ramadan special ✨ ) ?? Running Download go Clone repo copy .env.example as .env and fill required blanks

Jul 22, 2022
Bot - Telegram Music Bot in Go

Telegram Music Bot in Go An example bot using gotgcalls. Setup Install the serve

Jun 28, 2022
Slack-emoji-bot - This Slack bot will post the newly created custom Slack emojis to the channel of your choice

Slack Emoji Bot This Slack bot will post the newly created custom Slack emojis t

Oct 21, 2022
A discord bot that watches for tiktok URL's and automatically uploads the corresponding video to the channel

TikiTok Bot A Discord bot that watches for TikTok URLs and sends a message to the channel with the corresponding video attached Click to invite the bo

Jul 28, 2022
A Discord bot for downloading attachments from channel messages.
A Discord bot for downloading attachments from channel messages.

dcdl This is a Discord bot for downloading attachments from channel messages. Setup First, set up a Discord bot application (see here how to do so). N

May 11, 2022
Discord-bot - A Discord bot with golang

JS discord bots Install Clone repo git clone https://github.com/fu-js/discord-bo

Aug 2, 2022
Music recognition bot for Reddit powered by audd.io. Note that the code currently needs some cleaning up and doesn't follow the best practices.

Music recognition bot for Reddit u/auddbot identifies music on Reddit. When someone mentions it or writes a question like "what's the song", it sends

Dec 30, 2022
Instagram to Telegram Channel Bot.

InstaTG Instagram to Telegram Channel Bot. Can access posts from any public Instagram account or an account that you follow. Features Keeps track of e

Nov 16, 2022
Simple telegram Bot to ban Anonymous Channel users in a group

Restrict Channel Robot Telegram Bot, written in GoLang to delete messages and ban anonymous users who send as channel in groups. Can be found on teleg

Dec 20, 2022
A telegram bot to ban the chat spammers by channel, made with Golang.

ChannelBot A telegram bot to ban channels spamming chat. Vars TOKEN - Your Telegram Bot Token (@BotFather) More Information With the latest update of

Nov 8, 2022
This slack-bot collects all @gophers notifications into one slack channel

slack-bot Slack bot copying reference to a ping to notifications channel The bot is designed to listen on messages containing specific tag, copy refer

Apr 11, 2022
Discord rich presence for MPRIS music players.
Discord rich presence for MPRIS music players.

Clematis Discord rich presence for MPRIS music players. Clematis provides a rich presence for MPRIS-supported music players. It will take information

Dec 20, 2022
InStockBot notifies a selected Discord channel when a specific product is back in stock

InStockBot notifies a selected Discord channel when a specific product is back in stock

Jan 20, 2022
Bot-template - A simple bot template for creating a bot which includes a config, postgresql database

bot-template This is a simple bot template for creating a bot which includes a c

Sep 9, 2022
Feline-bot - Feline Bot for Discord using Golang

Feline Bot for Discord Development This bot is implemented using Golang. Feature

Feb 10, 2022
A simple Discord bot developed for the Bedrock Gophers discord server.

Bedrock Gopher A simple Discord bot developed for the Bedrock Gophers discord server. Click here to invite the bot to your guild. You will also need t

Mar 12, 2022
"Ukaska" is a MongoDB image with a built-in backup to Telegram channel

Ukaska Ukaska (eng. Pointer) - is docker image with mongodb, that has builtin backup to Telegram Getting Started Build with Docker Mongo DB docker ima

Jun 28, 2022
Tg-channel-api - A JSON API for latest messages of public Telegram channels

Telegram Channel API A JSON API for latest messages of public Telegram channels.

Oct 27, 2022
Auto send check-in message to Slack channel at a specific time.
Auto send check-in message to Slack channel at a specific time.

Auto Slack Check-in auto-slack-checkin is a command line interface (CLI) that sends check-in or check-out message for you while you are sleeping ??.

Feb 15, 2022