Merge pull request #53 from Trivernis/develop

Develop
pull/110/head^2 v0.10.1
Trivernis 6 years ago committed by GitHub
commit 1df7543df0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,6 +4,11 @@ All notable changes to the discord bot will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.10.1] - 2019-03-03
### Changed
- Bugfix on RichEmbed not returning itself on addField and setDescription because of method overide
- AniList CommandModule bug fix on `~alCharacter` not returning voice actor names
## [0.10.0] - 2019-03-03
### Added
- AniList api commands powered by [AniList.co](https://www.anilist.co)

@ -253,6 +253,7 @@ class ExtendedRichEmbed extends Discord.RichEmbed {
if (croppedValue.length < value.length)
croppedValue = croppedValue.replace(/\n.*$/g, '');
super.setDescription(croppedValue);
return this;
}
/**
@ -267,6 +268,7 @@ class ExtendedRichEmbed extends Discord.RichEmbed {
if (croppedValue.length < value.length)
croppedValue = croppedValue.replace(/\n.*$/g, '');
super.addField(name, croppedValue);
return this;
}
}

@ -1,6 +1,6 @@
{
"name": "discordbot",
"version": "0.9.1",
"version": "0.10.1",
"scripts": {
"start": "node bot.js",
"test": "mocha --exit",

Loading…
Cancel
Save