Remove ... from Search Commands

This commit is contained in:
dragonfire535
2017-03-16 18:57:55 -04:00
parent 601db9bedf
commit 8f98e31f11
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class IMDBCommand extends commando.Command {
.setAuthor('IMDB', 'http://static.wixstatic.com/media/c65cbf_31901b544fe24f1890134553bf40c8be.png')
.setURL(movie.imdburl)
.setTitle(movie.title + ' (' + movie.rating + ' Score)')
.setDescription(movie.plot.substr(0, 1500) + "... [Read the Rest Here!](" + movie.imdburl + ")")
.setDescription(movie.plot.substr(0, 1500) + " [Read the Rest Here!](" + movie.imdburl + ")")
.addField('**Genres:**',
movie.genres)
.addField('**Year:**',
+2 -2
View File
@@ -31,7 +31,7 @@ class UrbanDictionary extends commando.Command {
.setAuthor('Urban Dictionary', 'http://a1.mzstatic.com/eu/r30/Purple71/v4/66/54/68/6654683f-cacd-4a55-1784-f14257f77874/icon175x175.png')
.setURL(json.permalink)
.setTitle(json.word)
.setDescription(json.definition.substr(0, 1900) + '... [Read the Rest Here!](' + json.permalink + ')')
.setDescription(json.definition.substr(0, 1900) + ' [Read the Rest Here!](' + json.permalink + ')')
.addField('**Example:**',
json.example.substr(0, 1900));
message.channel.sendEmbed(embed).catch(console.error);
@@ -41,7 +41,7 @@ class UrbanDictionary extends commando.Command {
.setAuthor('Urban Dictionary', 'http://a1.mzstatic.com/eu/r30/Purple71/v4/66/54/68/6654683f-cacd-4a55-1784-f14257f77874/icon175x175.png')
.setURL(json.permalink)
.setTitle(json.word)
.setDescription(json.definition.substr(0, 1900) + '... [Read the Rest Here!](' + json.permalink + ')');
.setDescription(json.definition.substr(0, 1900) + ' [Read the Rest Here!](' + json.permalink + ')');
message.channel.sendEmbed(embed).catch(console.error);
}
});
+1 -1
View File
@@ -40,7 +40,7 @@ class WattpadCommand extends commando.Command {
.setAuthor('Wattpad', 'http://www.selfpubtoolbox.com/wp-content/uploads/2015/05/a6044fd3a88acd5043860484db972ca6.png')
.setURL(response.stories[0].url)
.setTitle(response.stories[0].title)
.setDescription(response.stories[0].description.substr(0, 1500) + "... [Read the Rest Here!](" + response.stories[0].url + ")")
.setDescription(response.stories[0].description.substr(0, 1500) + " [Read the Rest Here!](" + response.stories[0].url + ")")
.addField('**Author:**',
response.stories[0].user, true)
.addField('**Parts:**',