Skip to content

Commit

Permalink
twitchviewers: Switch to new creds file
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosuav committed Mar 15, 2024
1 parent c979df0 commit 8715974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twitchviewers.pike
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ int main(int argc, array(string) argv)
};
//TODO: Allow a separate moderator login, and then use bcaster_token
//Note that querying mods requires broadcaster auth so maybe better to require that instead?
clientid = Standards.JSON.decode_utf8(Stdio.read_file("../CJAPrivate/twitchbot_config.json"))->clientid;
clientid = Standards.JSON.decode_utf8(Stdio.read_file("../stillebot/instance-config.json"))->clientid;
oauth_token = Standards.JSON.decode_utf8(
Process.run(({"psql", "stillebot", "-tc", "select credentials from stillebot.settings"}))->stdout
)->token;
Expand Down

0 comments on commit 8715974

Please sign in to comment.