This commit is contained in:
DeSqBlocki
2025-02-09 00:34:42 +01:00
parent e74aef15b9
commit 156098b011
5 changed files with 69 additions and 8 deletions
+1 -2
View File
@@ -16,8 +16,7 @@ module.exports = {
// tClient.say(channel, `!so ${user}`); // Send the shoutout command
// Use custom shoutout
let channelID = await getIDByName(user)
let res = await getChannelInformation(channelID)
let res = await getChannelInformation(user)
let channelInfo = res?.data[0]
let shoutoutMessage = `Check out ${channelInfo.broadcaster_name} over at https://twitch.tv/${channelInfo.broadcaster_login}! They were last playing ${channelInfo.game_name}`
tClient.say(channel, shoutoutMessage)