Public Repository

Last pushed: 2 months ago
Short Description
Discord Python userbot
Full Description

DiscordUserBot

This is a plugin based python3.6 discord bot, It is highly flexible and customizable.

Add you own plugins

Add your own plugin to the plugins folder, Example: ping.py

async def on_ping(message, app, args, cmd):
    try:
        await app.client.send_message(message.channel, "Pong")
    except Exception as e:
        app.logger.error(e)

def setup(app):
    app.register_cmd("ping", on_ping)

Bot Setup

  • Install requirements.txt
  • Copy config.sample.json to config.json
  • Run the Bot
    • For the update feature make the bot directory a Git repository

Requirements

  • Python3.6.0+
  • Git
  • pluignbase
  • discord.py

Recommendations

  • Linux Enviroment
  • Supervisord
  • Python Virtual Enviroment

Installation

  • pip install -r requirements.txt
  • python3.6 userbot.py

Docker Installation

  • docker build -t userbot .
  • copy config.sample.json to config.json and add your user token
  • docker run -d -v /path/to/config:/bot/config userbot

Credit

Docker Pull Command
Owner
arturoguerra

Comments (0)