Skip to content

Commit

Permalink
fix(Bot,Bsky): add bluesky service
Browse files Browse the repository at this point in the history
  • Loading branch information
korpselgbt committed Nov 16, 2024
1 parent 808def8 commit d6d963d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ client
.login(token)
.then(() => {
// Initialize Bluesky service after successful login
// blueskyService.init().catch(error => {
// Logger.log('error', `Failed to initialize Bluesky service: ${error.message}`, 'Client');
// });
blueskyService.init().catch(error => {
Logger.log('error', `Failed to initialize Bluesky service: ${error.message}`, 'Client');
});

// Start reminder service after successful login
reminderService.start()
Expand All @@ -77,7 +77,7 @@ process.on('unhandledRejection', (error) => {
// Add cleanup for Bluesky service
process.on('SIGINT', () => {
Logger.log('info', 'Shutting down...', 'Process')
// blueskyService.stop();
blueskyService.stop();
process.exit(0)
})

Expand Down

0 comments on commit d6d963d

Please sign in to comment.