Skip to content
A discord bot that play sound effects in voice channel
Python
Branch: master
Clone or download
Latest commit 5b41687 Oct 26, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update effect-merge-request.md Jun 25, 2019
.vscode poggers update Oct 22, 2019
doot-doot Update main.py Oct 25, 2019
.gitignore Massive overhaul and update to discord.py 1.2.4 Oct 25, 2019
.travis.yml Update .travis.yml Jun 26, 2019
LICENSE Initial commit Jun 25, 2019
README.md Update README.md Oct 26, 2019
requirements.txt Massive overhaul and update to discord.py 1.2.4 Oct 25, 2019

README.md

Maintainability Maintenance made-with-python GPLv3 license python3.7

Doot-Doot

A Discord bot that play sound effects in voice channel on command.

Installation

Prerequisites:

  • Python 3.7
  • Discord.py rewrite library
  • Discord bot account with token (obtainable through the Discord Developer Portal)
  • aiohttp library

Starting bot:

  1. Install pre-requisites
  2. Copy bot files to location where you want to store them
  3. Replace 'token' in main.py with token
  4. Open CMD/PowerShell/Terminal and navigate to folder with bot files
  5. Type python main.py (if it will not work try python3.7 main.py
  6. Wait until bot logs in to Discord

Adding new sound effects

Replace command_syntax and file_name respectively with: command used to play sound and filename of sound

Syntax

    @commands.command()
    @commands.guild_only()
    async def command_syntax(self, ctx):
        """command_description"""
        await play_file(ctx, "sounds/file_name.mp3")

Attributions

Bot and support server images were created by Freepik from www.flaticon.com and are under Creative Commons BY 3.0 licence

You can’t perform that action at this time.