Skip to content

Commit

Permalink
Merge pull request #45 from DonairSauce/shortened-title
Browse files Browse the repository at this point in the history
Title can't exceed 100 characters
  • Loading branch information
TaylorTWBrown authored May 1, 2024
2 parents 0b16878 + 0654cf6 commit f9ee3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ module.exports = {
mediaResults.forEach(o => {
const emoji = o.mediaType === 'movie' ? '🎥' : '📺';
objectsWithoutDefault.push({
label: `${o.title}`,
label: `${o.title.substr(0, 97) + '...'}`,
description: `${o.overview.substr(0, 97) + '...'}`,
value: `${o.mediaType + ',' + o.id + ',' + messageId + ',' + args}`,
emoji,
Expand Down

0 comments on commit f9ee3ee

Please sign in to comment.