Skip to content

Commit

Permalink
chore: smoll edits
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakiyo committed Nov 27, 2023
1 parent b4259b6 commit 9e8994f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"logs": "ts-node scripts/logs.ts",
"prs:seed": "prisma db seed",
"prs:gen": "prisma generate",
"fix": "rome format --write . && rome check ."
"fix": "rome format --write ."
},
"prisma": {
"seed": "ts-node scripts/seed.ts"
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,8 @@ global.distube = distube;
global.jobHandler = new JobHandler();

process.on('unhandledRejection', log);
client.on('error', (e) => {
log(e);
});

client.login(process.env.DISCORD_TOKEN);

0 comments on commit 9e8994f

Please sign in to comment.