Skip to main content

Red Star - A general-purpose Discord bot with bonus shouting.

Project description

Red Star Bot

Python PyPI

A configurable, extensible Discord bot with administration and entertainment plugins included. Now with added shouting.

Features

  • Flexible music playing with youtube-dl, including queues, playlist support, vote-skipping, and more,
  • Powerful custom commands based on our own Lisp dialect, RSLisp,
  • Event logging, including message edits, deletions, and pins, user joins/leaves, and more,
  • Powerful message purging by content (regex supported), author, and more,
  • Message of the Day plugins with configurable holidays and messages based on day, weekday, or month,
  • Voting plugin for making, responding to, and counting the results of polls,
  • Reminder plugin with times, delays, and recurring reminders,
  • New member announcer with easily configurable messages,
  • Easy role administration for mobile users via commands,
  • And more, with extra plugins available here.

Installation

With pip

Simply run pip install red-star --process-dependency-links, and Red Star and all its dependencies will be automatically installed. You can then run Red Star by simply running python -m red_star or red_star (if Scripts is in your PATH).

Note: --process-dependency-links is a deprecated function, but no suitable replacement exists, so it is used anyways. If you'd rather not run a deprecated function, you can install discord.py's rewrite branch manually, via pip install https://github.com/Rapptz/discord.py/tarball/rewrite#egg=discord.py[voice]

From source

Installing

Running pip install -e . --process-dependency-links inside the Red Star folder will install Red Star and all its dependencies automatically. This will allow you to run Red Star in the same way as above.

Running portably

Alternatively, one can run Red Star portably by simply navigating to the source directory and running python red_star.py -p. This will tell Red Star to keep its loose files inside the source directory, instead of placing them in your user folder.

Usage

Starting the bot is already covered above; simply invoke red_star, python -m red_star, or python red_star.py to run the bot. On first run, a default configuration file will be copied to ~/.red_star (C:\Users\username\.red_star on Windows) that must be edited before use.

Command-line Arguments

  • -[-p]ortable: Tells the bot to run in portable mode, keeping all of its loose files in its source directory. Useful if you don't want to clutter your user folder, or install the bot with pip.
  • -[-d]irectory: Allows the user to specify a custom directory to place loose files. Cannot be used with -p.
  • -[-l]ogfile: Allows the user to specify a different name for the log file than the default.
  • -[-v]erbose: Tells the bot to output debug information while running. Can be called up to three times, increasing verbosity each time.

Documentation

See our wiki for additional documentation, including Command Reference, Configuring Red Star, and Adding A Bot to a Server.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

red_star-2.1.2.tar.gz (61.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

red_star-2.1.2-py3.7-none-any.whl (80.5 kB view details)

Uploaded Python 3

File details

Details for the file red_star-2.1.2.tar.gz.

File metadata

  • Download URL: red_star-2.1.2.tar.gz
  • Upload date:
  • Size: 61.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.1

File hashes

Hashes for red_star-2.1.2.tar.gz
Algorithm Hash digest
SHA256 5356c2ab6c42a214697494969da1bdfb5eb9f50f7a231308e0d7798d9c9f0ca6
MD5 3c3f5de16a137e72dd654b46ff85faec
BLAKE2b-256 2ccd4396942e943fb657d337038dcb5334a7edce5059de7bb29f1af0dd58f2b1

See more details on using hashes here.

File details

Details for the file red_star-2.1.2-py3.7-none-any.whl.

File metadata

  • Download URL: red_star-2.1.2-py3.7-none-any.whl
  • Upload date:
  • Size: 80.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.1

File hashes

Hashes for red_star-2.1.2-py3.7-none-any.whl
Algorithm Hash digest
SHA256 0f9b0b0a4c477115fa9569a97a45d4ef40878354302a6439cc4e4b654e0399da
MD5 5fef973daade4bea8de998eed81bcbbc
BLAKE2b-256 ea502a1a73b49417080d634f00a0e6ef71b5baf7d3961a15c312afdca6fc5360

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page