Skip to content
This repository was archived by the owner on May 24, 2020. It is now read-only.

Releases: simonknittel/discord-bot-api

v0.7.9

09 Jan 12:19

Choose a tag to compare

Changes

  • Every command can now have synonyms. The plugins can define synonyms itself, but you can also add your custom ones or disable by the plugin defined ones with your config.json.

    • Example:
    "plugins": {
        "general": {
            "commands": {
                "about": {
                    "synonyms": {
                        "help": {
                            "enabled": true
                        },
                        "about": {
                            "enabled": false
                        }
                    }
                }
            }
        }
    }
  • You can now add or remove multiple permissions at the same time with !op and !deop

    • Example: !op <user id> general:kill general:reload
  • You can now give the bot an avatar with !avatar <url or relative path> or by setting it in your config.json. Setting it to null will remove the avatar.

    • Example:
    "credentials": {
        "avatar": "url or relative path"
    }
  • You can now let your bot ignore channels defined by your config.json.

    • Example:
    {
        "ignoreChannels": [
            "#bot-free-channel"
        ]
    }

v0.7.8

07 Jan 17:22

Choose a tag to compare

Important changes

  • You don't have to require permissions anymore in your config.json for specific commands (defined by the plugin). These command will require permissions by default. You can set it to false if they sould not require permissions. The following commands will now require permissions by default:
    • !kill
    • !owner
    • !prefix
    • !op
    • !deop
    • !enable
    • !rename
    • !reload

Changes

  • Fixed permission system

v0.7.7

06 Jan 18:33

Choose a tag to compare

Changes

  • You can now specify a channel which is required to request a command

    • Example:
    "plugins": {
        "music-bot": {
            "commands": {
                "add": {
                    "channel": "#music"
                }
            }
        }
    }

v0.7.6

06 Jan 16:35

Choose a tag to compare

Important changes

  • [music-bot plugin] You can now define the max length of a song (in minutes). It defaults to 15 minutes. 0 minutes will be endless.

    • Example:
    "plugins": {
        "music-bot": {
            "maxLength": 30
        }
    }
  • Bumped the version of discord.io to 1.6.5

    • Run npm install discord.io to install the new version
  • You can now define how fast (in seconds) your config.json will be reloaded automatically without restarting the bot (optional).It default to every 5 seconds. Settings it to 0 disables it. Example: "reloadConfig": 10.

Changes

  • Renamed some directories
  • Added missing information to the install instruction
  • Added a license
  • [music-bot plugin] Fixed !music stop command (issue #33)
  • Added missing commands to the README.md
  • Fixed directory names
  • [music-bot plugin] You don't need to set a library anymore. It will default to the OS specific temp directories
  • Disconnect the bot before killing the process. The bot should now log out everytime when using !kill.

v0.7.5

03 Jan 14:25

Choose a tag to compare

Important changes

  • Fixed issue that will check for updates in a high rate and will get blocked by the GitHub API because of that

v0.7.4

03 Jan 14:04

Choose a tag to compare

Important changes

  • Added !owner <user id> to change the owner of the bot
    • Make sure to require permissions for this in your config.json. In the future commands like this will require permissions by default.

Changes

  • Added !reload to reload your config.json
  • Send update notifications through direct messages to the owner only once for each version

v0.7.3

03 Jan 11:07

Choose a tag to compare

Important changes

  • Bumped the version of discord.io to 1.6.3
    • Remove the node_modules directory and install all dependencies again with npm install
  • Removed !config completly. In addition to that: Added multiple specific commands to change the config.json
    • !rename <name> Renames the bot
    • !op <user id> <permission> Adds a permission to a user
    • !deop <user id> <permission> Removes a permission from a user
    • !prefix <new prefix> Changes the global command prefix
    • Make sure to require permissions for them in your config.json. In the future commands like this will require permissions by default.

Changes

  • Removed enablePlugin from the !commands output
  • On disconnect it tries now to reconnect every 1 minute, not 10

v0.7.2

02 Jan 14:22

Choose a tag to compare

Important changes

  • You can now enable plugins without having to restart with !enable <name>
    • Example: !enable dice
  • !config is temporarily disabled, because it does not work as expected and can overrite parts of your config.json

Changes

  • [music-bot plugin] When you leave out the channel in the !music enter Channel command and you are in a voice channel right now, it will try to join your voice channel

  • You can now give an operator a wildcard for each plugin to grant him all permissions of this plugin.

    • Example:
    "operators": {
        "user id here": {
            "permissions": [
                "music-bot:*"
            ]
        }
    }
  • Added internal event system

  • The bot will now notify the owner through a direct message if a new version is available.

  • The bot will now show the enabled plugins on start-up.

v0.7.1

01 Jan 18:53

Choose a tag to compare

Changes

  • [music-bot plugin] You can now define a channel which the bot should automatically join when started.

    • Example:
    "plugins": {
        "music-bot": {
            "autoJoinVoiceChannel": "General"
        }
    }
  • You can now give an operator a wildcard as permission to grant him all permissions.

    • Example:
    "operators": {
        "user id here": {
            "permissions": [
                "*"
            ]
        }
    }

v0.7.0

01 Jan 16:45

Choose a tag to compare

Important changes

  • You can now roll a dice with the new dice plugin
    • Example: !dice roll 6 Rolls a dice with 6 faces

Changes

  • Bumped version of discord.io to 1.6.2
  • The music-bot plugin is playing sound again
  • Removed some deprecated code