Compare commits

...

57 Commits

Author SHA1 Message Date
aa116518b3 Merge pull request #144 from warengroup/develop
Version 0.3.13
2021-12-21 17:43:22 +02:00
1926f73ce7 Update Dependencies 2021-12-21 17:35:52 +02:00
6c657e5720 Update Dependencies 2021-12-21 17:19:16 +02:00
f726251645 Merge pull request #162 from warengroup/dependabot/npm_and_yarn/develop/types/node-17.0.2
Bump @types/node from 17.0.1 to 17.0.2
2021-12-21 17:15:16 +02:00
c357fa6de8 Bump @types/node from 17.0.1 to 17.0.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.1 to 17.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-21 15:13:49 +00:00
c7100742d8 Merge pull request #164 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-5.8.0
Bump @typescript-eslint/eslint-plugin from 5.7.0 to 5.8.0
2021-12-21 17:13:17 +02:00
9662f4fdd9 Bump @typescript-eslint/eslint-plugin from 5.7.0 to 5.8.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.8.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-21 15:11:23 +00:00
6eb0d1727e Merge pull request #163 from warengroup/dependabot/npm_and_yarn/develop/tsc-watch-4.6.0
Bump tsc-watch from 4.5.0 to 4.6.0
2021-12-21 17:10:43 +02:00
dd02531cf0 Bump tsc-watch from 4.5.0 to 4.6.0
Bumps [tsc-watch](https://github.com/gilamran/tsc-watch) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/gilamran/tsc-watch/releases)
- [Changelog](https://github.com/gilamran/tsc-watch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gilamran/tsc-watch/commits)

---
updated-dependencies:
- dependency-name: tsc-watch
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-21 15:09:43 +00:00
135b87e140 Merge pull request #161 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-5.8.0
Bump @typescript-eslint/parser from 5.7.0 to 5.8.0
2021-12-21 17:08:32 +02:00
d8224ef93c Bump @typescript-eslint/parser from 5.7.0 to 5.8.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.8.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-21 08:04:10 +00:00
23f3d4bb8f Merge pull request #160 from warengroup/dependabot/npm_and_yarn/develop/types/node-17.0.1
Bump @types/node from 17.0.0 to 17.0.1
2021-12-20 10:48:17 +02:00
fdf866b9c8 Bump @types/node from 17.0.0 to 17.0.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.0 to 17.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 08:03:13 +00:00
7225b4f60d Update Streamer class 2021-12-19 20:40:17 +02:00
e261e42e0c Update Dependencies 2021-12-19 19:48:08 +02:00
d01aed5171 Merge pull request #159 from warengroup/dependabot/npm_and_yarn/develop/types/node-17.0.0
Bump @types/node from 16.11.13 to 17.0.0
2021-12-16 12:27:01 +02:00
025dde8f31 Bump @types/node from 16.11.13 to 17.0.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.13 to 17.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-16 08:04:14 +00:00
4f4f516678 Merge pull request #158 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.11.13
Bump @types/node from 16.11.12 to 16.11.13
2021-12-15 10:30:21 +02:00
8e9b13a1df Bump @types/node from 16.11.12 to 16.11.13
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.12 to 16.11.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-15 08:03:58 +00:00
ac338d0c54 Merge pull request #155 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-5.7.0
Bump @typescript-eslint/eslint-plugin from 5.6.0 to 5.7.0
2021-12-15 06:40:50 +02:00
31489495a6 Bump @typescript-eslint/eslint-plugin from 5.6.0 to 5.7.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.6.0 to 5.7.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.7.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 10:28:38 +00:00
5d13f117c1 Merge pull request #157 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-5.7.0
Bump @typescript-eslint/parser from 5.6.0 to 5.7.0
2021-12-14 12:24:54 +02:00
cab7dc5ee1 Bump @typescript-eslint/parser from 5.6.0 to 5.7.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.6.0 to 5.7.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.7.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 10:23:47 +00:00
36ad8814fe Merge pull request #156 from warengroup/dependabot/npm_and_yarn/develop/typescript-4.5.4
Bump typescript from 4.5.3 to 4.5.4
2021-12-14 12:21:41 +02:00
daef46442b Bump typescript from 4.5.3 to 4.5.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.3 to 4.5.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.3...v4.5.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 08:03:18 +00:00
be97b271cf Update commands.js 2021-12-12 05:56:29 +02:00
3f3aab4c22 Update Streamer class 2021-12-12 01:50:25 +02:00
b4f2ece9bf Update Streamer class 2021-12-12 01:00:00 +02:00
95a0bdfdd2 Update Dependencies 2021-12-12 00:51:44 +02:00
572958aea2 Update uncaughtException event 2021-12-11 23:50:13 +02:00
36a7b5df63 Merge pull request #152 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-5.6.0
Bump @typescript-eslint/eslint-plugin from 5.5.0 to 5.6.0
2021-12-11 23:44:57 +02:00
d467640be9 Bump @typescript-eslint/eslint-plugin from 5.5.0 to 5.6.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.6.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-11 21:43:27 +00:00
a82b91878d Merge pull request #153 from warengroup/dependabot/npm_and_yarn/develop/discordjs/rest-0.2.0-canary.0
Bump @discordjs/rest from 0.1.1-canary.0 to 0.2.0-canary.0
2021-12-11 23:42:47 +02:00
200a494410 Bump @discordjs/rest from 0.1.1-canary.0 to 0.2.0-canary.0
Bumps [@discordjs/rest](https://github.com/discordjs/discord.js-next) from 0.1.1-canary.0 to 0.2.0-canary.0.
- [Release notes](https://github.com/discordjs/discord.js-next/releases)
- [Commits](https://github.com/discordjs/discord.js-next/compare/@discordjs/rest@0.1.1-canary.0...@discordjs/rest@0.2.0-canary.0)

---
updated-dependencies:
- dependency-name: "@discordjs/rest"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-11 21:41:49 +00:00
18bbd43858 Merge pull request #154 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-5.6.0
Bump @typescript-eslint/parser from 5.5.0 to 5.6.0
2021-12-11 23:41:15 +02:00
5e3e77ba8a Bump @typescript-eslint/parser from 5.5.0 to 5.6.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.6.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-11 21:40:15 +00:00
209c661ab7 Merge pull request #147 from warengroup/dependabot/npm_and_yarn/develop/prettier-2.5.1
Bump prettier from 2.5.0 to 2.5.1
2021-12-11 23:39:39 +02:00
670dc3e1d9 Bump prettier from 2.5.0 to 2.5.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.5.0...2.5.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-11 21:38:10 +00:00
a057f9f6d1 Merge pull request #149 from warengroup/dependabot/npm_and_yarn/develop/types/ws-8.2.2
Bump @types/ws from 8.2.1 to 8.2.2
2021-12-11 23:37:03 +02:00
b937673c31 Bump @types/ws from 8.2.1 to 8.2.2
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 8.2.1 to 8.2.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)

---
updated-dependencies:
- dependency-name: "@types/ws"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-11 21:35:31 +00:00
54bc8eebf3 Merge pull request #146 from warengroup/dependabot/npm_and_yarn/develop/discordjs/builders-0.9.0
Bump @discordjs/builders from 0.8.2 to 0.9.0
2021-12-11 23:34:41 +02:00
554049ef63 Bump @discordjs/builders from 0.8.2 to 0.9.0
Bumps [@discordjs/builders](https://github.com/discordjs/builders) from 0.8.2 to 0.9.0.
- [Release notes](https://github.com/discordjs/builders/releases)
- [Changelog](https://github.com/discordjs/builders/blob/main/CHANGELOG.md)
- [Commits](https://github.com/discordjs/builders/compare/v0.8.2...v0.9.0)

---
updated-dependencies:
- dependency-name: "@discordjs/builders"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-11 21:33:38 +00:00
5eabc03d6b Merge pull request #150 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.11.12
Bump @types/node from 16.11.11 to 16.11.12
2021-12-11 23:32:31 +02:00
060c321d96 Bump @types/node from 16.11.11 to 16.11.12
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.11 to 16.11.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-11 21:31:27 +00:00
9463388b23 Merge pull request #151 from warengroup/dependabot/npm_and_yarn/develop/eslint-8.4.1
Bump eslint from 8.3.0 to 8.4.1
2021-12-11 23:30:45 +02:00
b5b4ce5f86 Merge branch 'develop' of https://gitlab.com/warengroup/eximiabots-radiox into develop 2021-12-11 23:25:04 +02:00
35cdea8cb3 Bump eslint from 8.3.0 to 8.4.1
Bumps [eslint](https://github.com/eslint/eslint) from 8.3.0 to 8.4.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.3.0...v8.4.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-07 08:04:01 +00:00
acf6c98f13 Merge pull request #145 from warengroup/dependabot/npm_and_yarn/develop/discord-api-types-0.25.2
Bump discord-api-types from 0.25.1 to 0.25.2
2021-12-01 13:42:10 +02:00
cf51079243 Bump discord-api-types from 0.25.1 to 0.25.2
Bumps [discord-api-types](https://github.com/discordjs/discord-api-types) from 0.25.1 to 0.25.2.
- [Release notes](https://github.com/discordjs/discord-api-types/releases)
- [Changelog](https://github.com/discordjs/discord-api-types/blob/main/CHANGELOG.md)
- [Commits](https://github.com/discordjs/discord-api-types/compare/0.25.1...0.25.2)

---
updated-dependencies:
- dependency-name: discord-api-types
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 08:07:20 +00:00
6069125584 Bump actions/setup-node from 2.4.1 to 2.5.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.1...v2.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 15:14:11 +02:00
0762420c86 Bump @typescript-eslint/eslint-plugin from 5.4.0 to 5.5.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.5.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 15:14:11 +02:00
0536ec5df6 Bump @types/ws from 8.2.0 to 8.2.1
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)

---
updated-dependencies:
- dependency-name: "@types/ws"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 15:14:11 +02:00
0a4e9c7d67 Bump @typescript-eslint/parser from 5.4.0 to 5.5.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.5.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 15:14:11 +02:00
fe6fd6688e Bump discord-api-types from 0.24.0 to 0.25.1
Bumps [discord-api-types](https://github.com/discordjs/discord-api-types) from 0.24.0 to 0.25.1.
- [Release notes](https://github.com/discordjs/discord-api-types/releases)
- [Changelog](https://github.com/discordjs/discord-api-types/blob/main/CHANGELOG.md)
- [Commits](https://github.com/discordjs/discord-api-types/compare/0.24.0...0.25.1)

---
updated-dependencies:
- dependency-name: discord-api-types
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 15:14:11 +02:00
f8f0b185ac Bump @types/node from 16.11.10 to 16.11.11
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.10 to 16.11.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 15:14:11 +02:00
e0618a6b2d Bumb version 2021-11-30 15:14:11 +02:00
c945a6ad47 Bumb version 2021-11-30 00:22:28 +02:00
6 changed files with 377 additions and 599 deletions

View File

@ -10,7 +10,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: install node v16 - name: install node v16
uses: actions/setup-node@v2.4.1 uses: actions/setup-node@v2.5.0
with: with:
node-version: 16 node-version: 16
- name: npm install - name: npm install

921
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "eximiabots-radiox", "name": "eximiabots-radiox",
"version": "0.3.12", "version": "0.3.13",
"description": "Internet Radio to your Discord guild", "description": "Internet Radio to your Discord guild",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
@ -18,11 +18,11 @@
"url": "https://github.com/warengroup/eximiabots-radiox/issues" "url": "https://github.com/warengroup/eximiabots-radiox/issues"
}, },
"dependencies": { "dependencies": {
"@discordjs/builders": "^0.8.2", "@discordjs/builders": "^0.9.0",
"@discordjs/opus": "^0.7.0", "@discordjs/opus": "^0.7.0",
"@discordjs/rest": "^0.1.1-canary.0", "@discordjs/rest": "^0.2.0-canary.0",
"@discordjs/voice": "^0.7.5", "@discordjs/voice": "^0.7.5",
"discord-api-types": "^0.24.0", "discord-api-types": "^0.25.2",
"discord.js": "^13.2.0", "discord.js": "^13.2.0",
"dotenv": "^10.0.0", "dotenv": "^10.0.0",
"libsodium-wrappers": "^0.7.9", "libsodium-wrappers": "^0.7.9",
@ -30,19 +30,19 @@
"path": "^0.12.7" "path": "^0.12.7"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^16.11.10", "@types/node": "^17.0.2",
"@types/ws": "^8.2.0", "@types/ws": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/parser": "^5.8.0",
"eslint": "^8.3.0", "eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.0.0",
"nodemon": "^2.0.15", "nodemon": "^2.0.15",
"prettier": "^2.5.0", "prettier": "^2.5.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"tsc-watch": "^4.5.0", "tsc-watch": "^4.6.0",
"typescript": "^4.5.2" "typescript": "^4.5.4"
}, },
"engines": { "engines": {
"node": ">=16.9.1", "node": ">=16.9.1",

View File

@ -70,17 +70,6 @@ module.exports = class {
const url = station.stream[station.stream.default]; const url = station.stream[station.stream.default];
const resource = createAudioResource(url); const resource = createAudioResource(url);
audioPlayer.play(resource); audioPlayer.play(resource);
resource.playStream
.on("readable", () => {
this.logger('Streamer', station.name + " / " + "Readable");
})
.on("finish", () => {
this.logger('Streamer', station.name + " / " + "Finished");
})
.on("error", error => {
this.logger('Streamer', station.name + " / " + "Error" + "\n" + error);
});
audioPlayer audioPlayer
.on('playing', () => { .on('playing', () => {
this.logger('Streamer', station.name + " / " + "Playing"); this.logger('Streamer', station.name + " / " + "Playing");
@ -88,6 +77,7 @@ module.exports = class {
.on('idle', () => { .on('idle', () => {
this.logger('Streamer', station.name + " / " + "Idle"); this.logger('Streamer', station.name + " / " + "Idle");
audioPlayer.removeAllListeners(); audioPlayer.removeAllListeners();
if(this.mode == "manual" && audioPlayer.subscribers.length == 0) return;
this.play(station); this.play(station);
}) })
.on('paused', () => { .on('paused', () => {
@ -117,15 +107,12 @@ module.exports = class {
listen(station) { listen(station) {
let audioPlayer = this.map.get(station.name); let audioPlayer = this.map.get(station.name);
if(!audioPlayer){ if(!audioPlayer || this.mode == "manual" && audioPlayer.subscribers.length == 0) audioPlayer = this.play(station);
audioPlayer = this.play(station);
}
return audioPlayer; return audioPlayer;
} }
leave(client) { leave(client) {
if(!client.stations) return; if(!client.stations) return;
client.stations.forEach(station => { client.stations.forEach(station => {
this.stop(station); this.stop(station);
}); });

View File

@ -60,6 +60,17 @@ module.exports = {
Routes.applicationCommands(client.user.id), Routes.applicationCommands(client.user.id),
{ body: commands } { body: commands }
); );
let guilds = await client.guilds.fetch();
guilds.forEach(async guild => {
try {
await rest.put(
Routes.applicationGuildCommands(client.user.id, guild.id),
{ body: [] }
);
} catch (DiscordAPIError) {
}
});
} }
client.funcs.logger('Slash Commands', 'Successfully reloaded application (/) commands.' + "\n"); client.funcs.logger('Slash Commands', 'Successfully reloaded application (/) commands.' + "\n");

View File

@ -5,6 +5,7 @@ module.exports = {
console.log(error.stack); console.log(error.stack);
console.log(''); console.log('');
if(error.name == "DiscordAPIError" && error.message == "Unknown interaction") return;
process.emit('SIGINT'); process.emit('SIGINT');
} }
} }