Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Geczy committed Jul 1, 2024
1 parent 384b7ed commit 771ca29
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/dota/src/db/watcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,11 @@ class SetupSupabase {

const hasNewestScopes = client.Account?.scope?.includes('channel:bot')
if (!hasNewestScopes && !didTellUser.has(client.name.toLowerCase())) {
twitchChat.emit(
'say',
client.name.toLowerCase(),
chatClient.say(
connectedUser.client.name,
t('refreshToken', {
lng: client.locale,
channel: `@${client.name.toLowerCase().replace('#', '')}`,
lng: connectedUser.client.locale,
channel: connectedUser.client.name,
}),
)
didTellUser.add(client.name.toLowerCase())
Expand Down

0 comments on commit 771ca29

Please sign in to comment.