Coder Social home page Coder Social logo

voicecreatebot's Introduction

VoiceCreateBot

Dedicated bot for creating temp voice channels with commands for changing permissions.

This bot runs on discord.py rw If you need help with the code use the discord.py server

As there is a very high demand for me to release the source code for my bot I've finally decided to release it.

This was just a small project that got quite big, I wrote the bot in a day so the code is pretty sloppy and sadly I couldn't give a fuck and in no way shape of form I'm saying I'm a good programmer.

Enjoy the code, don't try to release it as your own bot. :)

If you'd like to support the bot you could pay for my coffee and the servers using the link below <3 https://www.paypal.me/ssanaizadeh

How to setup the bot:

  1. Download python using the following link:

  2. Open command prompt and paste the following:

    pip3 install discord.py
    pip3 install validators
  3. Download the bot from github

    • clone the repo using git clone or download the repo zip file.
  4. Set environment variable DISCORD_BOT_TOKEN to contain your Discord Bot Token.

    • Go to the Discord Developer site and create an application. You will need the Bot Token, and the application Client Id.
  5. Set environment variable ADMIN_USERS to be a list of space separated discord user ids.

    • To get a user's id, in a text channel type \@UserName#1111. This is just like if you were going to mention a user, but then add a \ in front.
    • This will return something like <@1234567890>. The 1234567890 is the id.
  6. Run:

    python voicecreate.py
  7. Invite Bot to your discord using the following url:
    https://discordapp.com/oauth2/authorize?client_id=<CLIENT_ID>&permissions=285213712&scope=bot

Run the bot in Docker

docker run \
	--rm -d \
	--restart=unless-stopped \
	-e DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN} \
	-e VCB_DB_PATH=/data \
	-v /path/to/persistent/data:/data \
	--name voice_create \
	camalot/voice-create-bot-docker:latest

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.