2017 © Pedro Peláez
 

library galaxyofdreams

Liquicity discord bot

image

kebabtent/galaxyofdreams

Liquicity discord bot

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

GalaxyOfDreams - Bot for Liquicity Discord server

Installation

Install with composer, (*1)

Usage

Create a configuration file called config.json. Example configuration:, (*2)

{
  "token": "ENTER_DISCORD_APP_TOKEN_HERE",
  "guilds": {
    "liquicity": {
      "guild_id": "152543466491084811",
      "channels": {
        "music": {
          "channel_id": "434739172503191562"
        },
        "bot_commands": {
          "channel_id": "434739067905769473"
        }
      }
    }
  },
  "modules": []
}

Specific modules can be loaded by adding them to the modules array in the configuration. As an example, loading the LinkOnlyChannel module for channel #music in the liquicity server, add the following:, (*3)

{
  "name": "LinkOnlyChannel",
  "config": {
    "channels": [
      "liquicity/music"
    ]
  }
}

Channel names are in the format GUILD/CHANNEL and are converted to their appropriate ID by using the specified guilds array. Optionally, the bot can send a message to a seperate channel (specified by log_channel) for every message that it deletes., (*4)

The Versions