Releases: simonknittel/discord-bot-api
v0.7.9
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
!opand!deop- Example:
!op <user id> general:kill general:reload
- Example:
-
You can now give the bot an avatar with
!avatar <url or relative path>or by setting it in yourconfig.json. Setting it tonullwill 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
Important changes
- You don't have to require permissions anymore in your
config.jsonfor 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
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
Important changes
-
[music-bot plugin] You can now define the max length of a song (in minutes). It defaults to
15minutes.0minutes will be endless.- Example:
"plugins": { "music-bot": { "maxLength": 30 } }
-
Bumped the version of
discord.ioto 1.6.5- Run
npm install discord.ioto install the new version
- Run
-
You can now define how fast (in seconds) your
config.jsonwill be reloaded automatically without restarting the bot (optional).It default to every 5 seconds. Settings it to0disables it. Example:"reloadConfig": 10.
Changes
- Renamed some directories
- Added missing information to the install instruction
- Added a license
- [music-bot plugin] Fixed
!music stopcommand (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
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
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.
- Make sure to require permissions for this in your
Changes
- Added
!reloadto reload yourconfig.json - Send update notifications through direct messages to the owner only once for each version
v0.7.3
Important changes
- Bumped the version of
discord.ioto 1.6.3- Remove the
node_modulesdirectory and install all dependencies again withnpm install
- Remove the
- Removed
!configcompletly. In addition to that: Added multiple specific commands to change theconfig.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
enablePluginfrom the!commandsoutput - On disconnect it tries now to reconnect every 1 minute, not 10
v0.7.2
Important changes
- You can now enable plugins without having to restart with
!enable <name>- Example:
!enable dice
- Example:
!configis temporarily disabled, because it does not work as expected and can overrite parts of yourconfig.json
Changes
-
[music-bot plugin] When you leave out the channel in the
!music enter Channelcommand 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
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
Important changes
- You can now roll a dice with the new
diceplugin- Example:
!dice roll 6Rolls a dice with 6 faces
- Example:
Changes
- Bumped version of discord.io to 1.6.2
- The music-bot plugin is playing sound again
- Removed some deprecated code