makeTheBotOnline 0.1.0

The download of files is only available for registered users.

A little scirpt to get your discord bot online.

The whole bot is written in Python and uses discord.py by Rapptz. The terminal multiplexer tmux is also used.

Features

  • Checks if all required packages are installed and asks if they should be installed.
  • Installs all Python packages via pip
  • Starts/Stops/Restarts a tmux session in which the bot is running.
  • Configuration via config.ini file
  • Discord indicates that the bot is playing a game.

Installation

  1. Download archive and upload to server
  2. Extract archive tar xf makeTheBotOnline.tar (will be extracted to the current directory)
  3. Perform configuration
    1. Open configuration file nano config.ini
    2. Under the section "Bot" enter the bottoken at "token" and if applicable the game to be played under "game_name"
  4. Run bot ./bot.sh start

Commands

./bot.sh start Starts the bot

./bot.sh stop Stop the bot

./bot.sh restart Restarts the bot

Default configuration

Code: Default configuration
  1. [bot]
  2. token = TOKEN
  3. game_name = TKirch.dev
  • Version 0.1.0