mirror of
https://github.com/qwerinope/qweribot.git
synced 2025-12-19 01:01:39 +01:00
fix typo in failed shoutout warning
This commit is contained in:
@@ -14,7 +14,7 @@ eventSub.onChannelRaidTo(streamerId, async msg => {
|
|||||||
try {
|
try {
|
||||||
await streamerApi.chat.shoutoutUser(streamerId, msg.raidingBroadcasterId);
|
await streamerApi.chat.shoutoutUser(streamerId, msg.raidingBroadcasterId);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.warn(`Failed to give automatic shoutout to ${msg.raidedBroadcasterDisplayName}`);
|
logger.warn(`Failed to give automatic shoutout to ${msg.raidingBroadcasterDisplayName}`);
|
||||||
logger.warn(e as string);
|
logger.warn(e as string);
|
||||||
};
|
};
|
||||||
const raider = await User.initUsername(msg.raidingBroadcasterName);
|
const raider = await User.initUsername(msg.raidingBroadcasterName);
|
||||||
|
|||||||
Reference in New Issue
Block a user