Compare commits

..

579 Commits

Author SHA1 Message Date
8182a29956 Merge pull request #165 from warengroup/develop
Version 0.3.14
2022-02-01 03:41:59 +02:00
67a97ef58b Update Dependencies 2022-02-01 03:39:54 +02:00
2462f93263 Merge pull request #206 from warengroup/dependabot/npm_and_yarn/develop/types/node-17.0.13
Bump @types/node from 17.0.12 to 17.0.13
2022-02-01 03:34:55 +02:00
8856ba85c5 Bump @types/node from 17.0.12 to 17.0.13
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.12 to 17.0.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>
2022-02-01 01:34:21 +00:00
b8f018b0d6 Merge pull request #207 from warengroup/dependabot/npm_and_yarn/develop/dotenv-15.0.0
Bump dotenv from 14.3.2 to 15.0.0
2022-02-01 03:33:43 +02:00
7fc6f55bfb Bump dotenv from 14.3.2 to 15.0.0
Bumps [dotenv](https://github.com/motdotla/dotenv) from 14.3.2 to 15.0.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v14.3.2...v15.0.0)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 01:13:04 +00:00
3e9ebea3e1 Merge pull request #208 from warengroup/dependabot/npm_and_yarn/develop/eslint-8.8.0
Bump eslint from 8.7.0 to 8.8.0
2022-02-01 03:12:21 +02:00
5ac93d2121 Bump eslint from 8.7.0 to 8.8.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.7.0 to 8.8.0.
- [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.7.0...v8.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 08:02:59 +00:00
69d2be4596 Merge pull request #205 from warengroup/dependabot/npm_and_yarn/develop/dotenv-14.3.2
Bump dotenv from 14.3.0 to 14.3.2
2022-01-26 12:27:11 +02:00
2d55076ef1 Bump dotenv from 14.3.0 to 14.3.2
Bumps [dotenv](https://github.com/motdotla/dotenv) from 14.3.0 to 14.3.2.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v14.3.0...v14.3.2)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-26 08:03:08 +00:00
a5f4e2a091 Merge pull request #201 from warengroup/dependabot/npm_and_yarn/develop/dotenv-14.3.0
Bump dotenv from 14.1.0 to 14.3.0
2022-01-25 19:47:45 +02:00
27ae344de8 Bump dotenv from 14.1.0 to 14.3.0
Bumps [dotenv](https://github.com/motdotla/dotenv) from 14.1.0 to 14.3.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v14.1.0...v14.3.0)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 17:46:25 +00:00
c24dc05ff3 Merge pull request #202 from warengroup/dependabot/npm_and_yarn/develop/discordjs/voice-0.8.0
Bump @discordjs/voice from 0.7.5 to 0.8.0
2022-01-25 19:45:42 +02:00
0e08f372fe Bump @discordjs/voice from 0.7.5 to 0.8.0
Bumps [@discordjs/voice](https://github.com/discordjs/discord.js) from 0.7.5 to 0.8.0.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Commits](https://github.com/discordjs/discord.js/compare/@discordjs/voice@0.7.5...@discordjs/voice@0.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 17:44:39 +00:00
d2f9f76f97 Merge pull request #203 from warengroup/dependabot/npm_and_yarn/develop/discordjs/builders-0.12.0
Bump @discordjs/builders from 0.11.0 to 0.12.0
2022-01-25 19:43:44 +02:00
d2b8abdef8 Bump @discordjs/builders from 0.11.0 to 0.12.0
Bumps [@discordjs/builders](https://github.com/discordjs/discord.js) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Commits](https://github.com/discordjs/discord.js/compare/@discordjs/builders@0.11.0...@discordjs/builders@0.12.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>
2022-01-25 17:41:58 +00:00
ad1f200ff0 Merge pull request #204 from warengroup/dependabot/npm_and_yarn/develop/types/node-17.0.12
Bump @types/node from 17.0.10 to 17.0.12
2022-01-25 19:39:50 +02:00
50a5593694 Bump @types/node from 17.0.10 to 17.0.12
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.10 to 17.0.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>
2022-01-25 17:37:25 +00:00
60ba6401b2 Merge pull request #200 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-5.10.1
Bump @typescript-eslint/parser from 5.9.1 to 5.10.1
2022-01-25 19:36:29 +02:00
f2c7b74838 Bump @typescript-eslint/parser from 5.9.1 to 5.10.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.9.1 to 5.10.1.
- [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.10.1/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>
2022-01-25 17:35:10 +00:00
2eab5bc7dc Merge pull request #199 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-5.10.1
Bump @typescript-eslint/eslint-plugin from 5.9.1 to 5.10.1
2022-01-25 19:34:24 +02:00
1a6e1614a5 Bump @typescript-eslint/eslint-plugin from 5.9.1 to 5.10.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.9.1 to 5.10.1.
- [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.10.1/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>
2022-01-25 17:32:51 +00:00
d95b8c882f Merge pull request #198 from warengroup/dependabot/npm_and_yarn/develop/discordjs/rest-0.3.0
Bump @discordjs/rest from 0.2.0-canary.0 to 0.3.0
2022-01-25 19:31:38 +02:00
66d9118d65 Bump @discordjs/rest from 0.2.0-canary.0 to 0.3.0
Bumps [@discordjs/rest](https://github.com/discordjs/discord.js) from 0.2.0-canary.0 to 0.3.0.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Commits](https://github.com/discordjs/discord.js/commits/@discordjs/rest@0.3.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>
2022-01-25 17:30:38 +00:00
65dd527852 Merge pull request #196 from warengroup/dependabot/npm_and_yarn/develop/typescript-4.5.5
Bump typescript from 4.5.4 to 4.5.5
2022-01-25 19:28:16 +02:00
acf0b95693 Bump typescript from 4.5.4 to 4.5.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.4 to 4.5.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.4...v4.5.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 09:09:04 +00:00
b815799996 Merge pull request #195 from warengroup/dependabot/npm_and_yarn/develop/node-fetch-3.2.0
Bump node-fetch from 3.1.1 to 3.2.0
2022-01-21 11:06:56 +02:00
3263a7b641 Bump node-fetch from 3.1.1 to 3.2.0
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.1.1...v3.2.0)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 09:05:10 +00:00
dedd99e18b Merge pull request #194 from warengroup/dependabot/npm_and_yarn/develop/types/node-17.0.10
Bump @types/node from 17.0.8 to 17.0.10
2022-01-21 11:04:18 +02:00
40376e71ad Bump @types/node from 17.0.8 to 17.0.10
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.8 to 17.0.10.
- [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>
2022-01-19 08:03:16 +00:00
e8274a50a1 Merge pull request #182 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-5.9.1
Bump @typescript-eslint/parser from 5.9.0 to 5.9.1
2022-01-17 10:54:41 +02:00
542830150f Bump @typescript-eslint/parser from 5.9.0 to 5.9.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.9.0 to 5.9.1.
- [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.9.1/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 08:52:19 +00:00
ebe369f138 Merge pull request #183 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-5.9.1
Bump @typescript-eslint/eslint-plugin from 5.9.0 to 5.9.1
2022-01-17 10:51:36 +02:00
0548739000 Bump @typescript-eslint/eslint-plugin from 5.9.0 to 5.9.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.9.0 to 5.9.1.
- [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.9.1/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 08:50:23 +00:00
0080c8722a Merge pull request #188 from warengroup/dependabot/npm_and_yarn/develop/node-fetch-3.1.1
Bump node-fetch from 3.1.0 to 3.1.1
2022-01-17 10:47:37 +02:00
4dcb3a627d Bump node-fetch from 3.1.0 to 3.1.1
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 08:46:08 +00:00
7ecaeaa13d Merge pull request #189 from warengroup/dependabot/npm_and_yarn/develop/eslint-8.7.0
Bump eslint from 8.6.0 to 8.7.0
2022-01-17 10:44:09 +02:00
9beb0ddfee Bump eslint from 8.6.0 to 8.7.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.6.0 to 8.7.0.
- [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.6.0...v8.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 08:42:58 +00:00
474bdc2ca6 Merge pull request #187 from warengroup/dependabot/npm_and_yarn/develop/dotenv-14.1.0
Bump dotenv from 12.0.3 to 14.1.0
2022-01-17 10:42:18 +02:00
11f3906ef9 Bump dotenv from 12.0.3 to 14.1.0
Bumps [dotenv](https://github.com/motdotla/dotenv) from 12.0.3 to 14.1.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v12.0.3...v14.1.0)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 08:02:59 +00:00
28ae1793e2 Merge pull request #186 from warengroup/dependabot/npm_and_yarn/develop/dotenv-12.0.3
Bump dotenv from 10.0.0 to 12.0.3
2022-01-16 03:16:15 +02:00
eba5e72915 Bump dotenv from 10.0.0 to 12.0.3
Bumps [dotenv](https://github.com/motdotla/dotenv) from 10.0.0 to 12.0.3.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v10.0.0...v12.0.3)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-16 01:12:18 +00:00
59ad092aaf Merge pull request #185 from warengroup/dependabot/npm_and_yarn/develop/discord.js-13.6.0
Bump discord.js from 13.5.1 to 13.6.0
2022-01-16 03:06:43 +02:00
17b47a9c12 Bump discord.js from 13.5.1 to 13.6.0
Bumps [discord.js](https://github.com/discordjs/discord.js) from 13.5.1 to 13.6.0.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Changelog](https://github.com/discordjs/discord.js/blob/13.6.0/CHANGELOG.md)
- [Commits](https://github.com/discordjs/discord.js/compare/13.5.1...13.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 08:05:04 +00:00
b79b8a53db Merge pull request #181 from warengroup/dependabot/npm_and_yarn/develop/discord.js-13.5.1
Bump discord.js from 13.5.0 to 13.5.1
2022-01-10 10:57:28 +02:00
ea0ba75a32 Bump discord.js from 13.5.0 to 13.5.1
Bumps [discord.js](https://github.com/discordjs/discord.js) from 13.5.0 to 13.5.1.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Commits](https://github.com/discordjs/discord.js/compare/13.5.0...13.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 08:03:49 +00:00
780ffdc2d4 Merge pull request #178 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-5.9.0
Bump @typescript-eslint/eslint-plugin from 5.8.1 to 5.9.0
2022-01-09 19:15:52 +02:00
c5783ad9dd Bump @typescript-eslint/eslint-plugin from 5.8.1 to 5.9.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.8.1 to 5.9.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.9.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>
2022-01-09 17:09:35 +00:00
156b6982a5 Merge pull request #179 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-5.9.0
Bump @typescript-eslint/parser from 5.8.1 to 5.9.0
2022-01-09 19:00:10 +02:00
5b264fcac8 Bump @typescript-eslint/parser from 5.8.1 to 5.9.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.8.1 to 5.9.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.9.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>
2022-01-09 16:57:28 +00:00
01c6b9d128 Merge pull request #180 from warengroup/dependabot/npm_and_yarn/develop/types/node-17.0.8
Bump @types/node from 17.0.7 to 17.0.8
2022-01-09 18:48:26 +02:00
a1d69c0002 Bump @types/node from 17.0.7 to 17.0.8
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.7 to 17.0.8.
- [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>
2022-01-05 08:03:11 +00:00
25416b8193 Update Dependencies 2022-01-03 17:42:04 +02:00
f4ade1e876 Merge pull request #174 from warengroup/dependabot/npm_and_yarn/develop/discord.js-13.5.0
Bump discord.js from 13.4.0 to 13.5.0
2021-12-30 11:59:37 +02:00
207bb8a212 Bump discord.js from 13.4.0 to 13.5.0
Bumps [discord.js](https://github.com/discordjs/discord.js) from 13.4.0 to 13.5.0.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Changelog](https://github.com/discordjs/discord.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/discordjs/discord.js/compare/13.4.0...13.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-30 09:58:19 +00:00
65943edc36 Merge pull request #173 from warengroup/dependabot/npm_and_yarn/develop/discordjs/builders-0.11.0
Bump @discordjs/builders from 0.10.0 to 0.11.0
2021-12-30 11:57:42 +02:00
54e7ade5dc Bump @discordjs/builders from 0.10.0 to 0.11.0
Bumps [@discordjs/builders](https://github.com/discordjs/builders) from 0.10.0 to 0.11.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.10.0...v0.11.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-30 08:02:20 +00:00
06a7135737 Merge pull request #172 from warengroup/dependabot/github_actions/develop/actions/setup-node-2.5.1
Bump actions/setup-node from 2.5.0 to 2.5.1
2021-12-29 13:54:08 +02:00
40c13aeec3 Bump actions/setup-node from 2.5.0 to 2.5.1
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.5.0...v2.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-29 08:21:07 +00:00
0b2dce3678 Merge pull request #170 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-5.8.1
Bump @typescript-eslint/eslint-plugin from 5.8.0 to 5.8.1
2021-12-28 12:03:10 +02:00
a80ed5a677 Bump @typescript-eslint/eslint-plugin from 5.8.0 to 5.8.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.8.0 to 5.8.1.
- [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.1/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-28 10:02:10 +00:00
57edad6b7a Merge pull request #171 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-5.8.1
Bump @typescript-eslint/parser from 5.8.0 to 5.8.1
2021-12-28 12:01:15 +02:00
60e12c9caf Bump @typescript-eslint/parser from 5.8.0 to 5.8.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.8.0 to 5.8.1.
- [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.1/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-28 08:03:25 +00:00
421be0e8b3 Merge pull request #168 from warengroup/dependabot/npm_and_yarn/develop/types/node-17.0.5
Bump @types/node from 17.0.4 to 17.0.5
2021-12-27 11:51:03 +02:00
de61154389 Bump @types/node from 17.0.4 to 17.0.5
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.4 to 17.0.5.
- [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-27 09:50:49 +00:00
4e13e753a6 Merge pull request #169 from warengroup/dependabot/npm_and_yarn/develop/discord-api-types-0.26.0
Bump discord-api-types from 0.25.2 to 0.26.0
2021-12-27 11:50:13 +02:00
9024f480e0 Bump discord-api-types from 0.25.2 to 0.26.0
Bumps [discord-api-types](https://github.com/discordjs/discord-api-types) from 0.25.2 to 0.26.0.
- [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.2...0.26.0)

---
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-12-27 08:04:06 +00:00
45f4f8857d Update Dependencies 2021-12-25 16:12:54 +02:00
85a6d13dd3 Merge pull request #167 from warengroup/dependabot/npm_and_yarn/develop/types/node-17.0.4
Bump @types/node from 17.0.3 to 17.0.4
2021-12-24 11:24:07 +02:00
b0c2a41b7f Bump @types/node from 17.0.3 to 17.0.4
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.3 to 17.0.4.
- [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-24 08:03:28 +00:00
a39ab7e8b1 Merge pull request #166 from warengroup/dependabot/npm_and_yarn/develop/types/node-17.0.3
Bump @types/node from 17.0.2 to 17.0.3
2021-12-23 17:21:47 +02:00
a52baaed98 Bump @types/node from 17.0.2 to 17.0.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.2 to 17.0.3.
- [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-23 08:03:42 +00:00
1c93958e78 Bumb version 2021-12-21 17:46:19 +02:00
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
1d8ddc6084 Merge pull request #80 from warengroup/develop
Version 0.3.12
2021-11-30 00:21:57 +02:00
1fcbe8dc98 Update README.md 2021-11-30 00:19:23 +02:00
145e23cc91 Add direct search to Stations class 2021-11-29 19:50:05 +02:00
7f791e0075 Update fetch function in Stations class 2021-11-29 19:05:01 +02:00
e229b91812 If station is false return at restore function in Radio class 2021-11-29 19:04:32 +02:00
8d66dcb4ae Update audioPlayer idle event in Streamer class 2021-11-29 14:37:14 +02:00
21743b8383 Update Dependencies 2021-11-29 14:14:03 +02:00
d7587f4d71 Update Stations class 2021-11-29 14:03:19 +02:00
eb131a405f Update Dependencies 2021-11-29 13:20:44 +02:00
2891ceee0d Update stationsListURL 2021-11-29 13:20:33 +02:00
3c49d3ccec Merge pull request #136 from warengroup/dependabot/npm_and_yarn/develop/prettier-2.5.0
Bump prettier from 2.4.1 to 2.5.0
2021-11-26 12:20:15 +02:00
88a171d4e5 Bump prettier from 2.4.1 to 2.5.0
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.1 to 2.5.0.
- [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.4.1...2.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-26 10:16:13 +00:00
a289da13e0 Merge pull request #135 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.11.10
Bump @types/node from 16.11.9 to 16.11.10
2021-11-26 12:15:00 +02:00
8f0d73ba29 Bump @types/node from 16.11.9 to 16.11.10
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.9 to 16.11.10.
- [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-26 10:13:44 +00:00
0adffbd240 Merge pull request #134 from warengroup/dependabot/npm_and_yarn/develop/eslint-8.3.0
Bump eslint from 8.2.0 to 8.3.0
2021-11-26 12:12:31 +02:00
90600b12f8 Bump eslint from 8.2.0 to 8.3.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.2.0 to 8.3.0.
- [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.2.0...v8.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 08:02:49 +00:00
5181a2a419 Update Streamer class 2021-11-20 04:35:58 +02:00
c1ee0f4bc6 Update Dependencies 2021-11-20 03:15:18 +02:00
4bc4ac65db Update Streamer class 2021-11-20 03:13:27 +02:00
b7ae0db444 Update Dependencies 2021-11-20 03:13:16 +02:00
ab9b5fc32f Merge pull request #133 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.11.8
Bump @types/node from 16.11.7 to 16.11.8
2021-11-20 03:04:51 +02:00
d04610ba48 Bump @types/node from 16.11.7 to 16.11.8
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.7 to 16.11.8.
- [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-19 08:03:26 +00:00
26a220b366 Merge pull request #132 from warengroup/dependabot/npm_and_yarn/develop/typescript-4.5.2
Bump typescript from 4.4.4 to 4.5.2
2021-11-18 14:14:40 +02:00
09991a0080 Bump typescript from 4.4.4 to 4.5.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.4...v4.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-18 08:02:47 +00:00
d67fa68445 Update Streamer class 2021-11-16 16:55:47 +02:00
93a4f3e0c4 Update Dependencies 2021-11-16 16:52:47 +02:00
3d29a7c2ff Merge pull request #130 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-5.4.0
Bump @typescript-eslint/eslint-plugin from 5.3.1 to 5.4.0
2021-11-16 16:46:56 +02:00
92b262bbd7 Bump @typescript-eslint/eslint-plugin from 5.3.1 to 5.4.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.4.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-16 14:44:31 +00:00
5dfb79e2d7 Merge pull request #131 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-5.4.0
Bump @typescript-eslint/parser from 5.3.1 to 5.4.0
2021-11-16 16:43:38 +02:00
524107bc94 Bump @typescript-eslint/parser from 5.3.1 to 5.4.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.4.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-16 08:03:15 +00:00
0479e21015 Merge pull request #129 from warengroup/dependabot/npm_and_yarn/develop/discordjs/opus-0.7.0
Bump @discordjs/opus from 0.6.0 to 0.7.0
2021-11-15 17:14:45 +02:00
bf1b2a9d31 Bump @discordjs/opus from 0.6.0 to 0.7.0
Bumps [@discordjs/opus](https://github.com/discordjs/opus) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/discordjs/opus/releases)
- [Commits](https://github.com/discordjs/opus/compare/v0.6.0...v0.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 08:04:01 +00:00
2e077f639b Update Dependencies 2021-11-12 15:50:46 +02:00
16f91fa3f1 Merge pull request #128 from warengroup/dependabot/npm_and_yarn/develop/discordjs/voice-0.7.3
Bump @discordjs/voice from 0.7.2 to 0.7.3
2021-11-11 17:40:55 +02:00
db32310b44 Bump @discordjs/voice from 0.7.2 to 0.7.3
Bumps [@discordjs/voice](https://github.com/discordjs/voice) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/discordjs/voice/releases)
- [Changelog](https://github.com/discordjs/voice/blob/main/CHANGELOG.md)
- [Commits](https://github.com/discordjs/voice/compare/v0.7.2...v0.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-11 08:02:39 +00:00
10b94e1d62 Update Dependencies 2021-11-10 15:01:43 +02:00
8476c7d484 Merge pull request #127 from warengroup/dependabot/npm_and_yarn/develop/nodemon-2.0.15
Bump nodemon from 2.0.14 to 2.0.15
2021-11-10 14:25:08 +02:00
8b7747a914 Bump nodemon from 2.0.14 to 2.0.15
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.14 to 2.0.15.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.14...v2.0.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-10 08:04:03 +00:00
32ed9edce5 Update Dependencies 2021-11-09 15:09:01 +02:00
74298deaf4 Merge pull request #124 from warengroup/dependabot/npm_and_yarn/develop/node-fetch-3.1.0
Bump node-fetch from 3.0.0 to 3.1.0
2021-11-09 14:36:19 +02:00
1a36e7481b Bump node-fetch from 3.0.0 to 3.1.0
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-09 12:35:09 +00:00
5e6c3f0cec Merge pull request #125 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.11.7
Bump @types/node from 16.11.6 to 16.11.7
2021-11-09 14:34:22 +02:00
8e7ceac8c2 Bump @types/node from 16.11.6 to 16.11.7
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.6 to 16.11.7.
- [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-09 12:33:12 +00:00
c5be6ef112 Merge pull request #123 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-5.3.1
Bump @typescript-eslint/eslint-plugin from 5.3.0 to 5.3.1
2021-11-09 14:32:21 +02:00
45d37c1f39 Bump @typescript-eslint/eslint-plugin from 5.3.0 to 5.3.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.3.1/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-09 12:31:12 +00:00
8842e8e684 Merge pull request #126 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-5.3.1
Bump @typescript-eslint/parser from 5.3.0 to 5.3.1
2021-11-09 14:30:21 +02:00
0da7568f50 Bump @typescript-eslint/parser from 5.3.0 to 5.3.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.3.1/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-09 08:05:57 +00:00
dc9caba870 Merge pull request #122 from warengroup/dependabot/npm_and_yarn/develop/eslint-8.2.0
Bump eslint from 8.1.0 to 8.2.0
2021-11-08 16:39:10 +02:00
d0939c8a95 Bump eslint from 8.1.0 to 8.2.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.1.0 to 8.2.0.
- [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.1.0...v8.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 08:03:46 +00:00
d585b1c619 Update Dependencies 2021-11-02 09:52:54 +02:00
62096ea2d5 Merge pull request #121 from warengroup/dependabot/npm_and_yarn/develop/discordjs/voice-0.7.2
Bump @discordjs/voice from 0.6.0 to 0.7.2
2021-11-02 09:27:42 +02:00
c1dd67c4a9 Bump @discordjs/voice from 0.6.0 to 0.7.2
Bumps [@discordjs/voice](https://github.com/discordjs/voice) from 0.6.0 to 0.7.2.
- [Release notes](https://github.com/discordjs/voice/releases)
- [Changelog](https://github.com/discordjs/voice/blob/main/CHANGELOG.md)
- [Commits](https://github.com/discordjs/voice/compare/v0.6.0...v0.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 07:23:40 +00:00
2e82e13e12 Merge pull request #120 from warengroup/dependabot/npm_and_yarn/develop/discordjs/builders-0.8.2
Bump @discordjs/builders from 0.8.1 to 0.8.2
2021-11-02 09:22:54 +02:00
86befc7c59 Bump @discordjs/builders from 0.8.1 to 0.8.2
Bumps [@discordjs/builders](https://github.com/discordjs/builders) from 0.8.1 to 0.8.2.
- [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.1...v0.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 08:03:39 +00:00
688bfb5b0a Update Dependencies 2021-10-30 13:56:46 +03:00
7fc1aafb64 Merge pull request #119 from warengroup/dependabot/npm_and_yarn/develop/discordjs/builders-0.8.1
Bump @discordjs/builders from 0.7.0 to 0.8.1
2021-10-29 11:42:27 +03:00
c30e1892f6 Bump @discordjs/builders from 0.7.0 to 0.8.1
Bumps [@discordjs/builders](https://github.com/discordjs/builders) from 0.7.0 to 0.8.1.
- [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.7.0...v0.8.1)

---
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-10-29 08:41:22 +00:00
20a2b3829e Merge pull request #118 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.11.6
Bump @types/node from 16.11.5 to 16.11.6
2021-10-29 11:40:28 +03:00
ea54541f6a Bump @types/node from 16.11.5 to 16.11.6
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.5 to 16.11.6.
- [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-10-26 08:03:00 +00:00
419f5639bf Update Streamer class 2021-10-26 02:35:18 +03:00
b6b96fb7a6 Update Dependencies 2021-10-26 02:32:45 +03:00
13fedb1e28 Merge pull request #113 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-5.2.0
Bump @typescript-eslint/eslint-plugin from 5.0.0 to 5.2.0
2021-10-26 02:14:44 +03:00
7b816ce538 Bump @typescript-eslint/eslint-plugin from 5.0.0 to 5.2.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.0.0 to 5.2.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.2.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-10-25 23:12:54 +00:00
5c8f31dbc0 Merge pull request #114 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-5.2.0
Bump @typescript-eslint/parser from 5.0.0 to 5.2.0
2021-10-26 02:10:32 +03:00
9b512a3d27 Bump @typescript-eslint/parser from 5.0.0 to 5.2.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.0.0 to 5.2.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.2.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-10-25 23:09:24 +00:00
eadba47c2c Merge pull request #116 from warengroup/dependabot/npm_and_yarn/develop/eslint-8.1.0
Bump eslint from 8.0.1 to 8.1.0
2021-10-26 02:08:16 +03:00
1c2aae3ea3 Merge pull request #117 from warengroup/dependabot/npm_and_yarn/develop/ts-node-10.4.0
Bump ts-node from 10.3.0 to 10.4.0
2021-10-26 02:07:10 +03:00
5eb79a77f5 Bump ts-node from 10.3.0 to 10.4.0
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.3.0 to 10.4.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.3.0...v10.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 23:05:51 +00:00
725ac8a9fc Merge pull request #106 from warengroup/dependabot/npm_and_yarn/develop/discord-api-types-0.24.0
Bump discord-api-types from 0.23.1 to 0.24.0
2021-10-26 02:04:48 +03:00
87e3a58e36 Bump discord-api-types from 0.23.1 to 0.24.0
Bumps [discord-api-types](https://github.com/discordjs/discord-api-types) from 0.23.1 to 0.24.0.
- [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.23.1...0.24.0)

---
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-10-25 23:03:41 +00:00
0cf66571ae Bump eslint from 8.0.1 to 8.1.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.0.1 to 8.1.0.
- [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.0.1...v8.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 23:03:32 +00:00
5513ace425 Merge pull request #115 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.11.5
Bump @types/node from 16.11.4 to 16.11.5
2021-10-26 02:02:48 +03:00
8ff2013333 Bump @types/node from 16.11.4 to 16.11.5
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.4 to 16.11.5.
- [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-10-25 23:01:30 +00:00
d683e7e0df Merge pull request #112 from warengroup/dependabot/npm_and_yarn/develop/nodemon-2.0.14
Bump nodemon from 2.0.13 to 2.0.14
2021-10-26 02:00:54 +03:00
dd8551dacc Bump nodemon from 2.0.13 to 2.0.14
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.13 to 2.0.14.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.13...v2.0.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 22:59:32 +00:00
aa623d6b13 Merge pull request #107 from warengroup/dependabot/npm_and_yarn/develop/discordjs/builders-0.7.0
Bump @discordjs/builders from 0.6.0 to 0.7.0
2021-10-26 01:57:50 +03:00
5708349f67 Bump @discordjs/builders from 0.6.0 to 0.7.0
Bumps [@discordjs/builders](https://github.com/discordjs/builders) from 0.6.0 to 0.7.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.6.0...v0.7.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-10-25 22:56:25 +00:00
14bbd9de7c Merge pull request #111 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.11.4
Bump @types/node from 16.10.9 to 16.11.4
2021-10-26 01:55:26 +03:00
5b98a70ce2 Bump @types/node from 16.10.9 to 16.11.4
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.10.9 to 16.11.4.
- [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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 08:03:35 +00:00
b174cf1456 Merge pull request #102 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.10.9
Bump @types/node from 16.10.5 to 16.10.9
2021-10-14 12:52:58 +03:00
8031737e2f Bump @types/node from 16.10.5 to 16.10.9
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.10.5 to 16.10.9.
- [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-10-14 09:47:22 +00:00
42fa7fed57 Merge pull request #103 from warengroup/dependabot/npm_and_yarn/develop/eslint-8.0.1
Bump eslint from 8.0.0 to 8.0.1
2021-10-14 12:46:43 +03:00
5d3b0e48e4 Bump eslint from 8.0.0 to 8.0.1
Bumps [eslint](https://github.com/eslint/eslint) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.0.0...v8.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-14 08:02:59 +00:00
9a775b3fe9 Merge pull request #99 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.10.5
Bump @types/node from 16.10.3 to 16.10.5
2021-10-13 15:27:28 +03:00
d5316cde06 Merge pull request #100 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-5.0.0
Bump @typescript-eslint/parser from 4.33.0 to 5.0.0
2021-10-13 15:27:15 +03:00
39d3b4df42 Merge pull request #101 from warengroup/dependabot/npm_and_yarn/develop/typescript-4.4.4
Bump typescript from 4.4.3 to 4.4.4
2021-10-13 15:26:44 +03:00
66a0e0c80d Bump typescript from 4.4.3 to 4.4.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.3 to 4.4.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.3...v4.4.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-10-13 08:02:54 +00:00
2746ecc588 Bump @typescript-eslint/parser from 4.33.0 to 5.0.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.33.0 to 5.0.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.0.0/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-13 08:02:37 +00:00
7c64d0069d Bump @types/node from 16.10.3 to 16.10.5
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.10.3 to 16.10.5.
- [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-10-13 08:02:20 +00:00
1005a37c48 Merge pull request #97 from warengroup/dependabot/npm_and_yarn/develop/ts-node-10.3.0
Bump ts-node from 10.2.1 to 10.3.0
2021-10-12 11:27:42 +03:00
58b99daa48 Merge pull request #98 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-5.0.0
Bump @typescript-eslint/eslint-plugin from 4.33.0 to 5.0.0
2021-10-12 11:24:25 +03:00
e04b73ea94 Bump @typescript-eslint/eslint-plugin from 4.33.0 to 5.0.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.33.0 to 5.0.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.0.0/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 08:03:44 +00:00
8359737828 Bump ts-node from 10.2.1 to 10.3.0
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.2.1 to 10.3.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.2.1...v10.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 08:03:22 +00:00
706b5c0841 Merge pull request #96 from warengroup/dependabot/npm_and_yarn/develop/eslint-8.0.0
Bump eslint from 7.32.0 to 8.0.0
2021-10-11 12:45:34 +03:00
aefc7b2334 Bump eslint from 7.32.0 to 8.0.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.0.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 08:03:35 +00:00
7133fada59 Merge pull request #94 from warengroup/dependabot/npm_and_yarn/develop/discord.js-13.2.0
Bump discord.js from 13.1.0 to 13.2.0
2021-10-06 11:20:01 +03:00
12289f2493 Bump discord.js from 13.1.0 to 13.2.0
Bumps [discord.js](https://github.com/discordjs/discord.js) from 13.1.0 to 13.2.0.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Changelog](https://github.com/discordjs/discord.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/discordjs/discord.js/compare/13.1.0...13.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 08:18:57 +00:00
a1d5038ab0 Merge pull request #95 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.10.3
Bump @types/node from 16.10.2 to 16.10.3
2021-10-06 11:16:13 +03:00
b65388cb68 Bump @types/node from 16.10.2 to 16.10.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.10.2 to 16.10.3.
- [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-10-06 08:03:51 +00:00
8f9220231a Merge pull request #92 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.33.0
Bump @typescript-eslint/parser from 4.32.0 to 4.33.0
2021-10-05 13:41:34 +03:00
caab59e5f0 Bump @typescript-eslint/parser from 4.32.0 to 4.33.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.32.0 to 4.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.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-10-05 10:40:27 +00:00
9de0ce42df Merge pull request #93 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.33.0
Bump @typescript-eslint/eslint-plugin from 4.32.0 to 4.33.0
2021-10-05 13:39:33 +03:00
fe9cd0d5f4 Bump @typescript-eslint/eslint-plugin from 4.32.0 to 4.33.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.32.0 to 4.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.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-10-05 08:03:15 +00:00
cd9dccd766 Merge pull request #91 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.10.2
Bump @types/node from 16.10.1 to 16.10.2
2021-09-30 15:42:09 +03:00
ac750996b9 Bump @types/node from 16.10.1 to 16.10.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.10.1 to 16.10.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-09-30 08:03:09 +00:00
6854faa66b Merge pull request #88 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.32.0
Bump @typescript-eslint/parser from 4.31.2 to 4.32.0
2021-09-28 12:38:13 +03:00
d8b1c99132 Bump @typescript-eslint/parser from 4.31.2 to 4.32.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.2 to 4.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.32.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-09-28 09:32:15 +00:00
3e023f17eb Merge pull request #89 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.32.0
Bump @typescript-eslint/eslint-plugin from 4.31.2 to 4.32.0
2021-09-28 12:31:28 +03:00
437a6e9892 Merge pull request #90 from warengroup/dependabot/github_actions/develop/actions/setup-node-2.4.1
Bump actions/setup-node from 2.4.0 to 2.4.1
2021-09-28 12:29:42 +03:00
348ee5d7b8 Bump actions/setup-node from 2.4.0 to 2.4.1
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.0...v2.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-28 08:16:27 +00:00
2b58c25027 Bump @typescript-eslint/eslint-plugin from 4.31.2 to 4.32.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.2 to 4.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.32.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-09-28 08:02:54 +00:00
23aa8de334 Merge pull request #86 from warengroup/dependabot/npm_and_yarn/develop/types/ws-8.2.0
Bump @types/ws from 7.4.7 to 8.2.0
2021-09-27 11:10:37 +03:00
1a7af434fa Bump @types/ws from 7.4.7 to 8.2.0
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 7.4.7 to 8.2.0.
- [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-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 08:09:32 +00:00
f16ee0a357 Merge pull request #87 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.10.1
Bump @types/node from 16.9.6 to 16.10.1
2021-09-27 11:08:26 +03:00
4255802027 Bump @types/node from 16.9.6 to 16.10.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.9.6 to 16.10.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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 08:03:47 +00:00
8680a90f8e Merge pull request #85 from warengroup/dependabot/npm_and_yarn/develop/nodemon-2.0.13
Bump nodemon from 2.0.12 to 2.0.13
2021-09-24 11:15:25 +03:00
098f874757 Bump nodemon from 2.0.12 to 2.0.13
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.12 to 2.0.13.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.12...v2.0.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-24 08:02:56 +00:00
1ad9e93d8f Merge pull request #84 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.9.6
Bump @types/node from 16.9.4 to 16.9.6
2021-09-22 12:58:51 +03:00
91b1098c58 Bump @types/node from 16.9.4 to 16.9.6
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.9.4 to 16.9.6.
- [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-09-22 08:03:22 +00:00
3873e6e8c1 Merge pull request #82 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.31.2
Bump @typescript-eslint/eslint-plugin from 4.31.1 to 4.31.2
2021-09-21 12:34:41 +03:00
5945ab95ae Bump @typescript-eslint/eslint-plugin from 4.31.1 to 4.31.2
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.1 to 4.31.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.2/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-21 09:32:41 +00:00
b1e9ebd291 Merge pull request #83 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.31.2
Bump @typescript-eslint/parser from 4.31.1 to 4.31.2
2021-09-21 12:31:34 +03:00
545bacf25b Bump @typescript-eslint/parser from 4.31.1 to 4.31.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.1 to 4.31.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.2/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-21 08:03:25 +00:00
2859f8af51 Merge pull request #81 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.9.4
Bump @types/node from 16.9.2 to 16.9.4
2021-09-20 14:49:37 +03:00
3541cd1870 Bump @types/node from 16.9.2 to 16.9.4
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.9.2 to 16.9.4.
- [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-09-20 08:03:14 +00:00
1160895f9e Bumb version 2021-09-18 15:31:02 +03:00
3db736d3f3 Merge pull request #75 from warengroup/develop
Version 0.3.11
2021-09-18 15:24:36 +03:00
22bb8c7467 Update Streamer class 2021-09-18 15:09:34 +03:00
12db2c5fcc Fix typo & memory leak in Streamer class 2021-09-18 15:02:13 +03:00
51a038096a Fix typo in maintenance command 2021-09-18 15:01:27 +03:00
53fda7c401 Catch errors inside loadEntry method in Datastore class 2021-09-18 02:17:00 +03:00
a7f3029be0 Fix typo in maintenance command 2021-09-18 02:14:13 +03:00
9f373368b3 Bumb Version 2021-09-17 23:48:49 +03:00
0945c7c26c Merge pull request #72 from warengroup/develop
Version 0.3.10
2021-09-17 23:41:31 +03:00
871cb475f9 Streamlined restore method in Radio class with play command 2021-09-17 23:29:04 +03:00
57aaf92947 Prevent loadState function updating datastore entries everytime 2021-09-17 23:24:48 +03:00
dc7b14b11a Fix Stations class bug 2021-09-17 23:14:24 +03:00
0f5022df15 Bumb Version 2021-09-17 13:07:43 +03:00
8f256d9bc3 Merge pull request #63 from warengroup/develop
Version 0.3.9
2021-09-17 12:55:56 +03:00
b686afba98 Update play function 2021-09-17 12:52:37 +03:00
f08eeb435c Update play function 2021-09-17 12:47:00 +03:00
7a8c10c6d4 Update nowplaying command 2021-09-17 12:46:46 +03:00
b38dfa039d Update messages 2021-09-17 12:46:35 +03:00
b07f0d4942 Update Dependencies 2021-09-17 12:44:55 +03:00
788216c373 Update Radio class 2021-09-16 19:43:40 +03:00
ead52decf2 Update voiceStateUpdate event 2021-09-16 19:43:19 +03:00
7757788f99 Merge pull request #70 from warengroup/dependabot/npm_and_yarn/develop/prettier-2.4.1
Bump prettier from 2.4.0 to 2.4.1
2021-09-16 13:29:58 +03:00
ddff397fe4 Bump prettier from 2.4.0 to 2.4.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.0 to 2.4.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.4.0...2.4.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-09-16 08:03:10 +00:00
8fc441c1b3 Update play command 2021-09-16 05:41:59 +03:00
0ee3ca5e08 Update ready event 2021-09-16 05:35:40 +03:00
214dff29d5 Update Streamer class 2021-09-16 05:35:26 +03:00
cc3b2a50cf Update Statistics class 2021-09-16 05:35:12 +03:00
ee08232128 Update Stations class 2021-09-16 05:35:02 +03:00
f9d5be189e Update Radio class 2021-09-16 05:34:52 +03:00
a8513ce514 Update listStations function 2021-09-16 05:17:47 +03:00
9ecdbc2bee Update check function 2021-09-16 05:17:33 +03:00
5ee30b1782 Update ready event 2021-09-16 05:17:18 +03:00
4bf74f15a2 Revert c7ddc6e 2021-09-16 05:16:41 +03:00
ccb386e3b3 Update Stations class 2021-09-16 05:13:22 +03:00
dbedb83104 Fix typo in Radio class 2021-09-16 05:13:07 +03:00
b34120e688 Update listStations function 2021-09-16 04:53:48 +03:00
90c7c667e4 Update check function 2021-09-16 04:53:31 +03:00
062a163a11 Update voiceStateUpdate event 2021-09-16 04:53:15 +03:00
1f4c3a08d0 Update SIGINT event 2021-09-16 04:52:56 +03:00
acc7ab1727 Update ready event 2021-09-16 04:52:41 +03:00
c7ddc6ec5b Update multiple commands 2021-09-16 04:52:30 +03:00
6d22dda0ae Update Client.ts 2021-09-16 04:51:36 +03:00
bfba8304e4 Update Streamer class 2021-09-16 04:51:23 +03:00
7d38170ba6 Removed calculateGlobal function in Datastore class 2021-09-16 04:50:44 +03:00
348b540c06 Remove few functions 2021-09-16 04:48:58 +03:00
330c33b3d7 Add Statistics class 2021-09-16 04:46:54 +03:00
dfa9548b59 Add Stations class 2021-09-16 04:46:42 +03:00
b351bbebed Add Radio class 2021-09-16 04:46:30 +03:00
469374f25e Update Streamer class 2021-09-16 03:34:31 +03:00
72c1609503 Update statusField order in status.js 2021-09-16 03:19:25 +03:00
8d5291cbb0 Moved commands map to commands.js 2021-09-16 03:17:50 +03:00
ebf1d0759e Update commands.js 2021-09-16 02:52:40 +03:00
c829f70418 Add devMode to config 2021-09-16 02:52:24 +03:00
341bddd4cd Update .env_example 2021-09-16 02:51:07 +03:00
460a5415e5 Update Dependencies 2021-09-16 02:36:06 +03:00
a4d984f19c Update Datastore class 2021-09-16 02:27:33 +03:00
09ae458ff1 Update play function 2021-09-16 02:26:11 +03:00
00f6ee71e0 Update interactionCreate event 2021-09-16 02:17:14 +03:00
126d5e9ba2 Update play command 2021-09-16 02:07:05 +03:00
d64b0ac0cb Change default streamerMode to manual 2021-09-16 01:21:33 +03:00
bfb27e7359 Update play command 2021-09-16 01:13:17 +03:00
48445afdd5 Update Streamer event 2021-09-16 01:11:31 +03:00
4854e622b3 Update maintenance command 2021-09-15 17:26:04 +03:00
9d9c8a6a07 Update Streamer class 2021-09-15 17:25:55 +03:00
7040300b3e Update Streamer class 2021-09-14 18:02:11 +03:00
24478b6320 Update saveRadios function 2021-09-14 17:13:37 +03:00
a43a788e15 Update play command 2021-09-14 17:13:17 +03:00
2892913caa Update maintenance command 2021-09-14 17:12:47 +03:00
930d481fcf Update Streamer class 2021-09-14 17:12:30 +03:00
81a9d7be7c Update Datastore class 2021-09-14 17:12:18 +03:00
45e5019b28 Merge branch 'develop' of https://github.com/warengroup/eximiabots-radiox into develop 2021-09-14 14:52:29 +03:00
b76b7a107c Update maintenance command 2021-09-14 14:52:04 +03:00
87295d10c1 Merge pull request #67 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.31.1
Bump @typescript-eslint/eslint-plugin from 4.31.0 to 4.31.1
2021-09-14 11:43:44 +03:00
d03b8cdb1d Bump @typescript-eslint/eslint-plugin from 4.31.0 to 4.31.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.0 to 4.31.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.1/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 08:42:36 +00:00
fd8c1ec31b Merge pull request #66 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.31.1
Bump @typescript-eslint/parser from 4.31.0 to 4.31.1
2021-09-14 11:41:57 +03:00
720d356d1f Bump @typescript-eslint/parser from 4.31.0 to 4.31.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.0 to 4.31.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.1/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 08:03:00 +00:00
4b0efe7491 Update maintenance command 2021-09-12 17:49:21 +03:00
a20e7a1c8e Update ready.js 2021-09-12 17:49:07 +03:00
88fdad4ab9 Update maintenance command 2021-09-12 17:39:38 +03:00
3ed49f88ab Update Streamer class 2021-09-12 17:39:23 +03:00
752bd07c5d client.config.maintenance to client.config.maintenanceMode 2021-09-12 17:38:52 +03:00
b08de94c64 Update functions 2021-09-12 17:37:43 +03:00
892c5f9902 Update Streamer class 2021-09-12 17:09:32 +03:00
3029a8a653 Hide owner in now playing when station name is same in play command 2021-09-12 17:08:31 +03:00
86510a8871 Hide owner in now playing when station name is same in nowplaying command 2021-09-12 17:08:20 +03:00
e85b864170 Add streamerMode setting to config 2021-09-12 17:07:41 +03:00
727f8f5177 Update Dependencies 2021-09-12 16:48:11 +03:00
ad9a2f8f19 Update restoreRadios function 2021-09-11 23:58:39 +03:00
803bc20fb7 Update voiceStateUpdate event 2021-09-11 23:58:24 +03:00
7d479b4c5f Update Streamer class 2021-09-11 23:19:49 +03:00
ffa9c8abb0 Update Streamer class 2021-09-11 23:12:39 +03:00
49475212a7 Update Streamer class 2021-09-11 23:03:20 +03:00
824d4042c1 Update maintenance command 2021-09-11 23:02:37 +03:00
0c76c137b9 Update ready.js 2021-09-11 23:02:12 +03:00
accff3fa60 Update Streamer class 2021-09-11 22:35:06 +03:00
1cfa62802f Update play command 2021-09-11 18:27:21 +03:00
9019741146 Update stop command 2021-09-11 18:27:12 +03:00
095b6ad775 Update Streamer class 2021-09-11 18:27:01 +03:00
a043cde46e Update logger function 2021-09-11 18:03:27 +03:00
bfec178de7 Update Streamer class 2021-09-11 18:01:53 +03:00
12f3948e40 Update SIGINT event 2021-09-11 17:35:20 +03:00
0bc26f8895 Update Streamer class 2021-09-11 17:34:50 +03:00
b66a60ebe9 Formatting Streamer class 2021-09-11 17:17:42 +03:00
b4a24de8cd Update play command 2021-09-11 17:16:11 +03:00
9517ba1fa9 Update play function 2021-09-11 17:16:03 +03:00
73d330d1e2 Update stop command 2021-09-11 17:15:27 +03:00
13ae6c2716 Update next command 2021-09-11 17:15:04 +03:00
645ea3e197 Update prev command 2021-09-11 17:14:55 +03:00
fcf6f15be9 Update ready event 2021-09-11 17:14:43 +03:00
3d066435b4 Update SIGINT event 2021-09-11 17:14:21 +03:00
26eda76b23 Update saveRadios function 2021-09-11 17:14:02 +03:00
05905e6e6d Update restoreRadios function 2021-09-11 17:13:47 +03:00
1533ae46a4 Update voiceStateUpdate event 2021-09-11 17:12:53 +03:00
2b72f87256 Update Client.ts 2021-09-11 17:11:10 +03:00
8bf79c2744 Create Streamer class 2021-09-11 17:10:50 +03:00
45923319a6 Create Radio class 2021-09-11 17:10:37 +03:00
d8daacf80e Updated Dependencies 2021-09-11 15:12:29 +03:00
24eaf3a7e2 Update ready.js 2021-09-10 23:41:48 +03:00
57f63c3838 Move Datastore class to src/client/classes folder 2021-09-10 23:25:48 +03:00
b9e1945719 Update Dependencies 2021-09-10 23:23:29 +03:00
0b8fb4977c Update maintenance command 2021-09-10 03:17:22 +03:00
a5eec44b8e Fix maintenance command 2021-09-10 03:13:40 +03:00
e2ebe6a36e Bumb version 2021-09-10 02:33:56 +03:00
5132e40d2c Merge pull request #57 from warengroup/develop
Version 0.3.8
2021-09-10 02:09:50 +03:00
1d6361871c Update Client.ts 2021-09-10 01:54:43 +03:00
3978f19b2e Fix typo in uncaughtException event 2021-09-10 01:54:30 +03:00
26cdef50b2 Update Client.ts 2021-09-10 01:44:21 +03:00
fee833d231 Update warning event 2021-09-10 01:43:53 +03:00
6541287dec Update uncaughtException event 2021-09-10 01:43:21 +03:00
44d81b6fd7 Add warning event 2021-09-10 01:21:42 +03:00
200f16eac0 Disable Node warnings in package.json 2021-09-10 01:21:14 +03:00
8c9fe03629 Updated Dependencies 2021-09-10 00:24:30 +03:00
24071eb5df Update Client.ts 2021-09-09 18:55:42 +03:00
3b5c241872 Update ready.js 2021-09-09 18:55:33 +03:00
44a708548f Update maintenance command 2021-09-09 18:55:18 +03:00
5c1a8f0ef1 Add maintenance mode in config.js 2021-09-09 18:54:51 +03:00
526bb7736a Update list command 2021-09-09 18:54:23 +03:00
22c0544d09 Add maintenance mode check in play command 2021-09-09 18:53:46 +03:00
9c3748ad7c Add maintenance mode to check function 2021-09-09 18:53:24 +03:00
3807ae89a0 Add maintenance message in messages.js 2021-09-09 18:52:50 +03:00
9e2be295c3 Update stop command 2021-09-09 18:52:25 +03:00
fb257d1c30 Add CONTRIBUTING.md to labeler config 2021-09-09 18:51:42 +03:00
17a075cd29 Add CONTRIBUTING.md 2021-09-09 18:51:25 +03:00
93b5663ebe Added SECURITY.md to be labeled with documentation in labeler config 2021-09-09 17:57:15 +03:00
8399fd5bb1 Added security policy in SECURITY.md 2021-09-09 17:56:51 +03:00
364b5d9b3c Merge pull request #35 from warengroup/fix-33
Node-Fetch Update
2021-09-09 13:05:02 +03:00
e08c20aa3d Merge branch 'develop' into fix-33 2021-09-09 13:03:46 +03:00
65bebb7b13 Bumb version 2021-09-09 12:56:34 +03:00
13814afebc Formatting changes 2021-09-09 12:44:50 +03:00
b44bc679e5 Added VSCode settings 2021-09-09 12:43:12 +03:00
c83b90aa20 Removed .vscode folder in .gitignore 2021-09-09 12:42:10 +03:00
1bb8d8d801 Updated SIGINT event 2021-09-09 12:05:52 +03:00
0b1cb03305 Added exit event in Client.ts 2021-09-09 12:05:39 +03:00
90a93d35f7 Removed comments in maintenance.js 2021-09-09 12:05:15 +03:00
24716dd497 Updated Dependencies 2021-09-09 11:26:37 +03:00
259b58aa1a Merge pull request #59 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.9.0
Bump @types/node from 16.7.13 to 16.9.0
2021-09-09 11:24:16 +03:00
52ec0845a7 Merge pull request #60 from warengroup/dependabot/npm_and_yarn/develop/discord-api-types-0.23.1
Bump discord-api-types from 0.23.0 to 0.23.1
2021-09-09 11:24:06 +03:00
ddbe950a19 Bump discord-api-types from 0.23.0 to 0.23.1
Bumps [discord-api-types](https://github.com/discordjs/discord-api-types) from 0.23.0 to 0.23.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.23.0...0.23.1)

---
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-09-09 08:02:59 +00:00
46790b12ff Bump @types/node from 16.7.13 to 16.9.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.7.13 to 16.9.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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-09 08:02:40 +00:00
488d0a6d12 Merge pull request #58 from warengroup/dependabot/npm_and_yarn/develop/discord-api-types-0.23.0
Bump discord-api-types from 0.22.0 to 0.23.0
2021-09-08 15:51:45 +03:00
7699871779 Bump discord-api-types from 0.22.0 to 0.23.0
Bumps [discord-api-types](https://github.com/discordjs/discord-api-types) from 0.22.0 to 0.23.0.
- [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.22.0...0.23.0)

---
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-09-08 08:02:48 +00:00
ac323a5410 Temporary solution 2021-09-08 01:39:35 +03:00
9408d0d66b Bumb version 2021-09-07 15:49:13 +03:00
5cd3912ff5 Merge branch 'master' into fix-33 2021-09-07 15:47:24 +03:00
33e674f7c7 Merge pull request #53 from warengroup/develop
Version 0.3.7
2021-09-07 15:43:43 +03:00
d0c10018f3 Updated messageCreate event 2021-09-07 15:36:33 +03:00
523c94aafb Updated labeler workflow (Github Workflows) 2021-09-07 15:30:12 +03:00
ac42502883 Merge pull request #56 from warengroup/dependabot/npm_and_yarn/develop/types/node-16.7.13
Bump @types/node from 16.7.10 to 16.7.13
2021-09-07 13:21:40 +03:00
704596c371 Bump @types/node from 16.7.10 to 16.7.13
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.7.10 to 16.7.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-09-07 08:02:48 +00:00
4de241ecab Merge pull request #51 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.31.0
Bump @typescript-eslint/parser from 4.30.0 to 4.31.0
2021-09-06 23:06:36 +03:00
f70818c9f3 Bump @typescript-eslint/parser from 4.30.0 to 4.31.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.30.0 to 4.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.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-09-06 20:04:19 +00:00
6ad412000d Merge pull request #50 from warengroup/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.31.0
Bump @typescript-eslint/eslint-plugin from 4.30.0 to 4.31.0
2021-09-06 23:03:16 +03:00
2804f942b7 Merge pull request #48 from warengroup/dependabot/github_actions/develop/actions/setup-node-2.4.0
Bump actions/setup-node from 2.3.1 to 2.4.0
2021-09-06 23:01:20 +03:00
561b365e44 Merge pull request #49 from warengroup/dependabot/github_actions/develop/docker/setup-buildx-action-1.6.0
Bump docker/setup-buildx-action from 1.5.1 to 1.6.0
2021-09-06 23:00:20 +03:00
9475c68682 Bumb Version 2021-09-06 22:52:24 +03:00
34abb66086 Merge branch 'master' into fix-33 2021-09-06 22:49:37 +03:00
890df2c27c Bump @typescript-eslint/eslint-plugin from 4.30.0 to 4.31.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.30.0 to 4.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.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-09-06 19:39:41 +00:00
cb1d2ca6b9 Bump docker/setup-buildx-action from 1.5.1 to 1.6.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 19:39:29 +00:00
f31ad5ceca Bump actions/setup-node from 2.3.1 to 2.4.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.3.1...v2.4.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-09-06 19:39:26 +00:00
8b5933749d Merge pull request #47 from warengroup/develop
Version 0.3.6
2021-09-06 22:39:05 +03:00
ab950352fa Added uncaughtException event 2021-09-06 22:35:49 +03:00
984e8aab76 Fixed prev command 2021-09-06 22:35:21 +03:00
cc8b44db9b Fixed next command 2021-09-06 22:35:14 +03:00
1371a83e90 Removed permissions property from commands 2021-09-06 21:56:19 +03:00
33e4a416a9 Updated saveRadios function 2021-09-06 21:46:59 +03:00
5bf4bd9a1c Updated maintenance command 2021-09-06 21:45:13 +03:00
4edfe6848c Updated SIGINT event 2021-09-06 21:44:59 +03:00
884233a938 Updated SIGTERM event 2021-09-06 21:44:45 +03:00
3ac284e237 Updated maintenance command 2021-09-06 20:42:14 +03:00
d1fe9177af Updated play.js 2021-09-06 19:43:28 +03:00
8316723a6a Added reload stations option in maintenance command 2021-09-06 19:43:14 +03:00
f9ce2bfaf9 Updated play command 2021-09-06 19:10:15 +03:00
a9857cb34b Updated play function 2021-09-06 19:09:34 +03:00
894a1d82f5 Updated play command 2021-09-06 18:38:46 +03:00
fa4f5e1e09 Updated labeler workflow (Github Workflows) 2021-09-06 18:07:00 +03:00
12c8b8558f Updated labeler config 2021-09-06 18:06:44 +03:00
bb8a36ad5c Added labeler config 2021-09-06 17:44:52 +03:00
ebeeadd5c3 Added labeler workflow (Github Workflows) 2021-09-06 17:38:43 +03:00
6e0b2f5092 Updated CodeQL Analyze workflow (Github Workflows) 2021-09-06 17:18:08 +03:00
2286815485 Renamed CodeQL Analyze workflow (Github Workflows) 2021-09-06 17:16:05 +03:00
2e402de6bf Added CodeQL Analysis workflow (Github Workflow) 2021-09-06 17:08:34 +03:00
45d68ff4ab Added dependabot config 2021-09-06 16:51:53 +03:00
370701a4b9 Updated Dependencies 2021-09-06 16:28:17 +03:00
956f1f7b6d Updated README.md 2021-09-06 16:19:56 +03:00
115a2e7589 Updated Dependencies 2021-09-06 16:06:17 +03:00
f9d195788c Changed interaction replies to ephemeral in commands 2021-09-06 14:42:49 +03:00
c673ae27f6 Bumb version 2021-09-06 05:48:34 +03:00
c5d04aed3c Merge branch 'master' into fix-33 2021-09-06 05:46:49 +03:00
e39a24de2a Merge pull request #42 from warengroup/develop
Version 0.3.5
2021-09-06 05:36:30 +03:00
aa715aaafa Updated play command 2021-09-06 05:22:20 +03:00
9303dd1c19 Fixed maintenance command 2021-09-06 05:11:49 +03:00
9a5075f27e Updated ready event 2021-09-06 04:22:47 +03:00
60ef1cd138 Added saveRadios function & imported funcs in Client.ts 2021-09-06 04:22:35 +03:00
235a02ca60 Updated maintenance command 2021-09-06 04:21:50 +03:00
05852b99d4 Updated SIGINT event 2021-09-06 04:20:08 +03:00
01730cd08b Moved restoreRadios function to funcs folder 2021-09-06 04:18:55 +03:00
6335a4617f Show errors except DiscordAPIError[50001] in commands.js 2021-09-06 01:19:09 +03:00
552d3c81f9 Updated listStations function 2021-09-06 00:52:35 +03:00
2d9b0ce732 Updated restoreradio.js 2021-09-05 23:42:17 +03:00
3b0f8068c1 Merge pull request #46 from Vekki000/fix-43
Updated statistics.js
2021-09-05 23:13:21 +03:00
c142fc61b4 Updated statistics.js
xd
2021-09-05 23:11:26 +03:00
dcfde4131f Merge pull request #45 from Vekki000/fix-43
Global percent decimal fix
2021-09-05 22:42:04 +03:00
a1cb21d98e Global percent decimal fix 2021-09-05 22:37:26 +03:00
4c731c1942 Updated interactionCreate.js 2021-09-05 06:59:24 +03:00
d2a6d70cf6 Bumb Version 2021-09-05 06:58:50 +03:00
f5ef44b12a Merge branch 'master' into fix-33 2021-09-05 06:32:46 +03:00
a86cf0c769 Merge pull request #41 from warengroup/develop
Version 0.3.4
2021-09-05 06:30:15 +03:00
7a0a3e0d50 Updated category in next and prev command 2021-09-05 06:26:34 +03:00
479c0ee13d Fixed check function 2021-09-05 06:22:47 +03:00
b280981e1c Updated statistics command 2021-09-05 06:15:54 +03:00
933140502d Updated prev command 2021-09-05 05:41:22 +03:00
dfada15b00 Updated next command 2021-09-05 05:41:13 +03:00
8fdcdd0116 Updated next & prev command 2021-09-05 04:42:11 +03:00
11573a5113 Updated commands.js 2021-09-05 04:41:53 +03:00
7e3a83743d Disabled removing commands when bot is going offline 2021-09-05 04:36:32 +03:00
38af503626 Fixed bug replated to sending error message in interactionCreate.js 2021-09-05 03:44:28 +03:00
534bc74936 Updated code 2021-09-05 03:37:03 +03:00
ea2be5d5fb Updated check function 2021-09-05 03:33:48 +03:00
38a8571ddc Updated nowplaying command 2021-09-05 03:33:15 +03:00
2d41c7a76b Updated commands and interactionCreate event 2021-09-05 03:17:21 +03:00
16bc2aab52 Updated play function 2021-09-05 03:12:23 +03:00
17132cd51a Moved listStations into funcs folder 2021-09-05 03:11:51 +03:00
ec6ea7e839 Removed unused variable command from commands. 2021-09-05 03:06:47 +03:00
c81dbddab1 Renamed previous to prev command 2021-09-05 02:54:56 +03:00
e0226c5cfe Updated multiple command's metadata 2021-09-05 02:49:03 +03:00
3f12bafee0 Updated Dependencies 2021-09-05 02:46:13 +03:00
3fc28a79cb Moved createAudioResource from discord.js/voice to play function 2021-09-05 02:39:59 +03:00
72d0054d25 Made interaction nullable when replying in play function 2021-09-05 02:36:52 +03:00
25356be323 Moved play function to funcs folder 2021-09-05 02:35:36 +03:00
e8d90f8a3c Fixed file name searchStations to searchStation 2021-09-05 02:23:26 +03:00
c724ae502f Moved searchStations function into funcs folder 2021-09-05 02:16:58 +03:00
a3efdbf3cb Enabled next and previous buttons in restoreradio.js 2021-09-05 02:13:39 +03:00
2857b6886f Enabled prev & next buttons in play command 2021-09-05 02:13:18 +03:00
1e24e89568 Updated maintenance command 2021-09-05 02:12:57 +03:00
3609e6af10 Added empty next and previous command 2021-09-05 02:12:43 +03:00
d5fefcdbbc Removed commandAliases collection in messageCreate.js 2021-09-05 02:12:10 +03:00
8860952c07 Bumb version 2021-09-04 14:18:58 +03:00
55905e3841 Merge branch 'master' into fix-33 2021-09-04 14:04:24 +03:00
d27cdf6ee5 Merge pull request #40 from warengroup/develop
Version 0.3.3
2021-09-04 13:59:01 +03:00
0d4c46cfd4 Fixed typo in bug.js 2021-09-04 13:56:05 +03:00
190852bc16 Bumb version 2021-09-04 13:46:10 +03:00
9ef6b3f36f Fixed bug command 2021-09-04 13:41:53 +03:00
1a5caf244f Ephemeral replies in nowplaying.js 2021-09-03 06:00:31 +03:00
73857c9fc5 Bumb Version 2021-09-03 05:31:02 +03:00
853661ff52 Merge branch 'master' into fix-33 2021-09-03 05:27:59 +03:00
9040b84050 Bumb Version 2021-09-03 05:19:09 +03:00
1518ff7809 Merge pull request #36 from warengroup/develop
Version 0.3.2
2021-09-03 04:52:27 +03:00
ba5b142bbe Updated messageCreate event 2021-09-03 04:42:12 +03:00
4ccace9450 Added station logo to now playing command 2021-09-03 04:34:02 +03:00
711e6d48fb Updated messages.js 2021-09-03 04:33:19 +03:00
83cfec4678 Updated messages 2021-09-03 04:25:59 +03:00
90f47825b6 Updated restoreradio.js 2021-09-03 04:06:46 +03:00
b0270e651e Updated restoreradio.js 2021-09-03 03:50:14 +03:00
238a67c267 Updated SIGINT.js 2021-09-03 03:47:22 +03:00
2e5f0a781a Added station logo into thumbnail 2021-09-03 03:47:09 +03:00
d9e57a47e9 Added empty image to make embeds same size 2021-09-03 03:46:44 +03:00
13a085b9de Updated SIGINT.js 2021-09-03 03:04:44 +03:00
fddc57d90e Updated SIGINT.js 2021-09-03 03:03:50 +03:00
9d9ae80dbe Updated ready.js 2021-09-03 03:03:19 +03:00
314c744527 Remove slash commands when ending process in Dev bot 2021-09-03 02:45:42 +03:00
555b4d14f0 Updated Dependencies 2021-09-03 02:45:04 +03:00
41fb87fab6 Merge branch 'master' into fix-33 2021-09-03 01:57:31 +03:00
0f4e0b952b Merge pull request #34 from warengroup/develop
Version 0.3.1
2021-09-03 01:55:50 +03:00
3ec1892a09 Updated ready.js 2021-09-03 01:26:00 +03:00
7d4fb50351 Update startTime when changing stations in play.js 2021-09-03 01:24:21 +03:00
179914a2f2 Updated statisticsUpdate.js 2021-09-03 01:23:35 +03:00
a8fc38ffca Updated ready.js 2021-09-03 01:23:17 +03:00
329986be53 Added restoreradio.js 2021-09-03 01:22:47 +03:00
5ec4ea6aae Updated SIGINT.js 2021-09-03 01:22:25 +03:00
e546001be8 Added saveState & loadState functions 2021-09-03 01:21:55 +03:00
f2158ba8ae Updated datastore.js 2021-09-03 01:21:11 +03:00
a1f85a0d19 Updated SIGINT.js 2021-09-02 19:25:04 +03:00
430e0f9e51 Added SIGTERM event 2021-09-02 19:18:20 +03:00
45b23722fa Updated maintenance command 2021-09-02 18:58:23 +03:00
66ace838c6 Remove unnecessary lines in SIGINT.js 2021-09-02 18:45:45 +03:00
8e9546097f Updated Client.ts 2021-09-02 18:18:37 +03:00
61981a5b0b Updated SIGINT event 2021-09-02 17:58:31 +03:00
65f83bc522 Updated SIGINT event 2021-09-02 17:57:37 +03:00
74239f71a7 Updated SIGINT event 2021-09-02 17:37:07 +03:00
46237fd91e Updated ready.js 2021-09-02 16:50:45 +03:00
bf0811945a Fixed statisticsUpdate in maintenance.js 2021-09-02 16:50:16 +03:00
706e65bc06 Added SIGINT event 2021-09-02 16:50:01 +03:00
12337f499b Updated list command 2021-09-02 15:00:04 +03:00
da71137f68 Updated stop.js 2021-09-02 14:40:55 +03:00
45bd690c05 Updated logger function 2021-09-02 14:40:26 +03:00
eba7551329 Edited loggers in ready.js 2021-09-02 14:40:12 +03:00
fea24ec1aa Edited message in play.js 2021-09-02 14:39:52 +03:00
1fd6c2c691 Added messageDelete event 2021-09-02 14:39:23 +03:00
492df398ff Removed unnecessary messages in messages.js 2021-09-02 13:16:42 +03:00
a1d4e356a6 Removed comment in interactionCreate.js 2021-09-02 13:12:52 +03:00
c4fb1d5147 Updated interactionCreate & messageCreate events 2021-09-02 12:54:39 +03:00
b6c47d7c6f Updated messageCommandsDeprecatedDescription in messages.js 2021-09-02 12:49:08 +03:00
5208a3feb1 Remove deprecation message after 30 seconds. 2021-09-02 12:11:16 +03:00
8a10697edd Adding deprecation message when using message commands. 2021-09-02 12:08:19 +03:00
f786abebe4 Restoring capability to use messageCreate event. 2021-09-02 12:07:08 +03:00
5e53a908e7 Removed prefix from code 2021-09-02 09:38:15 +03:00
65bd82054a Merge branch 'develop' into fix-33 2021-09-01 18:01:56 +03:00
0d795a6efb Added radio.message?.delete in voiceStateUpdate 2021-09-01 17:56:27 +03:00
01514454bf Updated Invite link 2021-09-01 17:55:28 +03:00
3dd5b9d36e Updated Dependencies 2021-09-01 17:55:03 +03:00
40879c85bb Example solutions but dont work due to typescript 2021-09-01 17:47:12 +03:00
0858f9e49e Updated invite link 2021-09-01 13:56:54 +03:00
a1aa96fc2f Added radio.message?.delete in voiceStateUpdate 2021-09-01 12:51:17 +03:00
6ed91fe43b Updated Dependencies 2021-09-01 12:41:46 +03:00
59 changed files with 2985 additions and 2704 deletions

View File

@ -4,4 +4,4 @@
datastore datastore
Dockerfile Dockerfile
LICENSE LICENSE
README.md README.md

View File

@ -1,3 +1,5 @@
DISCORD_TOKEN= DISCORD_TOKEN=
RADIOX_STATIONSLISTURL=https://gitea.cwinfo.org/cwchristerw/radio/raw/branch/master/playlist.json RADIOX_STATIONSLISTURL=https://git.cwinfo.net/cwchristerw/radio/raw/branch/master/playlist.json
RADIOX_PREFIX=rx- DEV_MODE=false
DEBUG_MODE=false
STREAMER_MODE=manual

19
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,19 @@
version: 2
updates:
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
target-branch: "develop"
labels:
- "dependencies"
# npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
target-branch: "develop"
labels:
- "dependencies"

9
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,9 @@
dependencies:
- package-lock.json
documentation:
- README.md
- SECURITY.md
- CONTRIBUTING.md
- LICENSE
- .env_example

71
.github/workflows/codeql-analyze.yml vendored Normal file
View File

@ -0,0 +1,71 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL Analyze"
on:
push:
branches: [ master, stable ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '24 20 * * 6'
jobs:
analyze:
name: CodeQL Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
steps:
- name: Checkout repository
uses: actions/checkout@v2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

View File

@ -11,9 +11,9 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Setup Docker Buildx - name: Setup Docker Buildx
uses: docker/setup-buildx-action@v1.5.1 uses: docker/setup-buildx-action@v1.6.0
id: buildx id: buildx
with: with:
install: true install: true
- name: Build - name: Build
run: docker build . # will run buildx run: docker build . # will run buildx

17
.github/workflows/labeler.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Labeler
on: [pull_request]
jobs:
label:
name: Labeler
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

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.3.1 uses: actions/setup-node@v2.5.1
with: with:
node-version: 16 node-version: 16
- name: npm install - name: npm install

3
.gitignore vendored
View File

@ -1,6 +1,5 @@
datastore/ datastore/
node_modules/ node_modules/
npm-debug.log npm-debug.log
.vscode/
.env .env
build/ build/

6
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"editor.renderFinalNewline": false
}

27
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,27 @@
# Contributing
:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
If you haven't already, come find us in [Discord](https://waren.io/r/eximiabots-discord). We want you working on things you're excited about.
Here are some important resources:
* [Discord](https://waren.io/r/eximiabots-discord) Join our Discord guild.
## Coding
### Pull Requests
* Open a new PR from your fork's new branch into develop branch.
* Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
* Try to fix all merge conflicts.
### Coding conventions
* We indent using four spaces (soft tabs)
* We ALWAYS put spaces after list items and method parameters (`[1, 2, 3]`, not `[1,2,3]`), around operators (`x += 1`, not `x+=1`), and around hash arrows.
* This is open source software. Consider the people who will read your code, and make it look nice for them. It's sort of like driving a car: Perhaps you love doing donuts when you're alone, but with passengers the goal is to make the ride as smooth as possible.
## Testing
We have currently automated testing in Github Workflows, you can suggest new Github Workflows to us by making PR.
Every release is manually tested by [cwchristerw](https://github.com/cwchristerw) or [MatteZ02](https://github.com/MatteZ02).

View File

@ -14,4 +14,4 @@ RUN npm install
RUN npm run build RUN npm run build
CMD [ "npm", "start" ] CMD [ "npm", "start" ]

View File

@ -1,15 +1,12 @@
# RadioX by EximiaBots # RadioX by EximiaBots
Internet Radio to your Discord guild Internet Radio to your Discord guild
## [Radio Stations List](https://gitea.cwinfo.org/cwchristerw/radio) ## [Radio Stations List](https://git.cwinfo.net/cwchristerw/radio)
This bot is using Gitea repo to get radio stations from [playlist.json](https://gitea.cwinfo.org/cwchristerw/radio/raw/branch/master/playlist.json) file. List is currently maintained by Christer Warén. You can use alternative list with same format when using RADIOX_STATIONSLISTURL environment variable. This bot is using Gitea repo to get radio stations from [playlist.json](https://git.cwinfo.net/cwchristerw/radio/raw/branch/master/playlist.json) file. List is currently maintained by Christer Warén. You can use alternative list with same format when using RADIOX_STATIONSLISTURL environment variable.
## PREFIX
Default prefix is "rx-" and you can change it with using RADIOX_PREFIX environment variable.
## Docker ## Docker
1. `docker build -t warengroup/eximiabots-radiox .` 1. `docker build -t warengroup/eximiabots-radiox . --pull`
2. `docker run --name radiox-dev -d --net host -e DISCORD_TOKEN= -e RADIOX_PREFIX="rx-" -v "$PWD/datastore":/usr/src/app/datastore/ warengroup/eximiabots-radiox` 2. `docker run --name radiox-dev -d --net host -e DISCORD_TOKEN= -v "$PWD/datastore":/usr/src/app/datastore/ warengroup/eximiabots-radiox`
## Join our Discord Server ## Join our Discord Server
https://discord.gg/rRA65Mn https://discord.gg/rRA65Mn

17
SECURITY.md Normal file
View File

@ -0,0 +1,17 @@
# Security Policy
## Supported Versions
| Version | Supported |
| ------- | ------------------ |
| 0.3.x | :white_check_mark: |
| 0.2.x | :x: |
| 0.1.x | :x: |
## Reporting a Vulnerability
Use this section to tell people how to report a vulnerability.
Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.

3333
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,12 @@
{ {
"name": "eximiabots-radiox", "name": "eximiabots-radiox",
"version": "0.3.0", "version": "0.3.14",
"description": "Internet Radio to your Discord guild", "description": "Internet Radio to your Discord guild",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"build": "rimraf ./build && tsc", "build": "rimraf ./build && tsc",
"start": "node build/index.js", "start": "node --no-warnings build/index.js",
"start:dev": "npm run build && node build/index.js" "start:dev": "npm run build && node --no-warnings build/index.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -18,34 +18,34 @@
"url": "https://github.com/warengroup/eximiabots-radiox/issues" "url": "https://github.com/warengroup/eximiabots-radiox/issues"
}, },
"dependencies": { "dependencies": {
"@discordjs/builders": "^0.6.0", "@discordjs/builders": "^0.12.0",
"@discordjs/opus": "^0.6.0", "@discordjs/opus": "^0.7.0",
"@discordjs/rest": "^0.1.1-canary.0", "@discordjs/rest": "^0.3.0",
"@discordjs/voice": "^0.6.0", "@discordjs/voice": "^0.8.0",
"discord-api-types": "^0.22.0", "discord-api-types": "^0.26.0",
"discord.js": "^13.1.0", "discord.js": "^13.6.0",
"dotenv": "^10.0.0", "dotenv": "^15.0.0",
"libsodium-wrappers": "^0.7.9", "libsodium-wrappers": "^0.7.9",
"node-fetch": "^2.6.1", "node-fetch": "^3.2.0",
"path": "^0.12.7" "path": "^0.12.7"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^16.7.8", "@types/node": "^17.0.13",
"@types/ws": "^7.4.7", "@types/ws": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^4.29.3", "@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^4.29.3", "@typescript-eslint/parser": "^5.10.1",
"eslint": "^7.32.0", "eslint": "^8.8.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.12", "nodemon": "^2.0.15",
"prettier": "^2.3.2", "prettier": "^2.5.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-node": "^10.2.1", "ts-node": "^10.4.0",
"tsc-watch": "^4.5.0", "tsc-watch": "^4.6.0",
"typescript": "^4.4.2" "typescript": "^4.5.5"
}, },
"engines": { "engines": {
"node": ">=16.6.0", "node": ">=16.9.1",
"npm": ">=7.0.0" "npm": ">=7.0.0"
} }
} }

View File

@ -1,63 +1,117 @@
import Discord, { Client, Collection } from "discord.js"; import Discord, { Client, Collection } from "discord.js";
import Datastore from "./client/classes/Datastore.js";
import Radio from "./client/classes/Radio.js";
import Stations from "./client/classes/Stations.js";
import Streamer from "./client/classes/Streamer.js";
import Statistics from "./client/classes/Statistics.js";
import fs from "fs"; import fs from "fs";
const events = "./client/events/";
import Datastore from "./client/datastore.js";
import { command, radio } from "./client/utils/typings.js"; import { command, radio } from "./client/utils/typings.js";
import config from "./config.js"; import config from "./config.js";
import messages from "./client/messages.js"; import messages from "./client/messages.js";
import path from "path"; import path from "path";
const events = "./client/events/";
const GatewayIntents = new Discord.Intents(); const GatewayIntents = new Discord.Intents();
GatewayIntents.add( GatewayIntents.add(
1 << 0, // GUILDS 1 << 0, // GUILDS
1 << 7, // GUILD_VOICE_STATES 1 << 7, // GUILD_VOICE_STATES
1 << 9 // GUILD_MESSAGES
); );
class RadioClient extends Client { class RadioClient extends Client {
readonly commands: Collection<string, command>; readonly commands: Collection<string, command>;
readonly radio: Map<string, radio>;
public funcs: any; public funcs: any;
readonly config = config; readonly config = config;
readonly messages = messages; readonly messages = messages;
public datastore: Datastore | null; public datastore: Datastore | null;
public stations: Stations | null;
public streamer: Streamer | null;
public statistics: Statistics | null;
public radio: Radio | null;
constructor() { constructor() {
super({ super({
intents: GatewayIntents intents: GatewayIntents
}); });
this.commands = new Collection(); this.commands = new Collection();
this.radio = new Map();
this.datastore = null; this.datastore = null;
this.stations = null;
this.streamer = null;
this.statistics = null;
this.radio = null;
this.funcs = {}; this.funcs = {};
this.funcs.check = require("./client/funcs/check.js"); this.funcs.check = require("./client/funcs/check.js");
this.funcs.checkFetchStatus = require("./client/funcs/checkFetchStatus.js");
this.funcs.isDev = require("./client/funcs/isDev.js"); this.funcs.isDev = require("./client/funcs/isDev.js");
this.funcs.logger = require("./client/funcs/logger.js"); this.funcs.logger = require("./client/funcs/logger.js");
this.funcs.msToTime = require("./client/funcs/msToTime.js"); this.funcs.msToTime = require("./client/funcs/msToTime.js");
this.funcs.statisticsUpdate = require("./client/funcs/statisticsUpdate.js"); this.funcs.saveState = require("./client/funcs/saveState.js");
this.funcs.loadState = require("./client/funcs/loadState.js");
this.funcs.play = require("./client/funcs/play.js");
this.funcs.listStations = require("./client/funcs/listStations.js");
const commandFiles = fs.readdirSync(path.join("./src/client/commands")).filter(f => f.endsWith(".js")); console.log('RadioX ' + this.config.version);
for (const file of commandFiles) { console.log('Internet Radio to your Discord guild');
const command = require(`./client/commands/${file}`); console.log('(c)2020-2021 EximiaBots by Warén Group');
this.commands.set(command.name, command); console.log('');
}
this.funcs.logger("Bot", "Starting");
this.funcs.logger("Maintenance Mode", "Enabled");
this.config.maintenanceMode = true;
this.on("ready", () => { this.on("ready", () => {
require(`${events}ready`).execute(this); require(`${events}ready`).execute(this);
this.datastore = new Datastore();
}); });
this.on("messageCreate", msg => {
require(`${events}messageCreate`).execute(this, msg);
});
this.on("messageDelete", msg => {
require(`${events}messageDelete`).execute(this, msg);
});
this.on("interactionCreate", interaction => { this.on("interactionCreate", interaction => {
require(`${events}interactionCreate`).execute(this, interaction); require(`${events}interactionCreate`).execute(this, interaction);
}); });
this.on("voiceStateUpdate", (oldState, newState) => { this.on("voiceStateUpdate", (oldState, newState) => {
require(`${events}voiceStateUpdate`).execute(this, oldState, newState); require(`${events}voiceStateUpdate`).execute(this, oldState, newState);
}); });
this.on("error", error => { this.on("error", error => {
this.funcs.logger("Discord Client / Error");
console.error(error); console.error(error);
console.log('');
}); });
this.login(this.config.token).catch(err => console.log("Failed to login: " + err)); process.on('SIGINT', () => {
require(`${events}SIGINT`).execute(this);
});
process.on('SIGTERM', () => {
require(`${events}SIGTERM`).execute(this);
});
process.on('uncaughtException', (error) => {
require(`${events}uncaughtException`).execute(this, error);
});
process.on('exit', () => {
this.funcs.logger("Bot", "Stopping");
});
process.on('warning', (warning) => {
require(`${events}warning`).execute(this, warning);
});
this.login(this.config.token).catch((err) => {
this.funcs.logger("Discord Client / Error");
console.log(err);
console.log('');
});
} }
} }
export default RadioClient export default RadioClient

View File

@ -0,0 +1,106 @@
const fs = require('fs');
const path = require('path');
module.exports = class {
constructor() {
this.map = new Map();
this.loadData();
}
loadData() {
const dir = path.join(path.dirname(__dirname), '../../datastore');
if (!fs.existsSync(dir)) {
fs.mkdirSync(dir);
}
//console.log("");
const dataFiles = fs.readdirSync(path.join(path.dirname(__dirname), '../../datastore')).filter(f => f.endsWith('.json'));
for (const file of dataFiles) {
try {
const json = require(`../../../datastore/${file}`);
this.map.set(json.guild.id, json);
//console.log('[LOADED] ' + file + " (" + json.guild.id + ")");
//console.log(JSON.stringify(json, null, 4));
} catch (error) {
//console.log('[ERROR] Loading ' + file + ' failed');
}
}
//console.log("");
}
checkEntry(id){
this.loadEntry(id);
if(!this.map.has(id)){
this.createEntry(id);
//this.showEntry(this.getEntry(id));
} else {
//this.showEntry(this.getEntry(id));
}
}
createEntry(id){
let newData = {};
newData.guild = {};
newData.guild.id = id;
newData.statistics = {};
newData.state = {};
this.map.set(id, newData);
this.saveEntry(id, newData);
}
loadEntry(id){
try {
const json = require(`../../../datastore/` + id + '.json');
this.map.set(id, json);
} catch (error) {
}
}
getEntry(id){
return this.map.get(id);
}
updateEntry(guild, newData) {
newData.guild.name = guild.name;
let date = new Date();
newData.updated = date.toISOString().substring(0, 10)
this.map.set(guild.id, newData);
this.saveEntry(guild.id, newData);
//this.showEntry(this.getEntry(guild.id));
}
showEntry(data){
console.log(data);
}
createTestFile () {
let newData = {
"guild": {
"id": "test",
"name": "Test"
},
"statistics": {
"test": {
"time": 0,
"used": 0
}
},
"state": {
}
}
this.updateEntry(newData.guild, newData);
}
saveEntry(file, data) {
data = JSON.stringify(data, null, 4);
fs.writeFile(path.join(path.dirname(__dirname), '../../datastore') + "/" + file + ".json", data, 'utf8', function(err) {
if (err) {
//console.log(err);
}
});
}
};

View File

@ -0,0 +1,78 @@
const {
getVoiceConnection,
joinVoiceChannel
} = require("@discordjs/voice");
module.exports = class Radio extends Map {
constructor() {
super();
}
save(client) {
let currentRadios = this.keys();
let radio = currentRadios.next();
while (!radio.done) {
let currentRadio = this.get(radio.value);
if (currentRadio) {
currentRadio.guild = client.datastore.getEntry(radio.value).guild;
client.statistics.update(client, currentRadio.guild, currentRadio);
client.funcs.saveState(client, currentRadio.guild, currentRadio);
currentRadio.connection?.destroy();
currentRadio.message?.delete();
this.delete(radio.value);
}
radio = currentRadios.next();
}
}
restore(client, guilds) {
if(!client.stations) return;
guilds.forEach(async guild => {
let state = client.funcs.loadState(client, guild);
if(!state) return;
if(!state.station || !state.channels.voice || !state.channels.text) return;
let voiceChannel = client.channels.cache.get(state.channels.voice);
if(!voiceChannel) return;
if(voiceChannel.members.filter(member => !member.user.bot).size === 0) return;
const sstation = await client.stations.search(state.station.name, "direct");
let station = sstation;
if(!station) return;
const construct = {
textChannel: client.channels.cache.get(state.channels.text),
voiceChannel: client.channels.cache.get(state.channels.voice),
connection: null,
message: null,
station: station
};
this.set(guild.id, construct);
try {
const connection =
getVoiceConnection(guild.id) ??
joinVoiceChannel({
channelId: voiceChannel.id,
guildId: voiceChannel.guild.id,
adapterCreator: voiceChannel.guild.voiceAdapterCreator
});
construct.connection = connection;
let date = new Date();
construct.startTime = date.getTime();
client.datastore.checkEntry(guild.id);
client.funcs.play(client, null, guild, station);
} catch (error) {
console.log(error);
}
});
}
};

View File

@ -0,0 +1,138 @@
const _importDynamic = new Function('modulePath', 'return import(modulePath)');
const fetch = (...args) => _importDynamic('node-fetch').then(({default: fetch}) => fetch(...args));
module.exports = class Stations extends Array {
constructor() {
super();
this.logger = require("../funcs/logger.js");
}
async fetch(options){
try {
this.logger('Stations', 'Started fetching list ' + options.url);
let list = await fetch(options.url)
.then(this.checkFetchStatus)
.then(response => response.json());
if(list){
this.length = 0;
list.forEach(station => {
try {
this.push(station);
} catch (error) {
}
});
if(options.show){
this.logger('Stations');
list.forEach(station => {
console.log("- " + station.name);
});
console.log("\n");
}
list.forEach(async station => {
try {
let stationTest = await fetch(station.stream[station.stream.default]);
if(stationTest.ok === true) return;
this.splice(this.indexOf(station),1);
} catch (error) {
this.splice(this.indexOf(station),1);
}
});
}
this.logger('Stations', 'Successfully fetched list');
} catch (error) {
this.logger('Stations', 'Fetching list failed');
console.error(error + "\n");
if(this.length == 0) this.fetch(options);
}
}
checkFetchStatus(response) {
if (response.ok) { // res.status >= 200 && res.status < 300
return response;
} else {
throw new Error(response.status + " " + response.statusText);
}
}
search(key, type) {
if (this === null) return false;
if (!key) return false;
if (!type) return false;
if(type == "direct"){
let foundStation;
this.forEach(station => {
if(station.name != key) return false;
foundStation = station;
});
return foundStation;
} else {
let foundStations = [];
if (key == "radio") return false;
this
.filter(
x => x.name.toUpperCase().includes(key.toUpperCase()) || x === key
)
.forEach(x =>
foundStations.push({ station: x, name: x.name, probability: 100 })
);
if (key.startsWith("radio ")) key = key.slice(6);
const probabilityIncrement = 100 / key.split(" ").length / 2;
for (let i = 0; i < key.split(" ").length; i++) {
this
.filter(
x => x.name.toUpperCase().includes(key.split(" ")[i].toUpperCase()) || x === key
)
.forEach(x =>
foundStations.push({ station: x, name: x.name, probability: probabilityIncrement })
);
}
if (foundStations.length === 0) return false;
for (let i = 0; i < foundStations.length; i++) {
for (let j = 0; j < foundStations.length; j++) {
if (foundStations[i] === foundStations[j] && i !== j) foundStations.splice(i, 1);
}
}
for (let i = 0; i < foundStations.length; i++) {
if (foundStations[i].name.length > key.length) {
foundStations[i].probability -=
(foundStations[i].name.split(" ").length - key.split(" ").length) *
(probabilityIncrement * 0.5);
} else if (foundStations[i].name.length === key.length) {
foundStations[i].probability += probabilityIncrement * 0.9;
}
for (let j = 0; j < key.split(" ").length; j++) {
if (!foundStations[i].name.toUpperCase().includes(key.toUpperCase().split(" ")[j])) {
foundStations[i].probability -= probabilityIncrement * 0.5;
}
}
}
let highestProbabilityStation;
for (let i = 0; i < foundStations.length; i++) {
if (
!highestProbabilityStation ||
highestProbabilityStation.probability < foundStations[i].probability
)
highestProbabilityStation = foundStations[i];
if (
highestProbabilityStation &&
highestProbabilityStation.probability === foundStations[i].probability
) {
highestProbabilityStation = foundStations[i].station;
}
}
return highestProbabilityStation;
}
}
};

View File

@ -0,0 +1,70 @@
module.exports = class {
constructor() {
this.map = new Map();
}
update(client, guild, radio) {
client.datastore.checkEntry(guild.id);
radio.datastore = client.datastore.getEntry(guild.id);
if(!radio.datastore.statistics[radio.station.name]){
radio.datastore.statistics[radio.station.name] = {};
radio.datastore.statistics[radio.station.name].time = 0;
radio.datastore.statistics[radio.station.name].used = 0;
client.datastore.updateEntry(guild, radio.datastore);
}
let date = new Date();
radio.currentTime = date.getTime();
radio.playTime = parseInt(radio.currentTime)-parseInt(radio.startTime);
radio.datastore.statistics[radio.station.name].time = parseInt(radio.datastore.statistics[radio.station.name].time)+parseInt(radio.playTime);
radio.datastore.statistics[radio.station.name].used = parseInt(radio.datastore.statistics[radio.station.name].used)+1;
client.datastore.updateEntry(guild, radio.datastore);
this.calculateGlobal(client);
}
calculateGlobal(client){
if(!client.stations) return;
if(!client.datastore.map) return;
let guilds = client.datastore.map.keys();
let stations = client.stations;
let statistics = {};
if(!client.stations) return;
let calculation = guilds.next();
while (!calculation.done) {
let currentGuild = client.datastore.getEntry(calculation.value);
if(calculation.value != 'global'){
if(stations){
Object.keys(stations).forEach(function(station) {
if(currentGuild.statistics[stations[station].name] && currentGuild.statistics[stations[station].name].time && parseInt(currentGuild.statistics[stations[station].name].time) != 0 && currentGuild.statistics[stations[station].name].used && parseInt(currentGuild.statistics[stations[station].name].used) != 0){
if(!statistics[stations[station].name]){
statistics[stations[station].name] = {};
statistics[stations[station].name].time = 0;
statistics[stations[station].name].used = 0;
}
statistics[stations[station].name].time = parseInt(statistics[stations[station].name].time)+parseInt(currentGuild.statistics[stations[station].name].time);
statistics[stations[station].name].used = parseInt(statistics[stations[station].name].used)+parseInt(currentGuild.statistics[stations[station].name].used);
}
});
}
}
calculation = guilds.next();
}
let newData = {};
newData.guild = {};
newData.guild.id = "global";
newData.guild.name = "global";
newData.statistics = statistics;
client.datastore.updateEntry(newData.guild, newData);
}
};

View File

@ -0,0 +1,120 @@
const {
createAudioPlayer,
createAudioResource,
AudioPlayerStatus,
NoSubscriberBehavior
} = require("@discordjs/voice");
module.exports = class {
constructor() {
this.map = new Map();
this.mode = null;
this.logger = require("../funcs/logger.js");
}
init(client){
if(!client.config.streamerMode) return;
switch(client.config.streamerMode){
case "manual":
this.mode = "manual";
break;
case "auto":
this.mode = "auto";
break;
default:
this.mode = "manual";
}
if(this.mode == "auto"){
if(!client.stations) return;
client.stations.forEach(station => {
this.play(station);
});
}
}
refresh(client){
this.init(client);
let streamers = this.map.keys();
streamers.forEach(streamer => {
if(client.stations.findIndex(station => station.name == streamer) == -1){
this.stop(streamer);
}
});
}
play(station) {
let audioPlayer = this.map.get(station.name);
if(!audioPlayer) {
if(this.mode == "auto"){
audioPlayer = createAudioPlayer({
behaviors: {
noSubscriber: NoSubscriberBehavior.Play,
maxMissedFrames: Math.round(5000 / 20),
},
});
}
if(this.mode == "manual"){
audioPlayer = createAudioPlayer({
behaviors: {
noSubscriber: NoSubscriberBehavior.Stop,
maxMissedFrames: Math.round(5000 / 20),
},
});
}
this.map.set(station.name, audioPlayer);
}
const url = station.stream[station.stream.default];
const resource = createAudioResource(url);
audioPlayer.play(resource);
audioPlayer
.on('playing', () => {
this.logger('Streamer', station.name + " / " + "Playing");
})
.on('idle', () => {
this.logger('Streamer', station.name + " / " + "Idle");
audioPlayer.removeAllListeners();
if(this.mode == "manual" && audioPlayer.subscribers.length == 0) return;
this.play(station);
})
.on('paused', () => {
this.logger('Streamer', station.name + " / " + "Paused");
})
.on('buffering', () => {
this.logger('Streamer', station.name + " / " + "Buffering");
})
.on('autopaused', () => {
this.logger('Streamer', station.name + " / " + "AutoPaused");
})
.on('error', error => {
this.logger('Streamer', station.name + " / " + "Error" + "\n" + error);
});
return audioPlayer;
}
stop(station){
let audioPlayer = this.map.get(station.name);
if(audioPlayer){
this.logger('Streamer', station.name + " / " + "Stop");
audioPlayer.removeAllListeners();
audioPlayer.stop();
}
this.map.delete(station.name);
}
listen(station) {
let audioPlayer = this.map.get(station.name);
if(!audioPlayer || this.mode == "manual" && audioPlayer.subscribers.length == 0) audioPlayer = this.play(station);
return audioPlayer;
}
leave(client) {
if(!client.stations) return;
client.stations.forEach(station => {
this.stop(station);
});
}
};

View File

@ -1,25 +1,28 @@
const { SlashCommandBuilder } = require('@discordjs/builders'); const { SlashCommandBuilder } = require('@discordjs/builders');
const { REST } = require('@discordjs/rest'); const { REST } = require('@discordjs/rest');
const { Routes } = require('discord-api-types/v9'); const { Routes } = require('discord-api-types/v9');
const { token, version } = require('../config.js');
const fs = require('fs'); const fs = require('fs');
const path = require ('path'); const path = require ('path');
module.exports = { module.exports = {
async execute(client) { async execute(client) {
const commands = []; const commands = [];
const commandFiles = fs.readdirSync(path.join("./src/client/commands")).filter(f => f.endsWith(".js")); const commandFiles = fs.readdirSync(path.join("./src/client/commands")).filter(f => f.endsWith(".js"));
for (const file of commandFiles) { for (const file of commandFiles) {
const command = require(`./commands/${file}`); const command = require(`./commands/${file}`);
client.commands.set(command.name, command);
command.data = new SlashCommandBuilder() command.data = new SlashCommandBuilder()
.setName(command.name) .setName(command.name)
.setDescription(command.description); .setDescription(command.description);
command.data = command.data.toJSON(); command.data = command.data.toJSON();
if(command.options) { if(command.options) {
command.options.forEach(function(option) { command.options.forEach(function(option) {
if(option.type == "STRING") option.type = 3; if(option.type == "STRING") option.type = 3;
if(option.type == "NUMBER") option.type = 10;
command.data.options.push(option); command.data.options.push(option);
}); });
} }
@ -27,13 +30,13 @@ module.exports = {
commands.push(command.data); commands.push(command.data);
} }
const rest = new REST({ version: '9' }).setToken(token); const rest = new REST({ version: '9' }).setToken(client.config.token);
(async () => { (async () => {
try { try {
client.funcs.logger('Slash Commands', 'Started refreshing application (/) commands.'); client.funcs.logger('Slash Commands', 'Started refreshing application (/) commands.');
if(version.includes("-dev")){ if(client.config.devMode){
await rest.put( await rest.put(
Routes.applicationCommands(client.user.id), Routes.applicationCommands(client.user.id),
{ body: [] }, { body: [] },
@ -44,17 +47,30 @@ module.exports = {
try { try {
await rest.put( await rest.put(
Routes.applicationGuildCommands(client.user.id, guild.id), Routes.applicationGuildCommands(client.user.id, guild.id),
{ body: commands }, { body: commands }
); );
client.funcs.logger('Slash Commands', 'Guild Applications Successful' + "\n" + guild.id + " / " + guild.name);
} catch (DiscordAPIError) { } catch (DiscordAPIError) {
client.funcs.logger('Slash Commands', 'Guild Applications Failed' + "\n" + guild.id + " / " + guild.name);
if(DiscordAPIError.name != "DiscordAPIError[50001]") console.error(DiscordAPIError.message + "\n\n");
} }
}); });
} else { } else {
await rest.put( await rest.put(
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");
@ -64,4 +80,4 @@ module.exports = {
} }
})(); })();
} }
} }

View File

@ -1,21 +1,21 @@
import Discord from "discord.js";
module.exports = { module.exports = {
name: 'bug', name: 'bug',
alias: 'none',
usage: '',
description: 'Report a bug', description: 'Report a bug',
permission: 'none',
category: 'info', category: 'info',
async execute(interaction, client, Discord, command) { async execute(interaction, client) {
let message = {}; let message = {};
message.bugTitle = client.messages.bugTitle.replace("%client.user.username%", client.user.username); message.bugTitle = client.messages.bugTitle.replace("%client.user.username%", client.user.username);
message.bugDescription = message.bugDescription.replace("%client.config.supportGuild%", client.config.supportGuild); message.bugDescription = client.messages.bugDescription.replace("%client.config.supportGuild%", client.config.supportGuild);
const embed = new Discord.MessageEmbed() const embed = new Discord.MessageEmbed()
.setTitle(message.bugTitle) .setTitle(message.bugTitle)
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["logo"].replace(/[^0-9]+/g, '')) .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["logo"].replace(/[^0-9]+/g, ''))
.setColor(client.config.embedColor) .setColor(client.config.embedColor)
.setDescription(message.bugDescription) .setDescription(message.bugDescription)
.setImage('https://waren.io/berriabot-temp-sa7a36a9xm6837br/images/empty-3.png')
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
interaction.reply({ interaction.reply({
@ -23,4 +23,4 @@ module.exports = {
ephemeral: true ephemeral: true
}); });
} }
}; };

View File

@ -1,11 +1,10 @@
import Discord from "discord.js";
module.exports = { module.exports = {
name: 'help', name: 'help',
alias: 'h',
usage: '<command(opt)>',
description: 'Get help using bot', description: 'Get help using bot',
permission: 'none',
category: 'info', category: 'info',
execute(interaction, client, Discord, command) { execute(interaction, client) {
let message = {}; let message = {};
const categories = []; const categories = [];
@ -19,15 +18,15 @@ module.exports = {
message.helpTitle = client.messages.helpTitle.replace("%client.user.username%", client.user.username); message.helpTitle = client.messages.helpTitle.replace("%client.user.username%", client.user.username);
message.helpDescription = client.messages.helpDescription.replace("%commands%", commands); message.helpDescription = client.messages.helpDescription.replace("%commands%", commands);
message.helpDescription = message.helpDescription.replace("%client.config.prefix%", client.config.prefix);
const embed = new Discord.MessageEmbed() const embed = new Discord.MessageEmbed()
.setTitle(message.helpTitle) .setTitle(message.helpTitle)
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["logo"].replace(/[^0-9]+/g, '')) .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["logo"].replace(/[^0-9]+/g, ''))
.setColor(client.config.embedColor) .setColor(client.config.embedColor)
.setDescription(message.helpDescription) .setDescription(message.helpDescription)
.setImage('https://waren.io/berriabot-temp-sa7a36a9xm6837br/images/empty-3.png')
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
interaction.reply({ interaction.reply({
embeds: [embed], embeds: [embed],
ephemeral: true ephemeral: true

View File

@ -1,17 +1,17 @@
import Discord from "discord.js";
module.exports = { module.exports = {
name: 'invite', name: 'invite',
alias: 'i',
usage: '',
description: 'Invite Bot', description: 'Invite Bot',
permission: 'none',
category: 'info', category: 'info',
execute(interaction, client, Discord, command) { execute(interaction, client) {
let message = {}; let message = {};
message.inviteTitle = client.messages.inviteTitle.replace("%client.user.username%", client.user.username); message.inviteTitle = client.messages.inviteTitle.replace("%client.user.username%", client.user.username);
const embed = new Discord.MessageEmbed() const embed = new Discord.MessageEmbed()
.setTitle(message.inviteTitle) .setTitle(message.inviteTitle)
.setColor(client.config.embedColor) .setColor(client.config.embedColor)
.setURL("https://discordapp.com/api/oauth2/authorize?client_id=" + client.user.id + "&permissions=2184465408&scope=applications.commands%20bot") //View Channels, Send Messages, Embed Links, Use External Emojis, Use Slash Commands, Connect, Speak, Use Voice Activity .setURL("https://discord.com/api/oauth2/authorize?client_id=" + client.user.id + "&permissions=2184465408&scope=applications.commands%20bot") //View Channels, Send Messages, Embed Links, Use External Emojis, Use Slash Commands, Connect, Speak, Use Voice Activity
.setImage('https://waren.io/berriabot-temp-sa7a36a9xm6837br/images/empty-3.png')
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
interaction.reply({ interaction.reply({
@ -19,4 +19,4 @@ module.exports = {
ephemeral: true ephemeral: true
}); });
} }
}; };

View File

@ -1,32 +1,43 @@
import Discord from "discord.js";
module.exports = { module.exports = {
name: 'list', name: 'list',
alias: 'l',
usage: '',
description: 'List radio stations', description: 'List radio stations',
permission: 'none',
category: 'radio', category: 'radio',
execute(interaction, client, Discord, command) { execute(interaction, client) {
let message = {}; let message = {};
if(!client.stations) { if(!client.stations) {
message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild); message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild);
return interaction.reply(client.messageEmojis["error"] + message.errorToGetPlaylist); return interaction.reply({
} content: client.messageEmojis["error"] + message.errorToGetPlaylist,
let stations = `${client.stations.map(s => `**#** ${s.name}`).join('\n')}` ephemeral: true
const hashs = stations.split('**#**').length; });
for (let i = 0; i < hashs; i++) {
stations = stations.replace('**#**', `**${i + 1}.**`);
} }
const embed = new Discord.MessageEmbed() const radio = client.radio.get(interaction.guild.id);
.setTitle(client.messages.listTitle)
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["list"].replace(/[^0-9]+/g, '')) if(radio && !client.config.maintenanceMode){
.setColor(client.config.embedColor) client.funcs.listStations(client, interaction);
.setDescription(stations) } else {
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); let stations = `${client.stations.map(s => `**#** ${s.name}`).join('\n')}`
const hashs = stations.split('**#**').length;
interaction.reply({ for (let i = 0; i < hashs; i++) {
embeds: [embed], stations = stations.replace('**#**', `**${i + 1}.**`);
ephemeral: true }
});
let embed = new Discord.MessageEmbed()
.setTitle(client.messages.listTitle)
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["list"].replace(/[^0-9]+/g, ''))
.setColor(client.config.embedColor)
.setDescription(stations)
.setImage('https://waren.io/berriabot-temp-sa7a36a9xm6837br/images/empty-3.png')
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
interaction.reply({
embeds: [embed],
ephemeral: true
});
}
} }
}; };

View File

@ -1,57 +1,206 @@
import Discord from "discord.js";
import Streamer from "../classes/Streamer.js";
const _importDynamic = new Function('modulePath', 'return import(modulePath)');
const fetch = (...args) => _importDynamic('node-fetch').then(({default: fetch}) => fetch(...args));
module.exports = { module.exports = {
name: 'maintenance', name: 'maintenance',
alias: 'm',
usage: '',
description: 'Bot Maintenance', description: 'Bot Maintenance',
permission: 'none',
category: 'info', category: 'info',
execute(interaction, client, Discord, command) { async execute(interaction, client) {
let message = {}; let message = {};
if(!client.funcs.isDev(client.config.devId, interaction.user.id)) return interaction.reply(client.messageEmojis["error"] + client.messages.notAllowed); if(!client.funcs.isDev(client.config.devId, interaction.user.id)) return interaction.reply({
content: client.messageEmojis["error"] + client.messages.notAllowed,
if(!client.stations) { ephemeral: true
message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild); });
return interaction.reply(client.messageEmojis["error"] + message.errorToGetPlaylist); let action = interaction.options?.getNumber("action") ?? interaction.values?.[0];
} const options = new Array(
{
let currentRadios = client.radio.keys(); emoji: "🌀",
let radio = currentRadios.next(); label: "Restart Bot",
let stoppedRadios = ""; description: "",
value: "0"
client.user.setStatus('dnd'); },
{
while (!radio.done) { emoji: "<:RadioXStop:688541155377414168>",
let currentRadio = client.radio.get(radio.value); label: "Save Radios",
currentRadio.guild = client.datastore.getEntry(radio.value).guild; description: "",
value: "4"
if(currentRadio){ },
client.funcs.statisticsUpdate(client, currentRadio.currentGuild.guild, currentRadio); {
currentRadio.connection?.destroy(); emoji: "<:RadioXPlay:688541155712827458>",
currentRadio.audioPlayer?.stop(); label: "Restore Radios",
const cembed = new Discord.MessageEmbed() description: "",
.setTitle(client.messages.maintenanceTitle) value: "5"
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["maintenance"].replace(/[^0-9]+/g, '')) },
.setColor(client.config.embedColor) {
.setDescription(client.messages.sendedMaintenanceMessage) emoji: "#️⃣",
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); label: "Reload Commands",
currentRadio.textChannel.send({ embeds: [cembed] }); description: "",
client.radio.delete(radio.value); value: "6"
stoppedRadios += "-" + radio.value + ": " + currentRadio.currentGuild.guild.name + "\n"; },
{
emoji: "<:RadioXList:688541155519889482>",
label: "Reload Stations",
description: "",
value: "7"
},
{
emoji: "<:dnd:746069698139127831>",
label: "Enable Maintenance Mode",
description: "",
value: "8"
},
{
emoji: "<:online:746069731836035098>",
label: "Disable Maintenance Mode",
description: "",
value: "9"
},
{
emoji: "💤",
label: "Streamer Mode Manual",
description: "",
value: "10"
},
{
emoji: "📡",
label: "Streamer Mode Auto",
description: "",
value: "11"
} }
radio = currentRadios.next(); );
const menu = new Discord.MessageActionRow()
.addComponents(
new Discord.MessageSelectMenu()
.setCustomId('maintenance')
.setPlaceholder('Select action')
.addOptions(options)
);
if(!action){
return interaction.reply({
content: "**" + client.messages.maintenanceTitle + "**",
components: [menu],
ephemeral: true
});
} }
client.funcs.logger('Maintenance', options.find(option => option.value == action).label);
const embed = new Discord.MessageEmbed() const embed = new Discord.MessageEmbed()
.setTitle(client.messages.maintenanceTitle) .setTitle(client.messages.maintenanceTitle)
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["maintenance"].replace(/[^0-9]+/g, '')) .setColor(client.config.embedColor)
.setColor(client.config.embedColor) .setDescription(options.find(option => option.value == action).label)
.setDescription("Stopped all radios" + "\n" + stoppedRadios) .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
interaction.reply({ interaction.reply({
embeds: [embed], embeds: [embed],
ephemeral: true ephemeral: true
}); });
let guilds = await client.guilds.fetch();
switch(action){
case "0":
client.config.maintenanceMode = true;
process.emit('SIGINT');
break;
case "4":
client.config.maintenanceMode = true;
client.user.setStatus('idle');
client.radio.save(client);
client.user.setStatus('online');
client.config.maintenanceMode = false;
break;
case "5":
client.config.maintenanceMode = true;
client.user.setStatus('idle');
client.radio.restore(client, guilds);
client.user.setStatus('online');
client.config.maintenanceMode = false;
break;
case "6":
client.config.maintenanceMode = true;
client.user.setStatus('idle');
require(`../commands.js`).execute(client);
client.user.setStatus('online');
client.config.maintenanceMode = false;
break;
case "7":
try {
client.stations.fetch({
url: client.config.stationslistUrl
});
client.streamer.refresh(client);
} catch (error) {
}
break;
case "8":
client.user.setStatus('dnd');
client.funcs.logger("Maintenance Mode", "Enabled");
client.config.maintenanceMode = true;
break;
case "9":
client.user.setStatus('online');
client.funcs.logger("Maintenance Mode", "Disabled");
client.config.maintenanceMode = false;
break;
case "10":
client.config.streamerMode = "manual";
client.config.maintenanceMode = true;
client.user.setStatus('idle');
client.radio.save(client);
setInterval(() => {
if(client.radio.size == 0 && client.config.streamerMode == "manual" && client.config.maintenanceMode){
client.streamer.leave(client);
client.streamer = new Streamer();
client.streamer.init(client);
client.radio.restore(client, guilds);
client.user.setStatus('online');
client.config.maintenanceMode = false;
}
if(!client.config.maintenanceMode){
clearInterval();
}
}, 500);
break;
case "11":
client.config.streamerMode = "auto";
client.config.maintenanceMode = true;
client.user.setStatus('idle');
client.radio.save(client);
setInterval(() => {
if(client.radio.size == 0 && client.config.streamerMode == "auto" && client.config.maintenanceMode){
client.streamer.leave(client);
client.streamer = new Streamer();
client.streamer.init(client);
client.radio.restore(client, guilds);
client.user.setStatus('online');
client.config.maintenanceMode = false;
}
if(!client.config.maintenanceMode){
clearInterval();
}
}, 500);
break;
default:
}
} }
}; };

View File

@ -0,0 +1,35 @@
module.exports = {
name: 'next',
description: 'Next Station',
category: 'radio',
async execute(interaction, client, command) {
if (client.funcs.check(client, interaction, command)) {
const radio = client.radio.get(interaction.guild.id);
let index = client.stations.findIndex(station => station.name == radio.station.name) + 1;
if(index == client.stations.length) index = 0;
let station = client.stations[index];
if(!station) return interaction.reply({
content: client.messageEmojis["error"] + client.messages.noSearchResults,
ephemeral: true
});
client.statistics.update(client, interaction.guild, radio);
let date = new Date();
radio.station = station;
radio.textChannel = interaction.channel;
radio.startTime = date.getTime();
if(interaction.isCommand()) {
client.funcs.play(client, interaction, interaction.guild, station);
}
if(interaction.isButton()) {
interaction.deferUpdate();
client.funcs.play(client, null, interaction.guild, station);
}
}
}
}

View File

@ -1,38 +1,35 @@
import Discord from "discord.js";
module.exports = { module.exports = {
name: 'nowplaying', name: 'nowplaying',
alias: 'np',
usage: '',
description: 'Current Radio Station', description: 'Current Radio Station',
permission: 'none',
category: 'radio', category: 'radio',
async execute(interaction, client, Discord, command) { async execute(interaction, client, command) {
let message = {}; if (client.funcs.check(client, interaction, command)) {
const radio = client.radio.get(interaction.guild.id); let message = {};
if (!radio) return interaction.reply('There is nothing playing.'); const radio = client.radio.get(interaction.guild.id);
if(!client.stations) {
message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild); let date = new Date();
return interaction.reply(client.messageEmojis["error"] + message.errorToGetPlaylist); radio.currentTime = date.getTime();
radio.playTime = parseInt(radio.currentTime)-parseInt(radio.startTime);
const completed = (radio.playTime);
message.nowplayingDescription = client.messages.nowplayingDescription.replace("%radio.station.name%", radio.station.name);
message.nowplayingDescription = message.nowplayingDescription.replace("%radio.station.owner%" + "\n", radio.station.name != radio.station.owner ? radio.station.owner + "\n" : "");
message.nowplayingDescription = message.nowplayingDescription.replace("%client.funcs.msToTime(completed)%", client.funcs.msToTime(completed));
const embed = new Discord.MessageEmbed()
.setTitle(client.messages.nowplayingTitle)
.setThumbnail((radio.station.logo || "https://cdn.discordapp.com/emojis/" + client.messageEmojis["play"].replace(/[^0-9]+/g, '')))
.setColor(client.config.embedColor)
.setDescription(message.nowplayingDescription)
.setImage('https://waren.io/berriabot-temp-sa7a36a9xm6837br/images/empty-3.png')
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
interaction.reply({
embeds: [embed],
ephemeral: true
});
} }
let date = new Date();
radio.currentTime = date.getTime();
radio.playTime = parseInt(radio.currentTime)-parseInt(radio.startTime);
const completed = (radio.playTime);
message.nowplayingDescription = client.messages.nowplayingDescription.replace("%radio.station.name%", radio.station.name);
message.nowplayingDescription = message.nowplayingDescription.replace("%radio.station.owner%", radio.station.owner);
message.nowplayingDescription = message.nowplayingDescription.replace("%client.funcs.msToTime(completed)%", client.funcs.msToTime(completed));
const embed = new Discord.MessageEmbed()
.setTitle(client.messages.nowplayingTitle)
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["play"].replace(/[^0-9]+/g, ''))
.setColor(client.config.embedColor)
.setDescription(message.nowplayingDescription)
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
interaction.reply({
embeds: [embed],
ephemeral: true
});
} }
}; };

View File

@ -1,104 +1,67 @@
const { const {
createAudioPlayer,
createAudioResource,
getVoiceConnection, getVoiceConnection,
joinVoiceChannel joinVoiceChannel
} = require("@discordjs/voice"); } = require("@discordjs/voice");
module.exports = { module.exports = {
name: "play", name: "play",
alias: "p",
usage: "<song name>", usage: "<song name>",
description: "Play radio", description: "Play radio",
options: [ options: [
{ type: "STRING", name: "query", description: "Select station", required: false} { type: "STRING", name: "query", description: "Select station", required: false}
], ],
permission: "none",
category: "radio", category: "radio",
async execute(interaction, client, Discord, command) { async execute(interaction, client) {
let message = {}; let message = {};
let query = interaction.options?.getString("query") ?? interaction.values?.[0];
if(!query){
if(!client.stations) {
message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild);
return interaction.reply(client.messageEmojis["error"] + message.errorToGetPlaylist);
}
let stations = new Array(); if(client.config.maintenanceMode){
return interaction.reply({
let options = new Array(); content: client.messageEmojis["error"] + client.messages.maintenance,
options[1] = new Array();
options[2] = new Array();
stations[1] = client.stations.slice(0,24).forEach(station => {
station = {
label: station.name,
description: station.owner,
value: station.name
};
options[1].push(station);
});
stations[2] = client.stations.slice(25).forEach(station => {
station = {
label: station.name,
description: station.owner,
value: station.name
};
options[2].push(station);
});
const menu = new Discord.MessageActionRow()
.addComponents(
new Discord.MessageSelectMenu()
.setCustomId('play')
.setPlaceholder('Nothing selected')
.addOptions(options[1])
.addOptions(options[2])
);
stations = null;
options = null;
return interaction.reply({
content: '**Select station:**',
components: [menu],
ephemeral: true ephemeral: true
}); });
} }
let url = query ? query.replace(/<(.+)>/g, "$1") : "";
const radio = client.radio.get(interaction.guild.id); if(!client.stations) {
const voiceChannel = interaction.member.voice.channel; message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild);
if (!radio) {
if (!interaction.member.voice.channel)
return interaction.reply({
content: client.messageEmojis["error"] + client.messages.noVoiceChannel,
ephemeral: true
});
} else {
if (voiceChannel !== radio.voiceChannel)
return interaction.reply({
content: client.messageEmojis["error"] + client.messages.wrongVoiceChannel,
ephemeral: true
});
}
if (!client.stations) {
message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace(
"%client.config.supportGuild%",
client.config.supportGuild
);
return interaction.reply({ return interaction.reply({
content: client.messageEmojis["error"] + message.errorToGetPlaylist, content: client.messageEmojis["error"] + message.errorToGetPlaylist,
ephemeral: true ephemeral: true
}); });
} }
if (!query) return interaction.reply(client.messages.noQuery);
let query = interaction.options?.getString("query") ?? interaction.values?.[0];
if(!query){
return client.funcs.listStations(client, interaction);
}
let url = query ? query.replace(/<(.+)>/g, "$1") : "";
const radio = client.radio.get(interaction.guild.id);
const voiceChannel = interaction.member.voice.channel;
if (!voiceChannel) return interaction.reply({
content: client.messageEmojis["error"] + client.messages.noVoiceChannel,
ephemeral: true
});
if (radio) {
if (voiceChannel !== radio.voiceChannel) return interaction.reply({
content: client.messageEmojis["error"] + client.messages.wrongVoiceChannel,
ephemeral: true
});
}
if (!query) return interaction.reply({
content: client.messages.noQuery,
ephemeral: true
});
const permissions = voiceChannel.permissionsFor(interaction.client.user); const permissions = voiceChannel.permissionsFor(interaction.client.user);
if (!permissions.has("CONNECT")) { if (!permissions.has("CONNECT")) {
return interaction.reply(client.messageEmojis["error"] + client.messages.noPermsConnect); return interaction.reply({
content: client.messageEmojis["error"] + client.messages.noPermsConnect,
ephemeral: true
});
} }
if (!permissions.has("SPEAK")) { if (!permissions.has("SPEAK")) {
return interaction.reply(client.messageEmojis["error"] + client.messages.noPermsSpeak); return interaction.reply({
content: client.messageEmojis["error"] + client.messages.noPermsSpeak,
ephemeral: true
});
} }
let station; let station;
const number = parseInt(query - 1); const number = parseInt(query - 1);
@ -114,32 +77,38 @@ module.exports = {
ephemeral: true ephemeral: true
}); });
} else { } else {
url = client.stations[number].stream[client.stations[number].stream.default];
station = client.stations[number]; station = client.stations[number];
} }
} else { } else {
if (query.length < 3) if (query.length < 3) return interaction.reply({
return interaction.reply({ content: client.messageEmojis["error"] + client.messages.tooShortSearch,
content: client.messageEmojis["error"] + client.messages.tooShortSearch, ephemeral: true
ephemeral: true });
});
const sstation = await searchStation(query, client); let type = "";
if (!sstation)
return interaction.reply({ if(interaction.values?.[0]){
content: client.messageEmojis["error"] + client.messages.noSearchResults, type = "direct";
ephemeral: true } else {
}); type = "text";
url = sstation.stream[sstation.stream.default]; }
const sstation = await client.stations.search(query, type);
if (!sstation) return interaction.reply({
content: client.messageEmojis["error"] + client.messages.noSearchResults,
ephemeral: true
});
station = sstation; station = sstation;
} }
if (radio) { if (radio) {
client.funcs.statisticsUpdate(client, interaction.guild, radio); client.statistics.update(client, interaction.guild, radio);
radio.audioPlayer.stop();
let date = new Date();
radio.station = station; radio.station = station;
radio.textChannel = interaction.channel; radio.textChannel = interaction.channel;
play(interaction, interaction.guild, client, url, Discord); radio.startTime = date.getTime();
client.funcs.play(client, interaction, interaction.guild, station);
return; return;
} }
@ -149,7 +118,6 @@ module.exports = {
voiceChannel: voiceChannel, voiceChannel: voiceChannel,
connection: null, connection: null,
message: null, message: null,
audioPlayer: createAudioPlayer(),
station: station station: station
}; };
client.radio.set(interaction.guild.id, construct); client.radio.set(interaction.guild.id, construct);
@ -165,173 +133,15 @@ module.exports = {
construct.connection = connection; construct.connection = connection;
let date = new Date(); let date = new Date();
construct.startTime = date.getTime(); construct.startTime = date.getTime();
play(interaction, interaction.guild, client, url, Discord);
client.datastore.checkEntry(interaction.guild.id); client.datastore.checkEntry(interaction.guild.id);
construct.currentGuild = client.datastore.getEntry(interaction.guild.id); client.funcs.play(client, interaction, interaction.guild, station);
if (!construct.currentGuild.statistics[construct.station.name]) {
construct.currentGuild.statistics[construct.station.name] = {};
construct.currentGuild.statistics[construct.station.name].time = 0;
construct.currentGuild.statistics[construct.station.name].used = 0;
client.datastore.updateEntry(interaction.guild, construct.currentGuild);
}
} catch (error) { } catch (error) {
console.log(error); console.log(error);
client.radio.delete(interaction.guild.id); client.radio.delete(interaction.guild.id);
return interaction.reply(client.messageEmojis["error"] + `An error occured: ${error}`); return interaction.reply({
content: client.messageEmojis["error"] + `An error occured: ${error}`,
ephemeral: true
});
} }
} }
}; };
async function play(interaction, guild, client, url, Discord) {
let message = {};
const radio = client.radio.get(guild.id);
const resource = createAudioResource(url);
radio.connection.subscribe(radio.audioPlayer);
radio.audioPlayer.play(resource);
resource.playStream
.on("readable", () => {
client.funcs.logger('Radio', 'Stream started' + " / " + guild.id + " / " + radio.station.name);
})
.on("finish", () => {
client.funcs.logger('Radio', 'Stream finished' + " / " + guild.id);
client.funcs.statisticsUpdate(client, guild, radio);
radio.connection?.destroy();
radio.audioPlayer?.stop();
client.radio.delete(guild.id);
return;
})
.on("error", error => {
client.funcs.logger('Radio', 'Stream errored');
console.error(error);
radio.connection?.destroy();
radio.audioPlayer?.stop();
client.radio.delete(guild.id);
return interaction.reply(client.messages.errorPlaying);
});
message.nowplayingDescription = client.messages.nowplayingDescription.replace("%radio.station.name%", radio.station.name);
message.nowplayingDescription = message.nowplayingDescription.replace("%radio.station.owner%", radio.station.owner);
message.nowplayingDescription = message.nowplayingDescription.replace("%client.funcs.msToTime(completed)%", "");
message.nowplayingDescription = message.nowplayingDescription.replace("**", "");
message.nowplayingDescription = message.nowplayingDescription.replace("**", "");
const embed = new Discord.MessageEmbed()
.setTitle(client.user.username)
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["play"].replace(/[^0-9]+/g, ''))
.setColor(client.config.embedColor)
.addField(client.messages.nowplayingTitle, message.nowplayingDescription, true)
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
const buttons = new Discord.MessageActionRow()
.addComponents(
new Discord.MessageButton()
.setCustomId('list')
.setEmoji(client.messageEmojis["list"])
.setStyle('SECONDARY')
)
.addComponents(
new Discord.MessageButton()
.setCustomId('prev')
.setEmoji(client.messageEmojis["prev"])
.setStyle('SECONDARY')
.setDisabled(true)
)
.addComponents(
new Discord.MessageButton()
.setCustomId('stop')
.setEmoji(client.messageEmojis["stop"])
.setStyle('SECONDARY')
)
.addComponents(
new Discord.MessageButton()
.setCustomId('next')
.setEmoji(client.messageEmojis["next"])
.setStyle('SECONDARY')
.setDisabled(true)
)
.addComponents(
new Discord.MessageButton()
.setCustomId('statistics')
.setEmoji(client.messageEmojis["statistics"])
.setStyle('SECONDARY')
);
if(!radio.message){
radio.message = await radio.textChannel.send({ embeds: [embed], components: [buttons] });
} else {
radio.message.edit({ embeds: [embed], components: [buttons] });
}
message.play = client.messages.play.replace("%radio.station.name%", radio.station.name);
interaction.reply({
content: client.messageEmojis["play"] + message.play,
ephemeral: true
});
}
function searchStation(key, client) {
if (client.stations === null) return false;
let foundStations = [];
if (!key) return false;
if (key == "radio") return false;
client.stations
.filter(
x => x.name.toUpperCase().includes(key.toUpperCase()) || x === key
)
.forEach(x =>
foundStations.push({ station: x, name: x.name, probability: 100 })
);
if (key.startsWith("radio ")) key = key.slice(6);
const probabilityIncrement = 100 / key.split(" ").length / 2;
for (let i = 0; i < key.split(" ").length; i++) {
client.stations
.filter(
x => x.name.toUpperCase().includes(key.split(" ")[i].toUpperCase()) || x === key
)
.forEach(x =>
foundStations.push({ station: x, name: x.name, probability: probabilityIncrement })
);
}
if (foundStations.length === 0) return false;
for (let i = 0; i < foundStations.length; i++) {
for (let j = 0; j < foundStations.length; j++) {
if (foundStations[i] === foundStations[j] && i !== j) foundStations.splice(i, 1);
}
}
for (let i = 0; i < foundStations.length; i++) {
if (foundStations[i].name.length > key.length) {
foundStations[i].probability -=
(foundStations[i].name.split(" ").length - key.split(" ").length) *
(probabilityIncrement * 0.5);
} else if (foundStations[i].name.length === key.length) {
foundStations[i].probability += probabilityIncrement * 0.9;
}
for (let j = 0; j < key.split(" ").length; j++) {
if (!foundStations[i].name.toUpperCase().includes(key.toUpperCase().split(" ")[j])) {
foundStations[i].probability -= probabilityIncrement * 0.5;
}
}
}
let highestProbabilityStation;
for (let i = 0; i < foundStations.length; i++) {
if (
!highestProbabilityStation ||
highestProbabilityStation.probability < foundStations[i].probability
)
highestProbabilityStation = foundStations[i];
if (
highestProbabilityStation &&
highestProbabilityStation.probability === foundStations[i].probability
) {
highestProbabilityStation = foundStations[i].station;
}
}
return highestProbabilityStation;
}

View File

@ -0,0 +1,36 @@
module.exports = {
name: 'prev',
description: 'Previous Station',
category: 'radio',
async execute(interaction, client, command) {
if (client.funcs.check(client, interaction, command)) {
const radio = client.radio.get(interaction.guild.id);
let index = client.stations.findIndex(station => station.name == radio.station.name) - 1;
if(index == -1) index = client.stations.length - 1;
let station = client.stations[index];
if(!station) return interaction.reply({
content: client.messageEmojis["error"] + client.messages.noSearchResults,
ephemeral: true
});
client.statistics.update(client, interaction.guild, radio);
let date = new Date();
radio.station = station;
radio.textChannel = interaction.channel;
radio.startTime = date.getTime();
if(interaction.isCommand()) {
client.funcs.play(client, interaction, interaction.guild, station);
}
if(interaction.isButton()) {
interaction.deferUpdate();
client.funcs.play(client, null, interaction.guild, station);
}
}
}
}

View File

@ -1,38 +1,47 @@
import Discord from "discord.js";
module.exports = { module.exports = {
name: 'statistics', name: 'statistics',
alias: 'stats',
usage: '',
description: 'Show statistics', description: 'Show statistics',
permission: 'none',
category: 'info', category: 'info',
execute(interaction, client, Discord, command) { execute(interaction, client) {
let message = {}; let message = {};
let stations = client.stations; let stations = client.stations;
let currentGuild = client.datastore.getEntry(interaction.guild.id); let currentGuild = client.datastore.getEntry(interaction.guild.id);
let global = client.datastore.getEntry("global");
let statistics = ""; let statistics = "";
if(!client.stations) { if(!client.stations) {
message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild); message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild);
return interaction.reply(client.messageEmojis["error"] + message.errorToGetPlaylist); return interaction.reply({
content: client.messageEmojis["error"] + message.errorToGetPlaylist,
ephemeral: true
});
} }
if(!currentGuild || currentGuild && !currentGuild.statistics){ if(!currentGuild || currentGuild && !currentGuild.statistics){
statistics = "You have not listened any radio station"; statistics = "You have not listened any radio stations";
} else { } else {
Object.keys(stations).forEach(function(station) { Object.keys(stations).forEach(function(station) {
if(currentGuild.statistics[stations[station].name] && currentGuild.statistics[stations[station].name].time && parseInt(currentGuild.statistics[stations[station].name].time) > 0 && currentGuild.statistics[stations[station].name].used && parseInt(currentGuild.statistics[stations[station].name].used) > 0){ if(currentGuild.statistics[stations[station].name] && currentGuild.statistics[stations[station].name].time && parseInt(currentGuild.statistics[stations[station].name].time) > 0 && currentGuild.statistics[stations[station].name].used && parseInt(currentGuild.statistics[stations[station].name].used) > 0){
statistics += `**${parseInt(station) + 1}** ` + stations[station].name + " \n"; statistics += `**${parseInt(station) + 1}. ` + stations[station].name + "** \n";
statistics += "Time: " + client.funcs.msToTime(currentGuild.statistics[stations[station].name].time) + "\n"; if(global && global.statistics[stations[station].name] && global.statistics[stations[station].name].time && parseInt(global.statistics[stations[station].name].time) > 0 && global.statistics[stations[station].name].used && parseInt(global.statistics[stations[station].name].used) > 0){
statistics += "Used: " + currentGuild.statistics[stations[station].name].used + "\n"; statistics += "Guild Time: " + client.funcs.msToTime(currentGuild.statistics[stations[station].name].time) + " (" + ((currentGuild.statistics[stations[station].name].time / global.statistics[stations[station].name].time) * 100).toFixed(0) + "%" + ")" + " / " + "Used: " + currentGuild.statistics[stations[station].name].used + " (" + ((currentGuild.statistics[stations[station].name].used / global.statistics[stations[station].name].used) * 100).toFixed(0) + "%" + ")" + "\n";
statistics += "Global Time: " + client.funcs.msToTime(global.statistics[stations[station].name].time) + " / " + "Used: " + global.statistics[stations[station].name].used + "\n\n";
} else {
statistics += "Time: " + client.funcs.msToTime(currentGuild.statistics[stations[station].name].time) + " / " + "Used: " + currentGuild.statistics[stations[station].name].used + "\n\n";
}
} }
}); });
} }
const embed = new Discord.MessageEmbed() const embed = new Discord.MessageEmbed()
.setTitle(client.messages.statisticsTitle) .setTitle(client.messages.statisticsTitle)
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["statistics"].replace(/[^0-9]+/g, '')) .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["statistics"].replace(/[^0-9]+/g, ''))
.setColor(client.config.embedColor) .setColor(client.config.embedColor)
.setDescription(statistics) .setDescription(statistics)
.setImage('https://waren.io/berriabot-temp-sa7a36a9xm6837br/images/empty-3.png')
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
interaction.reply({ interaction.reply({
@ -40,4 +49,4 @@ module.exports = {
ephemeral: true ephemeral: true
}); });
} }
}; };

View File

@ -1,11 +1,10 @@
import Discord from "discord.js";
module.exports = { module.exports = {
name: 'status', name: 'status',
alias: 'st',
usage: '',
description: 'Bot Status', description: 'Bot Status',
permission: 'none',
category: 'info', category: 'info',
async execute(interaction, client, Discord, command) { async execute(interaction, client) {
let message = {}; let message = {};
message.statusTitle = client.messages.statusTitle.replace("%client.user.username%", client.user.username); message.statusTitle = client.messages.statusTitle.replace("%client.user.username%", client.user.username);
@ -15,11 +14,12 @@ module.exports = {
.setTitle(message.statusTitle) .setTitle(message.statusTitle)
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["logo"].replace(/[^0-9]+/g, '')) .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["logo"].replace(/[^0-9]+/g, ''))
.setColor(client.config.embedColor) .setColor(client.config.embedColor)
.addField(client.messages.statusField1, Date.now() - interaction.createdTimestamp + "ms", true) .addField(client.messages.statusField1, uptime, false)
.addField(client.messages.statusField2, client.ws.ping + "ms", true) .addField(client.messages.statusField2, client.config.version, false)
.addField(client.messages.statusField3, uptime, true) .addField(client.messages.statusField3, Date.now() - interaction.createdTimestamp + "ms", false)
.addField(client.messages.statusField4, client.config.version, true) .addField(client.messages.statusField4, client.ws.ping + "ms", false)
.addField(client.messages.statusField5, client.config.hostedBy, true) .addField(client.messages.statusField5, client.config.hostedBy, false)
.setImage('https://waren.io/berriabot-temp-sa7a36a9xm6837br/images/empty-3.png')
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
interaction.reply({ interaction.reply({
@ -28,4 +28,4 @@ module.exports = {
}); });
} }
}; };

View File

@ -1,33 +1,36 @@
import Discord from "discord.js";
module.exports = { module.exports = {
name: 'stop', name: 'stop',
description: 'Stop radio', description: 'Stop radio',
alias: 's',
usage: '',
permission: 'none',
category: 'radio', category: 'radio',
async execute(interaction, client, Discord, command) { async execute(interaction, client, command) {
const radio = client.radio.get(interaction.guild.id);
if (client.funcs.check(client, interaction, command)) { if (client.funcs.check(client, interaction, command)) {
client.funcs.statisticsUpdate(client, interaction.guild, radio); const radio = client.radio.get(interaction.guild.id);
client.statistics.update(client, interaction.guild, radio);
radio.connection?.destroy(); radio.connection?.destroy();
radio.audioPlayer?.stop(); client.funcs.logger('Radio', interaction.guild.id + " / " + 'Stop');
client.funcs.logger('Radio', 'Stream stopped' + " / " + interaction.guild.id);
const embed = new Discord.MessageEmbed() const embed = new Discord.MessageEmbed()
.setTitle(client.user.username) .setTitle(client.user.username)
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["stop"].replace(/[^0-9]+/g, '')) .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["stop"].replace(/[^0-9]+/g, ''))
.setColor(client.config.embedColor) .setColor(client.config.embedColor)
.addField(client.messages.nowplayingTitle, "-", true) .addField(client.messages.nowplayingTitle, "-", true)
.setImage('https://waren.io/berriabot-temp-sa7a36a9xm6837br/images/empty-3.png')
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
if(!radio.message){ if(!radio.message){
radio.message = await radio.textChannel.send({ embeds: [embed], components: [] }); radio.message = radio.textChannel.send({ embeds: [embed], components: [] });
} else { } else {
radio.message.edit({ embeds: [embed], components: [] }); if(radio.textChannel.id == radio.message.channel.id){
radio.message.edit({ embeds: [embed], components: [] });
} else {
radio.message?.delete();
}
} }
setTimeout(function() { setTimeout(async function() {
radio.message.delete(); await radio.message?.delete();
}, 5000); }, 5000);
client.radio.delete(interaction.guild.id); client.radio.delete(interaction.guild.id);
@ -38,4 +41,4 @@ module.exports = {
}); });
} }
} }
}; };

View File

@ -1,128 +0,0 @@
const fs = require('fs');
const path = require('path');
module.exports = class {
constructor() {
this.map = new Map();
this.loadData();
}
loadData() {
const dir = path.join(path.dirname(__dirname), '../datastore');
if (!fs.existsSync(dir)) {
fs.mkdirSync(dir);
}
//console.log("");
const dataFiles = fs.readdirSync(path.join(path.dirname(__dirname), '../datastore')).filter(f => f.endsWith('.json'));
for (const file of dataFiles) {
try {
const json = require(`../../datastore/${file}`);
this.map.set(json.guild.id, json);
//console.log('[LOADED] ' + file + " (" + json.guild.id + ")");
//console.log(JSON.stringify(json, null, 4));
} catch (error) {
//console.log('[ERROR] Loading ' + file + ' failed');
}
}
//console.log("");
}
calculateGlobal(client){
let guilds = this.map.keys();
let stations = client.stations;
var statistics = {};
if(!client.stations) return;
let calculation = guilds.next();
while (!calculation.done) {
let currentGuild = this.getEntry(calculation.value);
if(calculation.value != 'global'){
if(stations){
Object.keys(stations).forEach(function(station) {
if(currentGuild.statistics[stations[station].name] && currentGuild.statistics[stations[station].name].time && parseInt(currentGuild.statistics[stations[station].name].time) != 0 && currentGuild.statistics[stations[station].name].used && parseInt(currentGuild.statistics[stations[station].name].used) != 0){
if(!statistics[stations[station].name]){
statistics[stations[station].name] = {};
statistics[stations[station].name].time = 0;
statistics[stations[station].name].used = 0;
}
statistics[stations[station].name].time = parseInt(statistics[stations[station].name].time)+parseInt(currentGuild.statistics[stations[station].name].time);
statistics[stations[station].name].used = parseInt(statistics[stations[station].name].used)+parseInt(currentGuild.statistics[stations[station].name].used);
}
});
}
}
calculation = guilds.next();
}
let newData = {};
newData.guild = {};
newData.guild.id = "global";
newData.guild.name = "global";
newData.statistics = statistics;
this.updateEntry(newData.guild, newData);
}
checkEntry(id){
if(!this.map.has(id)){
this.createEntry(id);
//this.showEntry(this.getEntry(id));
} else {
//this.showEntry(this.getEntry(id));
}
}
createEntry(id){
let newData = {};
newData.guild = {};
newData.guild.id = id;
newData.statistics = {};
this.map.set(id, newData);
this.saveEntry(id, newData);
}
getEntry(id){
return this.map.get(id);
}
updateEntry(guild, newData) {
newData.guild.name = guild.name;
this.map.set(guild.id, newData);
this.saveEntry(guild.id, newData);
//this.showEntry(this.getEntry(guild.id));
}
showEntry(data){
console.log(data);
}
createTestFile () {
let newData = {
"guild": {
"id": "test",
"name": "Test"
},
"statistics": {
"test": {
"time": 0,
"used": 0
}
}
}
this.updateEntry(newData.guild, newData);
}
saveEntry(file, data) {
data = JSON.stringify(data, null, 4);
fs.writeFile(path.join(path.dirname(__dirname), '../datastore') + "/" + file + ".json", data, 'utf8', function(err) {
if (err) {
//console.log(err);
}
});
}
};

View File

@ -39,4 +39,4 @@ module.exports = {
} }
} }
} }
} }

View File

@ -0,0 +1,15 @@
module.exports = {
name: 'SIGINT',
execute(client) {
client.user.setStatus('dnd');
client.streamer.leave(client);
client.radio.save(client);
setInterval(() => {
if(client.radio.size == 0){
process.exit();
}
}, 500);
}
}

View File

@ -0,0 +1,6 @@
module.exports = {
name: 'SIGTERM',
execute(client) {
process.emit('SIGINT');
}
}

View File

@ -1,22 +1,27 @@
import Discord from "discord.js";
module.exports = { module.exports = {
name: 'interactionCreate', name: 'interactionCreate',
async execute(client, interaction) { async execute(client, interaction) {
/*if (!interaction.isCommand()) return;*/
const permissions = interaction.channel.permissionsFor(interaction.client.user); const permissions = interaction.channel.permissionsFor(interaction.client.user);
if (!permissions.has('EMBED_LINKS')) return interaction.send(client.messages.noPermsEmbed); if (!permissions.has('VIEW_CHANNEL')) return;
if (!permissions.has('EMBED_LINKS')) return interaction.reply({
content: client.messageEmojis["error"] + client.messages.noPermsEmbed,
ephemeral: true
});
if(interaction.isCommand()){ if(interaction.isCommand()){
const commandName = interaction.commandName; const commandName = interaction.commandName;
const command = client.commands.get(commandName); const command = client.commands.get(commandName);
if (!command) return; if (!command) return;
try { try {
command.execute(interaction, client, Discord, command); command.execute(interaction, client);
} catch (error) { } catch (error) {
interaction.reply(client.messages.runningCommandFailed); interaction.reply({
content: client.messageEmojis["error"] + client.messages.runningCommandFailed,
ephemeral: true
});
console.error(error); console.error(error);
} }
} else if (interaction.isSelectMenu() || interaction.isButton()){ } else if (interaction.isSelectMenu() || interaction.isButton()){
@ -25,9 +30,12 @@ module.exports = {
if (!command) return; if (!command) return;
try { try {
command.execute(interaction, client, Discord, command); command.execute(interaction, client, command);
} catch (error) { } catch (error) {
interaction.reply(client.messages.runningCommandFailed); interaction.reply({
content: client.messageEmojis["error"] + client.messages.runningCommandFailed,
ephemeral: true
});
console.error(error); console.error(error);
} }
} }

View File

@ -0,0 +1,58 @@
import Discord from "discord.js";
module.exports = {
name: 'messageCreate',
async execute(client, message) {
if (message.author.bot || !message.guild) return;
let prefix = "rx$";
if(client.user.username == "RadioX"){
prefix = "rx>";
} else if (client.user.username == "RadioX Beta"){
prefix = "rx-";
} else if (client.user.username == "RadioX Dev"){
prefix = "rx$";
} else if(message.mentions.members.first() && message.mentions.members.first().user.id === client.user.id){
prefix = "<@!" + client.user.id + "> ";
} else {
return;
}
const args = message.content.slice(prefix.length).split(' ');
if (!message.content.startsWith(prefix)) return;
if (!args[0]) return;
const commandName = args[0].toLowerCase();
if (commandName === 'none') return;
const command = client.commands.get(commandName) || client.commands.find(cmd => cmd.aliases && cmd.aliases.includes(commandName));
if (!command && message.content !== `${prefix}`) return;
const permissions = message.channel.permissionsFor(message.client.user);
if (!permissions.has('EMBED_LINKS')) return message.channel.send(client.messages.noPermsEmbed);
try {
let newMessage = {};
newMessage.messageCommandsDeprecatedTitle = client.messages.messageCommandsDeprecatedTitle.replace("%client.user.username%", client.user.username);
const embed = new Discord.MessageEmbed()
.setTitle(newMessage.messageCommandsDeprecatedTitle)
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["logo"].replace(/[^0-9]+/g, ''))
.setColor(client.config.embedColor)
.setDescription(client.messages.messageCommandsDeprecatedDescription)
.setImage('https://waren.io/berriabot-temp-sa7a36a9xm6837br/images/empty-3.png')
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
let msg = await message.channel.send({ embeds: [embed] });
setTimeout(async function() {
try {
await msg.delete();
} catch (DiscordAPIError) {
}
}, 30000);
} catch (error) {
message.reply({
content: client.messages.runningCommandFailed,
ephemeral: true
});
console.error(error);
}
}
}

View File

@ -0,0 +1,10 @@
module.exports = {
name: 'messageDelete',
async execute(client, msg) {
if (!msg.author.bot || !msg.guild) return;
const radio = client.radio.get(msg.guild.id);
if (!radio) return;
if(msg.id != radio.message.id) return;
radio.message = null;
}
}

View File

@ -1,22 +1,35 @@
const fetch = require('node-fetch'); import Datastore from "../classes/Datastore.js";
import Radio from "../classes/Radio.js";
import Stations from "../classes/Stations.js";
import Streamer from "../classes/Streamer.js";
import Statistics from "../classes/Statistics.js";
module.exports = { module.exports = {
name: 'ready', name: 'ready',
async execute(client) { async execute(client) {
console.log('RadioX ' + client.config.version); client.funcs.logger("Bot", "Ready");
console.log('Internet Radio to your Discord guild');
console.log('(c)2020-2021 EximiaBots by Warén Group'); /*DATASTORE*/
console.log(''); client.funcs.logger('Datastore', 'Initialize');
client.datastore = new Datastore();
client.funcs.logger('Datastore');
client.datastore.map.forEach(datastore => {
console.log("- " + datastore.guild.id + " / " + datastore.guild.name);
});
console.log("\n");
client.funcs.logger('Datastore', 'Ready');
/*DEVELOPERS*/ /*DEVELOPERS*/
client.funcs.logger('Developers', 'List'); client.funcs.logger('Developers');
client.developers = ""; client.developers = "";
let user = ""; let user = "";
for (let i = 0; i < client.config.devId.length; i++) { for (let i = 0; i < client.config.devId.length; i++) {
user = await client.users.fetch(client.config.devId[i]); user = await client.users.fetch(client.config.devId[i]);
console.log(" - " + user.tag); console.log("- " + user.tag);
if (i == client.config.devId.length - 1) { if (i == client.config.devId.length - 1) {
client.developers += user.tag; client.developers += user.tag;
} else { } else {
@ -26,56 +39,42 @@ module.exports = {
console.log("\n"); console.log("\n");
/*STATIONS*/ /*STATIONS*/
try { client.stations = new Stations();
client.funcs.logger('Stations', 'Started fetching list ' + client.config.stationslistUrl);
client.stations = await fetch(client.config.stationslistUrl)
.then(client.funcs.checkFetchStatus)
.then(response => response.json());
client.funcs.logger('Stations', 'List'); await client.stations.fetch({
client.stations.forEach(station => { url: client.config.stationslistUrl,
console.log(" - " + station.name); show: true
}); });
console.log("\n");
client.funcs.logger('Stations', 'Successfully fetched list');
} catch (error) {
client.funcs.logger('Stations', 'Fetching list failed');
console.error(error + "\n");
}
setInterval(async () => { setInterval(async () => {
try { await client.stations.fetch({
client.funcs.logger('Stations', 'Started fetching list ' + client.config.stationslistUrl); url: client.config.stationslistUrl,
client.stations = await fetch(client.config.stationslistUrl) show: false
.then(client.funcs.checkFetchStatus) });
.then(response => response.json());
client.funcs.logger('Stations', 'Successfully fetched list');
} catch (error) {
client.funcs.logger('Stations', 'Fetching list failed');
//console.error(error);
}
}, 3600000); }, 3600000);
client.streamer = new Streamer();
client.streamer.init(client);
if(!client.stations) { if(!client.stations) {
client.user.setStatus('dnd'); client.user.setStatus('dnd');
} }
/*GUILDS*/ /*GUILDS*/
client.funcs.logger('Guilds', 'Started fetching list'); client.funcs.logger('Guilds', 'Started fetching list');
client.funcs.logger('Guilds', 'List'); client.funcs.logger('Guilds');
let guilds = await client.guilds.fetch(); let guilds = await client.guilds.fetch();
guilds.forEach(guild => { guilds.forEach(guild => {
console.log(" - " + guild.id + ": " + guild.name); console.log("- " + guild.id + " / " + guild.name);
}); });
console.log("\n"); console.log("\n");
client.funcs.logger('Guilds', 'Successfully fetched list'); client.funcs.logger('Guilds', 'Successfully fetched list');
/*STATISTICS*/ /*STATISTICS*/
client.datastore.calculateGlobal(client); client.statistics = new Statistics();
client.statistics.calculateGlobal(client);
/*EMOJIS*/ /*EMOJIS*/
require(`../emojis.js`).execute(client); require(`../emojis.js`).execute(client);
@ -83,5 +82,21 @@ module.exports = {
/*COMMANDS*/ /*COMMANDS*/
require(`../commands.js`).execute(client); require(`../commands.js`).execute(client);
/*RADIO*/
client.radio = new Radio();
setTimeout(function () {
/*RESTORE RADIOS*/
client.radio.restore(client, guilds);
}, 5000);
setTimeout(function () {
if(client.stations) {
/*MAINTENANCE MODE*/
client.funcs.logger("Maintenance Mode", "Disabled");
client.config.maintenanceMode = false;
}
}, 10000);
} }
} }

View File

@ -0,0 +1,11 @@
module.exports = {
name: 'uncaughtException',
execute(client, error) {
client.funcs.logger("Error");
console.log(error.stack);
console.log('');
if(error.name == "DiscordAPIError" && error.message == "Unknown interaction") return;
process.emit('SIGINT');
}
}

View File

@ -14,10 +14,10 @@ module.exports = {
if (newState.member.id === client.user.id && oldState.member.id === client.user.id) { if (newState.member.id === client.user.id && oldState.member.id === client.user.id) {
if (newState.channel === null) { if (newState.channel === null) {
client.funcs.statisticsUpdate(client, newState.guild, radio); client.statistics.update(client, newState.guild, radio);
radio.connection?.destroy(); radio.connection?.destroy();
radio.audioPlayer?.stop(); radio.message?.delete();
client.funcs.logger('Radio', 'Stream stopped' + " / " + newState.guild.id); client.funcs.logger('Radio', newState.guild.id + " / " + 'Stop');
return client.radio.delete(newState.guild.id); return client.radio.delete(newState.guild.id);
} }
@ -36,10 +36,10 @@ module.exports = {
1000 1000
); );
} catch (error) { } catch (error) {
client.funcs.statisticsUpdate(client, newState.guild, radio); client.statistics.update(client, newState.guild, radio);
radio.connection?.destroy(); radio.connection?.destroy();
radio.audioPlayer?.stop(); radio.message?.delete();
client.funcs.logger('Radio', 'Stream stopped' + " / " + newState.guild.id); client.funcs.logger('Radio', newState.guild.id + " / " + 'Stop');
client.radio.delete(oldState.guild.id); client.radio.delete(oldState.guild.id);
} }
return; return;
@ -51,17 +51,17 @@ module.exports = {
//radio.connection = await newState.channel.join(); //radio.connection = await newState.channel.join();
} }
} }
if ((oldState.channel.members.size === 1 && oldState.channel === radio.voiceChannel) || change) { if ((oldState.channel.members.filter(member => !member.user.bot).size === 0 && oldState.channel === radio.voiceChannel) || change) {
setTimeout(() => { setTimeout(() => {
if (!radio || !radio.connection || !radio.connection === null) return; if (!radio || !radio.connection || !radio.connection === null) return;
if (radio.voiceChannel.members.size === 1) { if (radio.voiceChannel.members.filter(member => !member.user.bot).size === 0) {
client.funcs.statisticsUpdate(client, newState.guild, radio); client.statistics.update(client, newState.guild, radio);
radio.connection?.destroy(); radio.connection?.destroy();
radio.audioPlayer?.stop(); radio.message?.delete();
client.funcs.logger('Radio', 'Stream stopped' + " / " + newState.guild.id); client.funcs.logger('Radio', newState.guild.id + " / " + 'Stop');
client.radio.delete(newState.guild.id); client.radio.delete(newState.guild.id);
} }
}, 60000); }, 5000);
} }
}, },
}; };

View File

@ -0,0 +1,12 @@
module.exports = {
name: 'warning',
execute(client, warning) {
if(warning.name == "ExperimentalWarning" && warning.message.startsWith("stream/web")) return;
client.funcs.logger("Warning");
console.warn(warning.name);
console.warn(warning.message);
console.warn(warning.stack);
console.log('');
}
}

View File

@ -1,7 +1,22 @@
module.exports = function (client, interaction, command) { module.exports = function check(client, interaction, command) {
let message = {}; let message = {};
const radio = client.radio.get(interaction.guild.id); const radio = client.radio.get(interaction.guild.id);
const permissions = interaction.channel.permissionsFor(interaction.user); const permissions = interaction.channel.permissionsFor(interaction.user);
if(client.config.maintenanceMode){
interaction.reply({
content: client.messageEmojis["error"] + client.messages.maintenance,
ephemeral: true
});
return false;
}
if(!client.stations) {
message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild);
interaction.reply({
content: client.messageEmojis["error"] + message.errorToGetPlaylist,
ephemeral: true
});
return false;
}
if (!radio) { if (!radio) {
interaction.reply({ interaction.reply({
content: client.messageEmojis["error"] + client.messages.notPlaying, content: client.messageEmojis["error"] + client.messages.notPlaying,
@ -16,14 +31,6 @@ module.exports = function (client, interaction, command) {
}); });
return false; return false;
} }
if(!command.permission == 'none'){
if (!permissions.has(command.permission)) { return true;
message.noPerms = client.messages.noPerms.replace("%command.permission%", command.permission);
interaction.reply({
content: client.messageEmojis["error"] + message.noPerms,
ephemeral: true
});
return false;
} else return true;
} else return true;
}; };

View File

@ -1,7 +0,0 @@
module.exports = function (response) {
if (response.ok) { // res.status >= 200 && res.status < 300
return response;
} else {
throw new Error(response.status + " " + response.statusText);
}
}

View File

@ -1,4 +1,4 @@
module.exports = function (devList, authorID){ module.exports = function isDev(devList, authorID){
let response = false; let response = false;
Object.keys(devList).forEach(function(oneDev) { Object.keys(devList).forEach(function(oneDev) {
let devID = devList[oneDev]; let devID = devList[oneDev];
@ -7,4 +7,4 @@ module.exports = function (devList, authorID){
} }
}); });
return response; return response;
} }

View File

@ -0,0 +1,33 @@
import Discord from "discord.js";
module.exports = function listStations(client, interaction){
let stations = new Array();
let options = new Array();
stations = client.stations.forEach(station => {
if(station.name == "GrooveFM") return;
station = {
label: station.name,
description: station.owner,
value: station.name
};
options.push(station);
});
const menu = new Discord.MessageActionRow()
.addComponents(
new Discord.MessageSelectMenu()
.setCustomId('play')
.setPlaceholder('Nothing selected')
.addOptions(options)
);
stations = null;
options = null;
return interaction.reply({
content: '**Select station:**',
components: [menu],
ephemeral: true
});
}

View File

@ -0,0 +1,12 @@
module.exports = function loadState(client, guild){
let data = client.datastore.getEntry(guild.id);
if(!data) return;
let state;
state = data.state;
if(!state) return;
data.state = {};
client.datastore.updateEntry(guild, data);
return state;
}

View File

@ -1,4 +1,5 @@
module.exports = function (area, text){ module.exports = function logger(area, text){
let date = new Date(); let date = new Date();
console.log('[' + area + '] ' + date.toISOString() + '\n' + text + '\n'); console.log('[' + area + '] ' + date.toISOString());
} if(text) console.log(text + '\n');
}

View File

@ -9,4 +9,4 @@ module.exports = function msToTime(duration) {
: +hours > 0 : +hours > 0
? `${+hours < 10 ? `0${hours}` : hours}:${+minutes < 10 ? `0${minutes}` : minutes}:${+seconds < 10 ? `0${seconds}` : seconds}` ? `${+hours < 10 ? `0${hours}` : hours}:${+minutes < 10 ? `0${minutes}` : minutes}:${+seconds < 10 ? `0${seconds}` : seconds}`
: `${+minutes < 10 ? `0${minutes}` : minutes}:${+seconds < 10 ? `0${seconds}` : seconds}`; : `${+minutes < 10 ? `0${minutes}` : minutes}:${+seconds < 10 ? `0${seconds}` : seconds}`;
} }

74
src/client/funcs/play.js Normal file
View File

@ -0,0 +1,74 @@
import Discord from "discord.js";
module.exports = async function play(client, interaction, guild, station) {
let message = {};
const radio = client.radio.get(guild.id);
const audioPlayer = client.streamer.listen(station);
radio.connection.subscribe(audioPlayer);
client.funcs.logger('Radio', guild.id + " / " + "Play" + " / " + radio.station.name);
message.nowplayingDescription = client.messages.nowplayingDescription.replace("%radio.station.name%", radio.station.name);
message.nowplayingDescription = message.nowplayingDescription.replace("%radio.station.owner%", radio.station.name != radio.station.owner ? radio.station.owner + "\n" : "");
message.nowplayingDescription = message.nowplayingDescription.replace("%client.funcs.msToTime(completed)%", "");
message.nowplayingDescription = message.nowplayingDescription.replace("**", "");
message.nowplayingDescription = message.nowplayingDescription.replace("**", "");
const embed = new Discord.MessageEmbed()
.setTitle(client.user.username)
.setThumbnail((radio.station.logo || "https://cdn.discordapp.com/emojis/" + client.messageEmojis["play"].replace(/[^0-9]+/g, '')))
.setColor(client.config.embedColor)
.addField(client.messages.nowplayingTitle, message.nowplayingDescription, true)
.setImage('https://waren.io/berriabot-temp-sa7a36a9xm6837br/images/empty-3.png')
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
const buttons = new Discord.MessageActionRow()
.addComponents(
new Discord.MessageButton()
.setCustomId('list')
.setEmoji(client.messageEmojis["list"])
.setStyle('SECONDARY')
)
.addComponents(
new Discord.MessageButton()
.setCustomId('prev')
.setEmoji(client.messageEmojis["prev"])
.setStyle('SECONDARY')
)
.addComponents(
new Discord.MessageButton()
.setCustomId('stop')
.setEmoji(client.messageEmojis["stop"])
.setStyle('SECONDARY')
)
.addComponents(
new Discord.MessageButton()
.setCustomId('next')
.setEmoji(client.messageEmojis["next"])
.setStyle('SECONDARY')
)
.addComponents(
new Discord.MessageButton()
.setCustomId('statistics')
.setEmoji(client.messageEmojis["statistics"])
.setStyle('SECONDARY')
);
if(!radio.message){
radio.message = await radio.textChannel.send({ embeds: [embed], components: [buttons] });
} else {
if(radio.textChannel.id == radio.message.channel.id){
radio.message.edit({ embeds: [embed], components: [buttons] });
} else {
radio.message?.delete();
radio.message = await radio.textChannel.send({ embeds: [embed], components: [buttons] });
}
}
message.play = client.messages.play.replace("%radio.station.name%", radio.station.name);
interaction?.reply({
content: client.messageEmojis["play"] + message.play,
ephemeral: true
});
}

View File

@ -0,0 +1,18 @@
module.exports = function saveState(client, guild, radio){
client.datastore.checkEntry(guild.id);
let date = new Date();
let data = client.datastore.getEntry(guild.id);
data.state = {};
data.state.channels = {};
data.state.channels.text = radio.textChannel.id;
data.state.channels.voice = radio.voiceChannel.id;
data.state.date = date.toISOString();
data.state.station = {};
data.state.station.name = radio.station.name;
data.state.station.owner = radio.station.owner;
client.datastore.updateEntry(guild, data);
}

View File

@ -1,22 +0,0 @@
module.exports = function statisticsUpdate(client, guild, radio) {
client.datastore.checkEntry(guild.id);
radio.currentGuild = client.datastore.getEntry(guild.id);
if(!radio.currentGuild.statistics[radio.station.name]){
radio.currentGuild.statistics[radio.station.name] = {};
radio.currentGuild.statistics[radio.station.name].time = 0;
radio.currentGuild.statistics[radio.station.name].used = 0;
client.datastore.updateEntry(guild, radio.currentGuild);
}
let date = new Date();
radio.currentTime = date.getTime();
radio.playTime = parseInt(radio.currentTime)-parseInt(radio.startTime);
radio.currentGuild.statistics[radio.station.name].time = parseInt(radio.currentGuild.statistics[radio.station.name].time)+parseInt(radio.playTime);
radio.currentGuild.statistics[radio.station.name].used = parseInt(radio.currentGuild.statistics[radio.station.name].used)+1;
client.datastore.updateEntry(guild, radio.currentGuild);
client.datastore.calculateGlobal(client);
}

View File

@ -5,15 +5,13 @@ module.exports = {
runningCommandFailed: "Running this command failed!", runningCommandFailed: "Running this command failed!",
noPermsEmbed: "I cannot send embeds (Embed links).", noPermsEmbed: "I cannot send embeds (Embed links).",
bugTitle: "Found a bug with %client.user.username%?", bugTitle: "Found a bug with %client.user.username%?",
bugDescription: "Join the support server \n %client.config.supportGuild%", bugDescription: "Join the support server" + "\n" + "%client.config.supportGuild%",
helpTitle: "%client.user.username% help:", helpTitle: "%client.user.username% help:",
helpDescription: "%commands%", helpDescription: "%commands%",
helpCommandTitle: "%client.config.prefix%%command.name% %command.usage%",
helpCommandDescription: "%command.description% \n Command Alias: %command.alias%",
inviteTitle: "Invite %client.user.username% to your Discord server!", inviteTitle: "Invite %client.user.username% to your Discord server!",
listTitle: "Radio Stations", listTitle: "Radio Stations",
nowplayingTitle: "Now Playing", nowplayingTitle: "Now Playing",
nowplayingDescription: "**%radio.station.name%** \n Owner: %radio.station.owner% \n %client.funcs.msToTime(completed)%", nowplayingDescription: "**%radio.station.name%**" + "\n" + "%radio.station.owner%" + "\n" + "%client.funcs.msToTime(completed)%",
noVoiceChannel: "You need to be in a voice channel to play radio!", noVoiceChannel: "You need to be in a voice channel to play radio!",
noQuery: "You need to use a number or search for a supported station!", noQuery: "You need to use a number or search for a supported station!",
noPermsConnect: "I cannot connect to your voice channel.", noPermsConnect: "I cannot connect to your voice channel.",
@ -31,10 +29,13 @@ module.exports = {
sendedMaintenanceMessage: "This bot is going to be under maintenance!", sendedMaintenanceMessage: "This bot is going to be under maintenance!",
footerText: "EximiaBots by Warén Group", footerText: "EximiaBots by Warén Group",
statusTitle: "%client.user.username% Status", statusTitle: "%client.user.username% Status",
statusField1: "Bot Latency", statusField1: ":clock1: Bot Uptime",
statusField2: "API Latency", statusField2: ":floppy_disk: Bot Version",
statusField3: "Uptime", statusField3: ":heartbeat: WebSocket Ping",
statusField4: "Version", statusField4: ":hourglass: Latency",
statusField5: "Hosted by", statusField5: ":globe_with_meridians: Hosted by",
errorStationURL: "Station can't be URL" errorStationURL: "Station can't be URL",
}; messageCommandsDeprecatedTitle: "%client.user.username%",
messageCommandsDeprecatedDescription: "We recommend you to reauthorize our bot by clicking the invite link down below, because Discord is planning to remove message content from verified bots [Read More](https://support-dev.discord.com/hc/en-us/articles/4404772028055)" + "\n\n" + "**Invite Bot**" + "\n" + "https://wgi.fi/radiox_invite" + "\n\n" + "This bot now supports slash commands, you should start using them instead. Type / into the message box and select the bot you wish to use. Remember to be careful as there are a few bugs here and there on Discord." + "\n\n" + "We will remove this deprecation message in March of 2022 when RadioX 1.0.0 is released.",
maintenance: "Shhhh... We are now sleeping and dreaming about new features to implement. Will be back soon."
};

View File

@ -1,3 +1,3 @@
export interface command { } export interface command { }
export interface radio {} export interface radio {}

View File

@ -6,7 +6,7 @@ module.exports = {
token: process.env.DISCORD_TOKEN, token: process.env.DISCORD_TOKEN,
//radio stations //radio stations
stationslistUrl: process.env.RADIOX_STATIONSLISTURL || "https://gitea.cwinfo.org/cwchristerw/radio/raw/branch/master/playlist.json", stationslistUrl: process.env.RADIOX_STATIONSLISTURL || "https://git.cwinfo.net/cwchristerw/radio/raw/branch/master/playlist.json",
//support //support
supportGuild: "https://discord.gg/rRA65Mn", supportGuild: "https://discord.gg/rRA65Mn",
@ -20,8 +20,9 @@ module.exports = {
hostedBy: "[Warén Group](https://waren.io)", hostedBy: "[Warén Group](https://waren.io)",
//Settings //Settings
prefix: process.env.RADIOX_PREFIX || "rx-", version: process.env.DEV_MODE ? process.env.npm_package_version + "-dev" : process.env.npm_package_version,
version: process.env.RADIOX_VERSION || process.env.npm_package_version, debug: process.env.DEBUG_MODE || false,
debug: process.env.DEBUG_MODE || false devMode: process.env.DEV_MODE || false,
maintenanceMode: false,
} streamerMode: process.env.STREAMER_MODE || "manual"
}