Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotifyの認証が通るように #343

Closed
wants to merge 20 commits into from
Closed

Spotifyの認証が通るように #343

wants to merge 20 commits into from

Conversation

na2na-p
Copy link
Owner

@na2na-p na2na-p commented Jan 6, 2024

表題の通り

image

@2na2-p 2na2-p bot enabled auto-merge January 6, 2024 05:41
} as const,
runtimeEnv: process.env,
});

return {
...envs,
SET_COMMANDS_TARGET_SERVERS: envs.SET_COMMANDS_TARGET_SERVERS.split(','),
CLIENT_ID: `${envs.BOT_NAME}-${Date.now()}`,
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここで一意のIDになるようにするために時刻を使う
getConfig()のたびにブレると困るのでexport層でシングルトンにしてる

src/index.ts Outdated Show resolved Hide resolved
/**
* TODO あとで切り出すか消す
*/
async pauseSpotifyTrack({
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

認証の動作確認用

@na2na-p na2na-p force-pushed the topic/spotify branch 2 times, most recently from fec28f0 to 2d06476 Compare January 10, 2024 04:40
@na2na-p na2na-p marked this pull request as draft January 14, 2024 16:09
@na2na-p
Copy link
Owner Author

na2na-p commented Jan 14, 2024

実装進めてみたけど壮絶な辛いがあるから見送るかも

@na2na-p na2na-p closed this Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant