Skip to content

Commit

Permalink
chore(deps): update dependency prettier to v3 (#345)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [prettier](https://prettier.io)
([source](https://togithub.com/prettier/prettier)) | [`2.8.8` ->
`3.0.0`](https://renovatebot.com/diffs/npm/prettier/2.8.8/3.0.0) |
[![age](https://badges.renovateapi.com/packages/npm/prettier/3.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/prettier/3.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/prettier/3.0.0/compatibility-slim/2.8.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/prettier/3.0.0/confidence-slim/2.8.8)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>prettier/prettier (prettier)</summary>

###
[`v3.0.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#300)

[Compare
Source](https://togithub.com/prettier/prettier/compare/2.8.8...3.0.0)


[diff](https://togithub.com/prettier/prettier/compare/3.0.0-alpha.6...3.0.0)

🔗 [Release Notes](https://prettier.io/blog/2023/07/05/3.0.0.html)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/PixelPizza/OurTube).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDQuMiIsInVwZGF0ZWRJblZlciI6IjM2LjUuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jaron <[email protected]>
  • Loading branch information
renovate[bot] and JaronZ authored Jul 9, 2023
1 parent 4764858 commit e12bc4a
Show file tree
Hide file tree
Showing 4 changed files with 286 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
"@typescript-eslint/parser": "5.61.0",
"eslint": "8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "alpha",
"husky": "8.0.3",
"prettier": "2.8.8",
"prettier": "3.0.0",
"prisma": "4.16.2",
"tsup": "7.1.0",
"typescript": "5.1.6"
Expand Down
11 changes: 7 additions & 4 deletions src/listeners/client/ready.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ export class ReadyListener extends Listener<"ready"> {
];
let activityIndex = 0;
client.user.setActivity(activities[activityIndex]);
setInterval(() => {
activityIndex = activityIndex === activities.length - 1 ? 0 : activityIndex + 1;
client.user.setActivity(activities[activityIndex]);
}, 5 * 60 * 1000);
setInterval(
() => {
activityIndex = activityIndex === activities.length - 1 ? 0 : activityIndex + 1;
client.user.setActivity(activities[activityIndex]);
},
5 * 60 * 1000
);

this.container.logger.info(`${client.user.username} is ready`);
}
Expand Down
5 changes: 4 additions & 1 deletion src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ export class Logger extends SapphireLogger {
[LogLevel.None, new WebhookLogFormat(Colors.Default, "")]
]);

public constructor(public readonly container: typeof sapphireContainer, options?: LoggerOptions) {
public constructor(
public readonly container: typeof sapphireContainer,
options?: LoggerOptions
) {
super(options);
}

Expand Down
Loading

0 comments on commit e12bc4a

Please sign in to comment.