Some Changes

This commit is contained in:
Daniel Odendahl Jr
2017-04-03 20:51:12 +00:00
parent 06e1cd9c50
commit 06c3ca3b45
9 changed files with 9 additions and 56 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ module.exports = 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(data.permalink)
.setTitle(data.word)
.setDescription(`${data.definition.substr(0, 1900)} [Read the Rest Here!](${data.permalink})`)
.setDescription(data.definition.substr(0, 1900))
.addField('**Example:**',
data.example.substr(0, 1900) || 'None');
return message.embed(embed);