Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

Extensions

PapyrusThePlant edited this page Apr 15, 2020 · 3 revisions

Extensions are categorised sets of commands that add behaviour to Panda.
If you want to propose for new extensions, feel free to join the support server to do so.

Core

The core features of the bot that should always be loaded.

Includes and info command to display some info about the bot and management commands to load, unload and reload extensions.

Music

Simple to use music player for your voice chat parties.

The play command accepts url that youtube-dl supports and search queries that will be executed on youtube to play the first result. The extension provides volume control, a playlist feature that queues up songs to play and voting to skip the current song.

Twitter

Allows you to follow Twitter accounts and forward their tweets in a channel of your choice.

This extension needs some extra setup to allow the bot to access the Twitter API to search for users and receive the tweets:

  1. Head to https://developer.twitter.com/, hover your account's name on the top right and click on Apps.
    You may need to apply for a developer account to access this page.
  2. Click on Create an app, fill the required fields and create your app.
  3. Go in the Keys and tokens and copy your consumer api key and consumer api secret key.
  4. Click on the generate button and copy the access token and access token secret.
  5. Go into the Panda's folder and, inside the conf folder, create the file twitter.json like so :
{
    "credentials": {
        "consumer_key": "insert your consumer key here",
        "consumer_secret": "insert your consumer secret here",
        "access_token": "insert your access token here",
        "access_token_secret": "insert your access token secret here",
        "__class__": "ConfigElement"
    },
    "__class__": "ConfigElement",
    "follows": {}
}
  1. Modify conf/panda.json and change the extensions list to ["music", "twitter"].
  2. Start/Restart the bot.

Clone this wiki locally