Skip to content

Commit

Permalink
use original thumbail image
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed Feb 2, 2024
1 parent f3f59ef commit ce4ed62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Stream {
const result = await TwitchService.getStream()

if (result) {
const image = `[\u200c](${result.thumbnail_url.replace('{width}', '400').replace('{height}', '300')})`
const image = `[\u200c](${result.thumbnail_url.replace('-{width}x{height}', '')})`
const link = `[${twitchUrl}${result.user_name}](${twitchUrl}${result.user_name})`
const directo = `*¡EN DIRECTO!*`
const text = `${image} ${directo} ${link}`
Expand Down

0 comments on commit ce4ed62

Please sign in to comment.