Compare commits

...

856 commits

Author SHA1 Message Date
Skidder
7a552106ff
Merge pull request #734 from BBN-Holding/greg-dev
Merge pull request #733 from BBN-Holding/master
2022-10-16 23:02:06 +02:00
Skidder
39933fedaa
Merge pull request #733 from BBN-Holding/master
Merge pull request #732 from BBN-Holding/greg-dev
2022-10-16 23:01:54 +02:00
Skidder
65dca9a9a6
Merge pull request #732 from BBN-Holding/greg-dev
Greg dev
2022-10-05 19:45:44 +02:00
Skidder
b87134ebfb
Merge pull request #721 from BBN-Holding/dependabot/maven/greg-dev/club.minnced-discord-webhooks-0.8.2
Bump discord-webhooks from 0.8.0 to 0.8.2
2022-10-05 19:45:28 +02:00
Skidder
3f5dfa8a27
Merge pull request #723 from BBN-Holding/dependabot/maven/greg-dev/org.apache.maven-maven-model-3.8.6
Bump maven-model from 3.8.5 to 3.8.6
2022-10-05 19:45:19 +02:00
Skidder
cb5ec9372b
Merge pull request #725 from BBN-Holding/dependabot/maven/greg-dev/org.mongodb-mongodb-driver-sync-4.7.1
Bump mongodb-driver-sync from 4.5.1 to 4.7.1
2022-10-05 19:45:10 +02:00
Skidder
7d77fdf08c
Merge pull request #728 from BBN-Holding/dependabot/maven/greg-dev/org.slf4j-slf4j-simple-2.0.3
Bump slf4j-simple from 1.7.36 to 2.0.3
2022-10-05 19:44:55 +02:00
Skidder
726f7fcd36
Merge pull request #729 from BBN-Holding/dependabot/maven/greg-dev/org.kohsuke-github-api-1.313
Bump github-api from 1.303 to 1.313
2022-10-05 19:44:46 +02:00
Skidder
9a035f2d2c
Merge pull request #730 from BBN-Holding/dependabot/maven/greg-dev/org.json-json-20220924
Bump json from 20220320 to 20220924
2022-10-05 19:44:36 +02:00
Skidder
392b756c6b
Merge pull request #731 from BBN-Holding/master
.
2022-10-05 19:44:27 +02:00
dependabot[bot]
1639b7e1cc
Bump json from 20220320 to 20220924
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20220320 to 20220924.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-01 13:01:33 +00:00
dependabot[bot]
401e3004ab
Bump github-api from 1.303 to 1.313
Bumps [github-api](https://github.com/hub4j/github-api) from 1.303 to 1.313.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.303...github-api-1.313)

---
updated-dependencies:
- dependency-name: org.kohsuke:github-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-01 13:01:30 +00:00
dependabot[bot]
93add2d2f1
Bump slf4j-simple from 1.7.36 to 2.0.3
Bumps [slf4j-simple](https://github.com/qos-ch/slf4j) from 1.7.36 to 2.0.3.
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.36...v_2.0.3)

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-simple
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-01 13:01:25 +00:00
dependabot[bot]
652fa1b1b6
Bump mongodb-driver-sync from 4.5.1 to 4.7.1
Bumps [mongodb-driver-sync](https://github.com/mongodb/mongo-java-driver) from 4.5.1 to 4.7.1.
- [Release notes](https://github.com/mongodb/mongo-java-driver/releases)
- [Commits](https://github.com/mongodb/mongo-java-driver/compare/r4.5.1...r4.7.1)

---
updated-dependencies:
- dependency-name: org.mongodb:mongodb-driver-sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 13:04:33 +00:00
dependabot[bot]
7f40b104e7
Bump maven-model from 3.8.5 to 3.8.6
Bumps [maven-model](https://github.com/apache/maven) from 3.8.5 to 3.8.6.
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.8.5...maven-3.8.6)

---
updated-dependencies:
- dependency-name: org.apache.maven:maven-model
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 13:02:42 +00:00
dependabot[bot]
3677ac051d
Bump discord-webhooks from 0.8.0 to 0.8.2
Bumps [discord-webhooks](https://github.com/MinnDevelopment/discord-webhooks) from 0.8.0 to 0.8.2.
- [Release notes](https://github.com/MinnDevelopment/discord-webhooks/releases)
- [Commits](https://github.com/MinnDevelopment/discord-webhooks/commits)

---
updated-dependencies:
- dependency-name: club.minnced:discord-webhooks
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 13:02:31 +00:00
Skidder
8973f778c1
Merge pull request #718 from BBN-Holding/greg-dev
Bump Dependencies
2022-04-04 04:24:25 +02:00
Skidder
11fce9102a
Merge pull request #717 from BBN-Holding/dependabot/maven/greg-dev/org.json-json-20220320
Bump json from 20210307 to 20220320
2022-04-04 04:23:39 +02:00
Skidder
6ab56c8fad
Merge pull request #716 from BBN-Holding/dependabot/maven/greg-dev/org.apache.maven-maven-model-3.8.5
Bump maven-model from 3.8.2 to 3.8.5
2022-04-04 04:23:32 +02:00
Skidder
847a489024
Merge pull request #715 from BBN-Holding/dependabot/maven/greg-dev/org.mongodb-mongodb-driver-sync-4.5.1
Bump mongodb-driver-sync from 4.3.2 to 4.5.1
2022-04-04 04:23:24 +02:00
Skidder
7824e51028
Merge pull request #714 from BBN-Holding/dependabot/maven/greg-dev/club.minnced-discord-webhooks-0.8.0
Bump discord-webhooks from 0.5.8 to 0.8.0
2022-04-04 04:23:15 +02:00
Skidder
10ca88fb1f
Merge pull request #713 from BBN-Holding/dependabot/maven/greg-dev/org.kohsuke-github-api-1.303
Bump github-api from 1.133 to 1.303
2022-04-04 04:23:08 +02:00
Skidder
957e3fa779
Merge pull request #711 from BBN-Holding/dependabot/maven/greg-dev/org.slf4j-slf4j-simple-1.7.36
Bump slf4j-simple from 1.7.32 to 1.7.36
2022-04-04 04:22:43 +02:00
Skidder
cbd336f624
Merge pull request #706 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.4.0_352
Bump JDA from 4.3.0_331 to 4.4.0_352
2022-04-04 04:22:34 +02:00
dependabot[bot]
50fb8578fc
Bump json from 20210307 to 20220320
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20210307 to 20220320.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 13:01:25 +00:00
dependabot[bot]
8ff17d181b
Bump maven-model from 3.8.2 to 3.8.5
Bumps [maven-model](https://github.com/apache/maven) from 3.8.2 to 3.8.5.
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.8.2...maven-3.8.5)

---
updated-dependencies:
- dependency-name: org.apache.maven:maven-model
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 13:01:22 +00:00
dependabot[bot]
fb72352bca
Bump mongodb-driver-sync from 4.3.2 to 4.5.1
Bumps [mongodb-driver-sync](https://github.com/mongodb/mongo-java-driver) from 4.3.2 to 4.5.1.
- [Release notes](https://github.com/mongodb/mongo-java-driver/releases)
- [Commits](https://github.com/mongodb/mongo-java-driver/compare/r4.3.2...r4.5.1)

---
updated-dependencies:
- dependency-name: org.mongodb:mongodb-driver-sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 13:01:19 +00:00
dependabot[bot]
1c98eb6271
Bump discord-webhooks from 0.5.8 to 0.8.0
Bumps [discord-webhooks](https://github.com/MinnDevelopment/discord-webhooks) from 0.5.8 to 0.8.0.
- [Release notes](https://github.com/MinnDevelopment/discord-webhooks/releases)
- [Commits](https://github.com/MinnDevelopment/discord-webhooks/commits)

---
updated-dependencies:
- dependency-name: club.minnced:discord-webhooks
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 13:01:13 +00:00
dependabot[bot]
cf8a96b4a6
Bump github-api from 1.133 to 1.303
Bumps [github-api](https://github.com/hub4j/github-api) from 1.133 to 1.303.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.133...github-api-1.303)

---
updated-dependencies:
- dependency-name: org.kohsuke:github-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 13:01:12 +00:00
dependabot[bot]
199faf028a
Bump slf4j-simple from 1.7.32 to 1.7.36
Bumps [slf4j-simple](https://github.com/qos-ch/slf4j) from 1.7.32 to 1.7.36.
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.32...v_1.7.36)

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-simple
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 13:01:51 +00:00
dependabot[bot]
78990c6024
Bump JDA from 4.3.0_331 to 4.4.0_352
Bumps JDA from 4.3.0_331 to 4.4.0_352.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 13:02:17 +00:00
Skidder
2ef06dc681
Merge pull request #696 from BBN-Holding/greg-dev
v2.0.4
2021-10-09 10:54:09 -05:00
Skidder
f22d4b9d5f
Update pom.xml 2021-10-09 10:53:55 -05:00
Skidder
53ef051937
Merge pull request #688 from BBN-Holding/dependabot/maven/greg-dev/club.minnced-discord-webhooks-0.5.8
Bump discord-webhooks from 0.5.7 to 0.5.8
2021-10-09 10:51:10 -05:00
Skidder
26b1e04059
Merge pull request #691 from BBN-Holding/dependabot/maven/greg-dev/org.apache.maven-maven-model-3.8.2
Bump maven-model from 3.8.1 to 3.8.2
2021-10-09 10:51:01 -05:00
Skidder
2a669e3167
Merge pull request #693 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.3.0_331
Bump JDA from 4.3.0_298 to 4.3.0_331
2021-10-09 10:50:53 -05:00
Skidder
6f7ec411e6
Merge pull request #694 from BBN-Holding/dependabot/maven/greg-dev/org.mongodb-mongodb-driver-sync-4.3.2
Bump mongodb-driver-sync from 4.3.0 to 4.3.2
2021-10-09 10:50:41 -05:00
Skidder
e818ae3aa5
Merge pull request #695 from BBN-Holding/dependabot/maven/greg-dev/org.kohsuke-github-api-1.133
Bump github-api from 1.132 to 1.133
2021-10-09 10:50:32 -05:00
dependabot[bot]
7a480f030f
Bump github-api from 1.132 to 1.133
Bumps [github-api](https://github.com/hub4j/github-api) from 1.132 to 1.133.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.132...github-api-1.133)

---
updated-dependencies:
- dependency-name: org.kohsuke:github-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 13:01:17 +00:00
dependabot[bot]
fd8645d2b9
Bump mongodb-driver-sync from 4.3.0 to 4.3.2
Bumps [mongodb-driver-sync](https://github.com/mongodb/mongo-java-driver) from 4.3.0 to 4.3.2.
- [Release notes](https://github.com/mongodb/mongo-java-driver/releases)
- [Commits](https://github.com/mongodb/mongo-java-driver/compare/r4.3.0...r4.3.2)

---
updated-dependencies:
- dependency-name: org.mongodb:mongodb-driver-sync
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 13:01:13 +00:00
dependabot[bot]
5baf6a411e
Bump JDA from 4.3.0_298 to 4.3.0_331
Bumps JDA from 4.3.0_298 to 4.3.0_331.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 13:01:07 +00:00
dependabot[bot]
a1ac5987a1
Bump maven-model from 3.8.1 to 3.8.2
Bumps [maven-model](https://github.com/apache/maven) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.8.1...maven-3.8.2)

---
updated-dependencies:
- dependency-name: org.apache.maven:maven-model
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 13:01:45 +00:00
dependabot[bot]
83de6a5013
Bump discord-webhooks from 0.5.7 to 0.5.8
Bumps [discord-webhooks](https://github.com/MinnDevelopment/discord-webhooks) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/MinnDevelopment/discord-webhooks/releases)
- [Commits](https://github.com/MinnDevelopment/discord-webhooks/commits)

---
updated-dependencies:
- dependency-name: club.minnced:discord-webhooks
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-01 13:08:33 +00:00
Skidder
d677c993e7
Merge pull request #687 from BBN-Holding/greg-dev
v2.0.3
2021-07-23 21:26:39 +02:00
Skidder
0acad735c6
Update pom.xml 2021-07-23 21:25:41 +02:00
Skidder
f120fd36cd
Merge pull request #686 from BBN-Holding/dependabot/maven/greg-dev/org.kohsuke-github-api-1.132
Bump github-api from 1.131 to 1.132
2021-07-23 21:25:07 +02:00
dependabot[bot]
78444645ab
Bump github-api from 1.131 to 1.132
Bumps [github-api](https://github.com/hub4j/github-api) from 1.131 to 1.132.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.131...github-api-1.132)

---
updated-dependencies:
- dependency-name: org.kohsuke:github-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-23 13:09:15 +00:00
Skidder
cc71e2746d
Update dependabot.yml 2021-07-21 23:20:32 +02:00
Skidder
c3b6a9dfea
Merge pull request #685 from BBN-Holding/master
Sync with master
2021-07-21 23:20:14 +02:00
Skidder
e1559924f5
Merge pull request #683 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.3.0_298
Bump JDA from 4.3.0_296 to 4.3.0_298
2021-07-21 23:18:01 +02:00
Skidder
0d5202ee17
Merge pull request #684 from BBN-Holding/dependabot/maven/greg-dev/org.slf4j-slf4j-simple-1.7.32
Bump slf4j-simple from 1.7.31 to 1.7.32
2021-07-21 23:17:53 +02:00
dependabot[bot]
d221cb34f2
Bump slf4j-simple from 1.7.31 to 1.7.32
Bumps [slf4j-simple](https://github.com/qos-ch/slf4j) from 1.7.31 to 1.7.32.
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/commits)

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-simple
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-20 13:07:37 +00:00
dependabot[bot]
f9c7d94bff
Bump JDA from 4.3.0_296 to 4.3.0_298
Bumps JDA from 4.3.0_296 to 4.3.0_298.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 13:12:54 +00:00
Skidder
74ebc2630d
Merge pull request #682 from BBN-Holding/dependabot/maven/greg-dev/org.mongodb-mongodb-driver-sync-4.3.0
Bump mongodb-driver-sync from 4.2.3 to 4.3.0
2021-07-14 16:16:11 +02:00
dependabot[bot]
f9b2b68405
Bump mongodb-driver-sync from 4.2.3 to 4.3.0
Bumps [mongodb-driver-sync](https://github.com/mongodb/mongo-java-driver) from 4.2.3 to 4.3.0.
- [Release notes](https://github.com/mongodb/mongo-java-driver/releases)
- [Commits](https://github.com/mongodb/mongo-java-driver/compare/r4.2.3...r4.3.0)

---
updated-dependencies:
- dependency-name: org.mongodb:mongodb-driver-sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 13:08:32 +00:00
Skidder
b68db933d8
Merge pull request #681 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.3.0_296
Bump JDA from 4.3.0_289 to 4.3.0_296
2021-07-13 19:15:52 +02:00
dependabot[bot]
9e009e058e
Bump JDA from 4.3.0_289 to 4.3.0_296
Bumps JDA from 4.3.0_289 to 4.3.0_296.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 13:13:17 +00:00
Skidder
f07f016340
Merge pull request #677 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.3.0_289
Bump JDA from 4.3.0_288 to 4.3.0_289
2021-07-01 15:46:02 +02:00
dependabot[bot]
573c1634d2
Bump JDA from 4.3.0_288 to 4.3.0_289
Bumps JDA from 4.3.0_288 to 4.3.0_289.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 13:08:22 +00:00
Skidder
6effeba808
Merge pull request #676 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.3.0_288
Bump JDA from 4.3.0_285 to 4.3.0_288
2021-06-30 15:09:28 +02:00
dependabot[bot]
2c82ecdb72
Bump JDA from 4.3.0_285 to 4.3.0_288
Bumps JDA from 4.3.0_285 to 4.3.0_288.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-30 13:09:16 +00:00
Skidder
008d72abb1
Merge pull request #675 from BBN-Holding/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.78
Bump lavaplayer from 1.3.77 to 1.3.78
2021-06-29 21:00:50 +02:00
dependabot[bot]
f61738539f
Bump lavaplayer from 1.3.77 to 1.3.78
Bumps lavaplayer from 1.3.77 to 1.3.78.

---
updated-dependencies:
- dependency-name: com.sedmelluq:lavaplayer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-29 13:11:03 +00:00
Skidder
595f254d6f
Merge pull request #674 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.3.0_285
Bump JDA from 4.3.0_283 to 4.3.0_285
2021-06-28 16:34:20 +02:00
dependabot[bot]
8cf312cfde
Bump JDA from 4.3.0_283 to 4.3.0_285
Bumps JDA from 4.3.0_283 to 4.3.0_285.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 13:12:17 +00:00
Skidder
452a735cd5
Merge pull request #673 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.3.0_283
Bump JDA from 4.3.0_282 to 4.3.0_283
2021-06-25 15:08:54 +02:00
dependabot[bot]
246e734917
Bump JDA from 4.3.0_282 to 4.3.0_283
Bumps JDA from 4.3.0_282 to 4.3.0_283.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 13:08:41 +00:00
Skidder
c202ae1a9e
Merge pull request #672 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.3.0_282
Bump JDA from 4.3.0_281 to 4.3.0_282
2021-06-23 15:10:14 +02:00
dependabot[bot]
9bc2aed8c5
Bump JDA from 4.3.0_281 to 4.3.0_282
Bumps JDA from 4.3.0_281 to 4.3.0_282.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 13:10:03 +00:00
Skidder
e75eb72d6e
Merge pull request #671 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.3.0_281
Bump JDA from 4.3.0_280 to 4.3.0_281
2021-06-21 20:08:16 +02:00
dependabot[bot]
8e7ec75d30
Bump JDA from 4.3.0_280 to 4.3.0_281
Bumps JDA from 4.3.0_280 to 4.3.0_281.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 13:10:14 +00:00
Skidder
a7fff80e15
Merge pull request #670 from BBN-Holding/dependabot/maven/greg-dev/org.slf4j-slf4j-simple-1.7.31
Bump slf4j-simple from 1.7.30 to 1.7.31
2021-06-18 23:07:48 +02:00
Skidder
9f877bbaf5
Merge pull request #669 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.3.0_280
Bump JDA from 4.3.0_279 to 4.3.0_280
2021-06-18 23:07:43 +02:00
dependabot[bot]
15e2db76f1
Bump slf4j-simple from 1.7.30 to 1.7.31
Bumps [slf4j-simple](https://github.com/qos-ch/slf4j) from 1.7.30 to 1.7.31.
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/commits)

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-simple
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 13:10:32 +00:00
dependabot[bot]
a5352aa557
Bump JDA from 4.3.0_279 to 4.3.0_280
Bumps JDA from 4.3.0_279 to 4.3.0_280.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-17 13:10:48 +00:00
Skidder
16c3cae86b
Merge pull request #668 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.3.0_279
Bump JDA from 4.3.0_277 to 4.3.0_279
2021-06-16 19:03:35 +02:00
Skidder
85fe2291e0
Merge pull request #667 from BBN-Holding/dependabot/maven/greg-dev/org.kohsuke-github-api-1.131
Bump github-api from 1.130 to 1.131
2021-06-16 19:03:30 +02:00
dependabot[bot]
363cec9713
Bump JDA from 4.3.0_277 to 4.3.0_279
Bumps JDA from 4.3.0_277 to 4.3.0_279.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-16 13:09:19 +00:00
dependabot[bot]
5cd3dacce5
Bump github-api from 1.130 to 1.131
Bumps [github-api](https://github.com/hub4j/github-api) from 1.130 to 1.131.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.130...github-api-1.131)

---
updated-dependencies:
- dependency-name: org.kohsuke:github-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-16 13:09:17 +00:00
Skidder
04d82efb54
Merge pull request #665 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.3.0_277
Bump JDA from 4.2.1_272 to 4.3.0_277
2021-06-12 12:27:12 +02:00
dependabot[bot]
94601f0297
Bump JDA from 4.2.1_272 to 4.3.0_277
Bumps JDA from 4.2.1_272 to 4.3.0_277.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 13:07:20 +00:00
Skidder
35985663a9
Merge pull request #662 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.1_272
Bump JDA from 4.2.1_266 to 4.2.1_272
2021-06-07 16:57:07 +02:00
dependabot[bot]
c405228a6d
Bump JDA from 4.2.1_266 to 4.2.1_272
Bumps JDA from 4.2.1_266 to 4.2.1_272.

---
updated-dependencies:
- dependency-name: net.dv8tion:JDA
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 13:08:23 +00:00
Skidder
cdb2dcc936
Merge pull request #660 from BBN-Holding/dependabot/maven/greg-dev/org.kohsuke-github-api-1.130
Bump github-api from 1.129 to 1.130
2021-06-03 16:12:45 +02:00
dependabot[bot]
125858a958
Bump github-api from 1.129 to 1.130
Bumps [github-api](https://github.com/hub4j/github-api) from 1.129 to 1.130.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.129...github-api-1.130)

---
updated-dependencies:
- dependency-name: org.kohsuke:github-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 13:07:09 +00:00
Skidder
069da09920
Merge pull request #659 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.1_266
Bump JDA from 4.2.1_265 to 4.2.1_266
2021-06-01 10:08:24 +02:00
dependabot[bot]
8a741fc26e
Bump JDA from 4.2.1_265 to 4.2.1_266
Bumps JDA from 4.2.1_265 to 4.2.1_266.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 13:09:04 +00:00
Skidder
80fe6c75aa
Merge pull request #657 from BBN-Holding/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.77 2021-05-28 08:17:13 +02:00
dependabot[bot]
c1f8616371
Bump lavaplayer from 1.3.76 to 1.3.77
Bumps lavaplayer from 1.3.76 to 1.3.77.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 13:08:34 +00:00
Skidder
9d802a7c14
Merge pull request #656 from BBN-Holding/dependabot/maven/greg-dev/org.kohsuke-github-api-1.129
Bump github-api from 1.128 to 1.129
2021-05-24 15:09:05 +02:00
dependabot[bot]
eda6d7521c
Bump github-api from 1.128 to 1.129
Bumps [github-api](https://github.com/hub4j/github-api) from 1.128 to 1.129.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.128...github-api-1.129)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 13:07:38 +00:00
Skidder
1bb4de61b7
Merge pull request #655 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.1_265
Bump JDA from 4.2.1_264 to 4.2.1_265
2021-05-20 15:09:13 +02:00
dependabot[bot]
b91b993954
Bump JDA from 4.2.1_264 to 4.2.1_265
Bumps JDA from 4.2.1_264 to 4.2.1_265.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 13:06:26 +00:00
Skidder
c68889c0c4
Merge pull request #654 from BBN-Holding/dependabot/maven/greg-dev/club.minnced-discord-webhooks-0.5.7
Bump discord-webhooks from 0.5.6 to 0.5.7
2021-05-17 16:02:52 +02:00
Skidder
fc60dc23c3
Merge pull request #653 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.1_264
Bump JDA from 4.2.1_262 to 4.2.1_264
2021-05-17 16:02:46 +02:00
dependabot[bot]
29eef12081
Bump discord-webhooks from 0.5.6 to 0.5.7
Bumps [discord-webhooks](https://github.com/MinnDevelopment/discord-webhooks) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/MinnDevelopment/discord-webhooks/releases)
- [Commits](https://github.com/MinnDevelopment/discord-webhooks/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 13:07:20 +00:00
dependabot[bot]
7ed2ff4048
Bump JDA from 4.2.1_262 to 4.2.1_264
Bumps JDA from 4.2.1_262 to 4.2.1_264.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 13:07:16 +00:00
Skidder
2b35024787
Merge pull request #652 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.1_262
Bump JDA from 4.2.1_261 to 4.2.1_262
2021-04-27 16:53:46 +02:00
dependabot[bot]
8c9f8776d0
Bump JDA from 4.2.1_261 to 4.2.1_262
Bumps JDA from 4.2.1_261 to 4.2.1_262.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 13:07:46 +00:00
Skidder
42c6da3056
Merge pull request #651 from BBN-Holding/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.1_261
Bump JDA from 4.2.0_247 to 4.2.1_261
2021-04-26 15:54:42 +02:00
dependabot[bot]
03640d758e
Bump JDA from 4.2.0_247 to 4.2.1_261
Bumps JDA from 4.2.0_247 to 4.2.1_261.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 13:06:37 +00:00
Skidder
28e4a4d28e
Merge pull request #650 from BBN-Holding/greg-dev
Java 15
2021-04-24 20:11:22 +02:00
Greg
25abdae5f8
Java 15 2021-04-24 20:10:19 +02:00
Skidder
71c1b27e71
Merge pull request #649 from BBN-Holding/greg-dev
Uno plugin more
2021-04-24 20:01:56 +02:00
Greg
5a11502df5
Uno plugin more 2021-04-24 20:01:30 +02:00
Skidder
6a39a977de
Merge pull request #648 from BBN-Holding/greg-dev
Testing on prod gang 2
2021-04-24 19:59:55 +02:00
Greg
963df9b514
Testing on prod gang 1 2021-04-24 19:59:28 +02:00
Skidder
d48061d495
Merge pull request #647 from BBN-Holding/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-04-24 19:27:42 +02:00
dependabot-preview[bot]
a6d78b2fcb
Upgrade to GitHub-native Dependabot 2021-04-24 17:25:50 +00:00
Skidder
e94886f4f3
Merge pull request #646 from BBN-Holding/dependabot/maven/greg-dev/org.kohsuke-github-api-1.128
Bump github-api from 1.127 to 1.128
2021-04-23 09:29:30 +02:00
dependabot-preview[bot]
281e0f8ae6
Bump github-api from 1.127 to 1.128
Bumps [github-api](https://github.com/hub4j/github-api) from 1.127 to 1.128.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.127...github-api-1.128)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-22 18:41:08 +00:00
Skidder
ba5757fe05
Merge pull request #644 from BBN-Holding/greg-dev
v2.0.2
2021-04-15 08:20:59 +02:00
Skidder
3a608264f7
Merge pull request #645 from BBN-Holding/dependabot/maven/greg-dev/com.fasterxml.jackson.core-jackson-annotations-2.12.3
Bump jackson-annotations from 2.12.2 to 2.12.3
2021-04-15 08:20:11 +02:00
dependabot-preview[bot]
419bbfed93
Bump jackson-annotations from 2.12.2 to 2.12.3
Bumps [jackson-annotations](https://github.com/FasterXML/jackson) from 2.12.2 to 2.12.3.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 13:35:24 +00:00
Greg
3d6e8cc082
Lil fix 2021-04-11 02:16:30 +02:00
Greg
229b2dc89f
Remove old org name 2021-04-11 02:14:55 +02:00
Greg
01aae9ac17
Bump version 2021-04-11 02:09:39 +02:00
Greg
c5a1881d43
Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2021-04-11 02:09:04 +02:00
Greg
0427689f5d
Catch no permission exception 2021-04-11 02:08:58 +02:00
Skidder
ecda552e8f
Merge pull request #643 from BBN-Holding/dependabot/maven/greg-dev/org.kohsuke-github-api-1.127
Bump github-api from 1.125 to 1.127
2021-04-09 15:38:02 +02:00
dependabot-preview[bot]
5c23a810d0
Bump github-api from 1.125 to 1.127
Bumps [github-api](https://github.com/hub4j/github-api) from 1.125 to 1.127.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.125...github-api-1.127)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-09 13:36:52 +00:00
Skidder
4d06604292
Merge pull request #641 from BBN-Holding/dependabot/maven/greg-dev/org.apache.maven-maven-model-3.8.1
Bump maven-model from 3.6.3 to 3.8.1
2021-04-06 19:13:41 +02:00
Skidder
31cf1612db
Merge pull request #642 from BBN-Holding/dependabot/maven/greg-dev/org.mongodb-mongodb-driver-sync-4.2.3
Bump mongodb-driver-sync from 4.2.2 to 4.2.3
2021-04-06 19:13:37 +02:00
dependabot-preview[bot]
96426febde
Bump mongodb-driver-sync from 4.2.2 to 4.2.3
Bumps [mongodb-driver-sync](https://github.com/mongodb/mongo-java-driver) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/mongodb/mongo-java-driver/releases)
- [Commits](https://github.com/mongodb/mongo-java-driver/compare/r4.2.2...r4.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-06 13:36:34 +00:00
dependabot-preview[bot]
2740c546e6
Bump maven-model from 3.6.3 to 3.8.1
Bumps [maven-model](https://github.com/apache/maven) from 3.6.3 to 3.8.1.
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.6.3...maven-3.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-05 13:19:47 +00:00
Greg
406e92ff1c
Update GitHub 2021-04-05 13:28:36 +02:00
Skidder
6c8b697455
Merge pull request #640 from BigBotNetwork/greg-dev
Prevent error in getByID function
2021-03-29 00:15:21 +02:00
Greg
ca1dd18dfa Bump version 2021-03-27 12:27:56 +01:00
Greg
b308a8bc25 Prevent error in getByID function 2021-03-27 12:26:52 +01:00
Skidder
162efd08f6
Merge pull request #639 from BigBotNetwork/greg-dev
Quick hotfix
2021-03-26 16:24:40 +01:00
Greg
5c5a53fdd2 Quick hotfix 2021-03-26 16:24:24 +01:00
Skidder
2892ac5a8a
Merge pull request #634 from BigBotNetwork/greg-dev
Major Version Release
2021-03-26 16:14:13 +01:00
Greg
0553e9fe98 Prevent error and remove db spamming 2021-03-26 16:12:14 +01:00
Greg
5cb7d83e00 Disable not needed caching 2021-03-26 15:36:30 +01:00
Greg
89146c9594 Remove privileged gateway intents 2021-03-26 15:33:36 +01:00
Greg
64eaee9a25 Simplify database stuff 2021-03-26 15:33:24 +01:00
Skidder
2747184924
Merge pull request #638 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.125
Bump github-api from 1.124 to 1.125
2021-03-26 15:28:29 +01:00
Greg
ac58acb802 Remove Rethink error catching 2021-03-26 15:26:44 +01:00
Greg
6735336e23 Add port 2021-03-26 15:18:00 +01:00
Greg
d6109a767e Finally move to MongoDB 2021-03-26 15:17:17 +01:00
dependabot-preview[bot]
92903f3fbd
Bump github-api from 1.124 to 1.125
Bumps [github-api](https://github.com/hub4j/github-api) from 1.124 to 1.125.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.124...github-api-1.125)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-26 13:27:18 +00:00
Skidder
8142e592e1
Merge pull request #637 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_247
Bump JDA from 4.2.0_246 to 4.2.0_247
2021-03-23 15:42:55 +01:00
dependabot-preview[bot]
130845ed68
Bump JDA from 4.2.0_246 to 4.2.0_247
Bumps JDA from 4.2.0_246 to 4.2.0_247.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 14:42:44 +00:00
Skidder
ae0703e2ca
Merge pull request #636 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_246
Bump JDA from 4.2.0_242 to 4.2.0_246
2021-03-22 14:31:04 +01:00
Skidder
30b283dffc
Merge pull request #635 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.124
Bump github-api from 1.123 to 1.124
2021-03-22 14:30:58 +01:00
dependabot-preview[bot]
096573bbc4
Bump JDA from 4.2.0_242 to 4.2.0_246
Bumps JDA from 4.2.0_242 to 4.2.0_246.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-22 13:15:54 +00:00
dependabot-preview[bot]
b0e2696162
Bump github-api from 1.123 to 1.124
Bumps [github-api](https://github.com/hub4j/github-api) from 1.123 to 1.124.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.123...github-api-1.124)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-22 13:15:38 +00:00
Greg
09bf327640 Remove no longer active bot lists 2021-03-20 10:32:10 +01:00
Greg
53fc632cea Remove privileged intents 2021-03-20 10:28:07 +01:00
Greg
ab04197641 Update copyright year 2021-03-20 00:43:36 +01:00
Greg
68d2ffbf8e Big move 2021-03-20 00:38:19 +01:00
Skidder
3af0867311
Merge pull request #633 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_242
Bump JDA from 4.2.0_241 to 4.2.0_242
2021-03-19 22:21:15 +01:00
dependabot-preview[bot]
9979b986d2
Bump JDA from 4.2.0_241 to 4.2.0_242
Bumps JDA from 4.2.0_241 to 4.2.0_242.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-19 13:33:12 +00:00
Skidder
a28dce1853
Merge pull request #632 from BigBotNetwork/dependabot/maven/greg-dev/club.minnced-discord-webhooks-0.5.6
Bump discord-webhooks from 0.5.4 to 0.5.6
2021-03-15 14:31:28 +01:00
dependabot-preview[bot]
a75daeb528
Bump discord-webhooks from 0.5.4 to 0.5.6
Bumps [discord-webhooks](https://github.com/MinnDevelopment/discord-webhooks) from 0.5.4 to 0.5.6.
- [Release notes](https://github.com/MinnDevelopment/discord-webhooks/releases)
- [Commits](https://github.com/MinnDevelopment/discord-webhooks/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-15 13:31:17 +00:00
Skidder
bda3745505
Merge pull request #626 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_241
Bump JDA from 4.2.0_240 to 4.2.0_241
2021-03-11 15:08:33 +01:00
dependabot-preview[bot]
193a9e75e4
Bump JDA from 4.2.0_240 to 4.2.0_241
Bumps JDA from 4.2.0_240 to 4.2.0_241.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-11 13:36:05 +00:00
Skidder
26ce5fa1c8
Merge pull request #625 from BigBotNetwork/dependabot/maven/greg-dev/org.json-json-20210307
Bump json from 20201115 to 20210307
2021-03-10 14:17:08 +01:00
dependabot-preview[bot]
f6dc9ec5d1
Bump json from 20201115 to 20210307
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20201115 to 20210307.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-10 13:16:57 +00:00
Skidder
40788383ff
Merge pull request #624 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_240
Bump JDA from 4.2.0_239 to 4.2.0_240
2021-03-10 14:16:45 +01:00
dependabot-preview[bot]
dc3b28ce5d
Bump JDA from 4.2.0_239 to 4.2.0_240
Bumps JDA from 4.2.0_239 to 4.2.0_240.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-10 13:16:33 +00:00
Skidder
35ac2de233
Merge pull request #623 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_239
Bump JDA from 4.2.0_236 to 4.2.0_239
2021-03-09 14:23:05 +01:00
dependabot-preview[bot]
ce3e3741cc
Bump JDA from 4.2.0_236 to 4.2.0_239
Bumps JDA from 4.2.0_236 to 4.2.0_239.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-09 13:22:55 +00:00
Skidder
0cb46d4935
Merge pull request #622 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_236
Bump JDA from 4.2.0_231 to 4.2.0_236
2021-03-08 18:55:51 +01:00
Skidder
a24e769c30
Merge pull request #621 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.73
Bump lavaplayer from 1.3.72 to 1.3.73
2021-03-08 18:55:36 +01:00
dependabot-preview[bot]
300121fbe3
Bump JDA from 4.2.0_231 to 4.2.0_236
Bumps JDA from 4.2.0_231 to 4.2.0_236.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 13:15:33 +00:00
dependabot-preview[bot]
e5123a9947
Bump lavaplayer from 1.3.72 to 1.3.73
Bumps lavaplayer from 1.3.72 to 1.3.73.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 13:15:01 +00:00
Skidder
f918ea18eb
Merge pull request #620 from BigBotNetwork/greg-dev
Fix typo
2021-03-05 09:06:31 +01:00
Skidder
2b4848577f
Fix typo 2021-03-05 09:06:11 +01:00
Skidder
6f785661e3
Merge pull request #619 from BigBotNetwork/greg-dev
New version
2021-03-05 09:04:12 +01:00
Skidder
be3396002e
Bump Action Versions 2021-03-05 09:04:00 +01:00
Skidder
c22bd793df
Update version + bump Java 2021-03-05 08:59:56 +01:00
Skidder
8493e8fa75
Merge pull request #618 from BigBotNetwork/dependabot/maven/greg-dev/com.fasterxml.jackson.core-jackson-annotations-2.12.2
Bump jackson-annotations from 2.12.1 to 2.12.2
2021-03-04 14:55:25 +01:00
Skidder
9cb51bb885
Merge pull request #617 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_231
Bump JDA from 4.2.0_230 to 4.2.0_231
2021-03-04 14:55:20 +01:00
dependabot-preview[bot]
72128884bf
Bump jackson-annotations from 2.12.1 to 2.12.2
Bumps [jackson-annotations](https://github.com/FasterXML/jackson) from 2.12.1 to 2.12.2.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-04 13:33:30 +00:00
dependabot-preview[bot]
b4ac77f5b7
Bump JDA from 4.2.0_230 to 4.2.0_231
Bumps JDA from 4.2.0_230 to 4.2.0_231.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-04 13:33:05 +00:00
Skidder
c875911021
Merge pull request #616 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_230
Bump JDA from 4.2.0_229 to 4.2.0_230
2021-03-03 14:25:12 +01:00
Skidder
4f7cc97bdc
Merge pull request #615 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.72
Bump lavaplayer from 1.3.71 to 1.3.72
2021-03-03 14:25:04 +01:00
dependabot-preview[bot]
69e6d0f7c6
Bump JDA from 4.2.0_229 to 4.2.0_230
Bumps JDA from 4.2.0_229 to 4.2.0_230.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-03 13:25:00 +00:00
dependabot-preview[bot]
bfdf4f37d8
Bump lavaplayer from 1.3.71 to 1.3.72
Bumps lavaplayer from 1.3.71 to 1.3.72.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-03 13:24:37 +00:00
Skidder
d4a7e2b348
Merge pull request #614 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.123
Bump github-api from 1.122 to 1.123
2021-03-02 14:14:12 +01:00
dependabot-preview[bot]
ed9f8b9e15
Bump github-api from 1.122 to 1.123
Bumps [github-api](https://github.com/hub4j/github-api) from 1.122 to 1.123.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.122...github-api-1.123)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 18:19:36 +00:00
Skidder
8b1697b5e3
Merge pull request #613 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_229
Bump JDA from 4.2.0_228 to 4.2.0_229
2021-02-26 14:30:19 +01:00
dependabot-preview[bot]
33fb98e9bb
Bump JDA from 4.2.0_228 to 4.2.0_229
Bumps JDA from 4.2.0_228 to 4.2.0_229.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 13:15:45 +00:00
Skidder
3a7daa069a
Merge pull request #612 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.71
Bump lavaplayer from 1.3.67 to 1.3.71
2021-02-15 16:47:42 +01:00
dependabot-preview[bot]
33fb3d6768
Bump lavaplayer from 1.3.67 to 1.3.71
Bumps lavaplayer from 1.3.67 to 1.3.71.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 13:14:42 +00:00
Skidder
8ea8225417
Merge pull request #611 from BigBotNetwork/greg-dev
v1.3.25
2021-02-14 01:32:36 +01:00
Greg
b2e7001316 Migrate to new domain 2021-02-14 01:31:56 +01:00
Skidder
68cae30881
Merge pull request #610 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_228
Bump JDA from 4.2.0_227 to 4.2.0_228
2021-02-10 14:27:01 +01:00
dependabot-preview[bot]
ba6d58961b
Bump JDA from 4.2.0_227 to 4.2.0_228
Bumps JDA from 4.2.0_227 to 4.2.0_228.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-10 13:24:07 +00:00
Skidder
146dab68dd
Merge pull request #609 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.67
Bump lavaplayer from 1.3.66 to 1.3.67
2021-02-01 15:01:12 +01:00
dependabot-preview[bot]
6f69aa4921
Bump lavaplayer from 1.3.66 to 1.3.67
Bumps lavaplayer from 1.3.66 to 1.3.67.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 14:01:00 +00:00
Greg
06fd342049 Bump version 2021-01-31 14:02:12 +01:00
Skidder
a3d4e5f44a
Merge pull request #608 from BigBotNetwork/greg-dev
New pm listener
2021-01-17 13:47:57 +01:00
Greg
deea115da8 Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2021-01-17 13:29:58 +01:00
Greg
bdb1b357da Improve private message listener 2021-01-17 13:29:53 +01:00
Skidder
97e30ecbbf
Merge pull request #607 from BigBotNetwork/master
Gimme some code
2021-01-17 13:17:41 +01:00
Skidder
ba8cec0b51
Merge pull request #606 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.122
Bump github-api from 1.119 to 1.122
2021-01-15 15:03:27 +01:00
dependabot-preview[bot]
72b1be5fb4
Bump github-api from 1.119 to 1.122
Bumps [github-api](https://github.com/hub4j/github-api) from 1.119 to 1.122.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.119...github-api-1.122)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-15 13:21:15 +00:00
Skidder
255723f08d
Merge pull request #605 from BigBotNetwork/greg-dev
Bump versions
2021-01-15 09:10:26 +01:00
Schlauer-Hax
543d481b8b Improved MoveAllCommand 2021-01-13 10:52:55 +01:00
Skidder
7595021c81
Merge pull request #603 from BigBotNetwork/dependabot/maven/greg-dev/com.fasterxml.jackson.core-jackson-annotations-2.12.1
Bump jackson-annotations from 2.12.0 to 2.12.1
2021-01-11 14:54:33 +01:00
Skidder
a0cda209c2
Merge pull request #604 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_227
Bump JDA from 4.2.0_225 to 4.2.0_227
2021-01-11 14:54:27 +01:00
dependabot-preview[bot]
b175e56e56
Bump JDA from 4.2.0_225 to 4.2.0_227
Bumps JDA from 4.2.0_225 to 4.2.0_227.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 13:17:19 +00:00
dependabot-preview[bot]
c671573c80
Bump jackson-annotations from 2.12.0 to 2.12.1
Bumps [jackson-annotations](https://github.com/FasterXML/jackson) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 13:17:08 +00:00
Skidder
296a938e34
Merge pull request #602 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.119
Bump github-api from 1.118 to 1.119
2021-01-06 14:59:36 +01:00
dependabot-preview[bot]
e8064daf2f
Bump github-api from 1.118 to 1.119
Bumps [github-api](https://github.com/hub4j/github-api) from 1.118 to 1.119.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.118...github-api-1.119)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-06 13:59:23 +00:00
Skidder
0a360344fb
Merge pull request #601 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.118
Bump github-api from 1.117 to 1.118
2021-01-04 15:18:57 +01:00
dependabot-preview[bot]
ea4a5b8637
Bump github-api from 1.117 to 1.118
Bumps [github-api](https://github.com/hub4j/github-api) from 1.117 to 1.118.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.117...github-api-1.118)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 13:18:29 +00:00
Skidder
e9ba6542a1
Merge pull request #600 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_225
Bump JDA from 4.2.0_224 to 4.2.0_225
2020-12-31 14:42:24 +01:00
Skidder
89c990554d
Merge pull request #599 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.66
Bump lavaplayer from 1.3.65 to 1.3.66
2020-12-31 14:42:14 +01:00
dependabot-preview[bot]
dfc97ef593
Bump JDA from 4.2.0_224 to 4.2.0_225
Bumps JDA from 4.2.0_224 to 4.2.0_225.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-31 13:42:09 +00:00
dependabot-preview[bot]
6ce62d55e0
Bump lavaplayer from 1.3.65 to 1.3.66
Bumps lavaplayer from 1.3.65 to 1.3.66.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-31 13:41:47 +00:00
Skidder
75182dba10
Merge pull request #598 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_224
Bump JDA from 4.2.0_223 to 4.2.0_224
2020-12-28 14:30:45 +01:00
dependabot-preview[bot]
dd2350c2a0
Bump JDA from 4.2.0_223 to 4.2.0_224
Bumps JDA from 4.2.0_223 to 4.2.0_224.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-28 13:21:50 +00:00
Skidder
fb129559fa
Merge pull request #595 from BigBotNetwork/dependabot/maven/greg-dev/club.minnced-discord-webhooks-0.5.4
Bump discord-webhooks from 0.5.3 to 0.5.4
2020-12-21 14:33:48 +01:00
Skidder
8b001a53ba
Merge pull request #596 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.65
Bump lavaplayer from 1.3.64 to 1.3.65
2020-12-21 14:33:43 +01:00
Skidder
e06634b74c
Merge pull request #597 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_223
Bump JDA from 4.2.0_222 to 4.2.0_223
2020-12-21 14:33:19 +01:00
dependabot-preview[bot]
76c7dfe078
Bump JDA from 4.2.0_222 to 4.2.0_223
Bumps JDA from 4.2.0_222 to 4.2.0_223.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 13:17:08 +00:00
dependabot-preview[bot]
c6fd963db1
Bump lavaplayer from 1.3.64 to 1.3.65
Bumps lavaplayer from 1.3.64 to 1.3.65.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 13:16:43 +00:00
dependabot-preview[bot]
fd14ec18a2
Bump discord-webhooks from 0.5.3 to 0.5.4
Bumps discord-webhooks from 0.5.3 to 0.5.4.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 13:16:19 +00:00
Skidder
3f2cbee6b8
Merge pull request #592 from BigBotNetwork/greg-dev
Create Issue Files
2020-12-19 23:44:30 +01:00
Skidder
a757d51a60
Merge pull request #594 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.64
Bump lavaplayer from 1.3.63 to 1.3.64
2020-12-18 14:38:04 +01:00
dependabot-preview[bot]
2c85286414
Bump lavaplayer from 1.3.63 to 1.3.64
Bumps lavaplayer from 1.3.63 to 1.3.64.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-18 13:37:22 +00:00
Skidder
a2afb31ec6
Create feature_request.md 2020-12-18 09:12:51 +01:00
Skidder
8a9b4c529f
Create config.yml 2020-12-18 09:10:33 +01:00
Skidder
24854897ec
Merge pull request #591 from BigBotNetwork/greg-dev
Bump versions and prevent error
2020-12-18 09:06:17 +01:00
Skidder
9e8bd70a4b
Merge pull request #590 from BigBotNetwork/dependabot/maven/greg-dev/club.minnced-discord-webhooks-0.5.3
Bump discord-webhooks from 0.5.0 to 0.5.3
2020-12-14 15:14:33 +01:00
dependabot-preview[bot]
f64ca9a29a
Bump discord-webhooks from 0.5.0 to 0.5.3
Bumps discord-webhooks from 0.5.0 to 0.5.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 14:12:39 +00:00
Skidder
09fbb7890c
Merge pull request #588 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.63
Bump lavaplayer from 1.3.62 to 1.3.63
2020-12-02 14:37:44 +01:00
dependabot-preview[bot]
195a8939fb
Bump lavaplayer from 1.3.62 to 1.3.63
Bumps lavaplayer from 1.3.62 to 1.3.63.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-02 13:37:24 +00:00
Skidder
d32f3701fd
Merge pull request #586 from BigBotNetwork/dependabot/maven/greg-dev/com.fasterxml.jackson.core-jackson-annotations-2.12.0
Bump jackson-annotations from 2.11.3 to 2.12.0
2020-11-30 14:49:57 +01:00
Skidder
43cc708223
Merge pull request #587 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.62
Bump lavaplayer from 1.3.61 to 1.3.62
2020-11-30 14:49:51 +01:00
dependabot-preview[bot]
3fd83e6637
Bump lavaplayer from 1.3.61 to 1.3.62
Bumps lavaplayer from 1.3.61 to 1.3.62.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 13:16:01 +00:00
dependabot-preview[bot]
b9e39124da
Bump jackson-annotations from 2.11.3 to 2.12.0
Bumps [jackson-annotations](https://github.com/FasterXML/jackson) from 2.11.3 to 2.12.0.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 13:15:39 +00:00
Skidder
10c8f8c279
Merge pull request #585 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.117
Bump github-api from 1.116 to 1.117
2020-11-25 14:20:22 +01:00
dependabot-preview[bot]
a24cb12aab
Bump github-api from 1.116 to 1.117
Bumps [github-api](https://github.com/hub4j/github-api) from 1.116 to 1.117.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.116...github-api-1.117)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-25 13:20:08 +00:00
Skidder
c83d0c9b23
Merge pull request #584 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_222
Bump JDA from 4.2.0_221 to 4.2.0_222
2020-11-24 14:29:23 +01:00
dependabot-preview[bot]
352eba5565 Bump JDA from 4.2.0_221 to 4.2.0_222
Bumps JDA from 4.2.0_221 to 4.2.0_222.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 13:26:35 +00:00
Skidder
76617a9913
Merge pull request #583 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_221
Bump JDA from 4.2.0_218 to 4.2.0_221
2020-11-23 15:55:17 +01:00
dependabot-preview[bot]
2625889d8d
Bump JDA from 4.2.0_218 to 4.2.0_221
Bumps JDA from 4.2.0_218 to 4.2.0_221.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 13:15:16 +00:00
Greg
9ff8b81517 Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2020-11-20 22:02:57 +01:00
Greg
703fecf8b8 Prevent bug 2020-11-20 22:02:51 +01:00
Skidder
bca1b11d70
Merge pull request #582 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_218
Bump JDA from 4.2.0_217 to 4.2.0_218
2020-11-19 14:27:49 +01:00
Skidder
0d8be5a478
Merge pull request #581 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.61
Bump lavaplayer from 1.3.60 to 1.3.61
2020-11-19 14:27:30 +01:00
dependabot-preview[bot]
8e7ae1db06
Bump JDA from 4.2.0_217 to 4.2.0_218
Bumps JDA from 4.2.0_217 to 4.2.0_218.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-19 13:27:30 +00:00
dependabot-preview[bot]
f86f420adb
Bump lavaplayer from 1.3.60 to 1.3.61
Bumps lavaplayer from 1.3.60 to 1.3.61.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-19 13:27:09 +00:00
Skidder
a334681f06
Merge pull request #580 from BigBotNetwork/greg-dev
Trying to prevent error
2020-11-19 00:52:16 +01:00
Greg
56a52b2763 Trying to prevent error 2020-11-19 00:49:31 +01:00
Skidder
10c8667f8b
Merge pull request #579 from BigBotNetwork/greg-dev
Out-comment bot list section
2020-11-18 02:46:43 +01:00
Greg
29593e7861 Out-comment bot list section 2020-11-18 02:46:18 +01:00
Skidder
82652e45f7
Merge pull request #578 from BigBotNetwork/greg-dev
Implement important error logging
2020-11-18 02:42:12 +01:00
Greg
b237fcc9e3 Implement important error logging 2020-11-18 02:40:44 +01:00
Skidder
fe70972e19
Merge pull request #577 from BigBotNetwork/greg-dev
Update wrong version
2020-11-18 02:39:47 +01:00
Skidder
0e8e32d31d
Update pom.xml 2020-11-18 02:39:19 +01:00
Skidder
94c78bea55
Merge pull request #576 from BigBotNetwork/greg-dev
Code clean up
2020-11-17 22:02:47 +01:00
Skidder
9e40e3d19c
Update pom.xml 2020-11-17 22:00:00 +01:00
Greg
02dd6a5d39 Clean up code 2020-11-17 21:57:32 +01:00
Skidder
cb85df34af
Merge pull request #575 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_217
Bump JDA from 4.2.0_215 to 4.2.0_217
2020-11-17 14:24:38 +01:00
Skidder
2104810692
Merge pull request #574 from BigBotNetwork/dependabot/maven/greg-dev/org.json-json-20201115
Bump json from 20200518 to 20201115
2020-11-17 14:18:20 +01:00
dependabot-preview[bot]
08d6382411
Bump JDA from 4.2.0_215 to 4.2.0_217
Bumps JDA from 4.2.0_215 to 4.2.0_217.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-17 13:18:20 +00:00
dependabot-preview[bot]
f2f9abfdd0
Bump json from 20200518 to 20201115
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20200518 to 20201115.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-17 13:18:01 +00:00
Skidder
c96a4af95f
Merge pull request #573 from BigBotNetwork/greg-dev
Merge greg-dev to master
2020-11-16 18:10:46 +01:00
Greg
f48636d98b Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2020-11-16 18:09:29 +01:00
Greg
cf923c43cf Fix private message listener 2020-11-16 18:09:24 +01:00
Skidder
767786846c
Merge pull request #572 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_215
Bump JDA from 4.2.0_214 to 4.2.0_215
2020-11-13 14:22:44 +01:00
dependabot-preview[bot]
130f1083c6
Bump JDA from 4.2.0_214 to 4.2.0_215
Bumps JDA from 4.2.0_214 to 4.2.0_215.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-13 13:21:42 +00:00
Skidder
bf4e07bebe
Merge pull request #571 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.60
Bump lavaplayer from 1.3.59 to 1.3.60
2020-11-11 14:21:14 +01:00
dependabot-preview[bot]
741bbb7399
Bump lavaplayer from 1.3.59 to 1.3.60
Bumps lavaplayer from 1.3.59 to 1.3.60.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-11 13:21:00 +00:00
Skidder
ef16fbc686
Merge pull request #570 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.59
Bump lavaplayer from 1.3.58 to 1.3.59
2020-11-09 14:29:15 +01:00
dependabot-preview[bot]
c11c75bfd3
Bump lavaplayer from 1.3.58 to 1.3.59
Bumps lavaplayer from 1.3.58 to 1.3.59.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 13:15:46 +00:00
Skidder
a597c1dd0e
Merge pull request #569 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.58
Bump lavaplayer from 1.3.55 to 1.3.58
2020-11-06 15:32:56 +01:00
dependabot-preview[bot]
3f472bdc40
Bump lavaplayer from 1.3.55 to 1.3.58
Bumps lavaplayer from 1.3.55 to 1.3.58.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-06 13:27:32 +00:00
Skidder
9dd30c883d
Merge pull request #568 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.55
Bump lavaplayer from 1.3.54 to 1.3.55
2020-11-02 14:50:06 +01:00
dependabot-preview[bot]
9bbb319808
Bump lavaplayer from 1.3.54 to 1.3.55
Bumps lavaplayer from 1.3.54 to 1.3.55.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 13:14:09 +00:00
Skidder
86e9259ad1
Merge pull request #567 from BigBotNetwork/greg-dev
v1.3.21
2020-11-01 14:41:54 +01:00
Greg
2cbb78af39 Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2020-11-01 14:39:36 +01:00
Greg
b17c944508 Fix 2020-11-01 14:39:34 +01:00
Skidder
6a8fa3028a
Merge pull request #565 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_214
Bump JDA from 4.2.0_212 to 4.2.0_214
2020-10-30 15:40:15 +01:00
Skidder
be5b9896db
Merge pull request #566 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.54
Bump lavaplayer from 1.3.53 to 1.3.54
2020-10-30 15:40:09 +01:00
dependabot-preview[bot]
5d283f504f
Bump lavaplayer from 1.3.53 to 1.3.54
Bumps lavaplayer from 1.3.53 to 1.3.54.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-30 13:21:43 +00:00
dependabot-preview[bot]
be12f99ab8
Bump JDA from 4.2.0_212 to 4.2.0_214
Bumps JDA from 4.2.0_212 to 4.2.0_214.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-30 13:21:23 +00:00
Skidder
a70950d72c
Merge pull request #564 from BigBotNetwork/greg-dev
v1.3.20
2020-10-28 20:04:29 +01:00
Skidder
bf06c8af0b
Merge branch 'master' into greg-dev 2020-10-28 20:04:21 +01:00
Greg
f75137e87c Update version 2020-10-28 20:02:58 +01:00
Greg
4ff99c82ff Update GH actions 2020-10-28 20:01:24 +01:00
Skidder
34e4f5a1b8
Merge pull request #563 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_212
Bump JDA from 4.2.0_211 to 4.2.0_212
2020-10-28 14:53:32 +01:00
dependabot-preview[bot]
f4db0def1e
Bump JDA from 4.2.0_211 to 4.2.0_212
Bumps JDA from 4.2.0_211 to 4.2.0_212.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-28 13:21:10 +00:00
Skidder
4156ba9d22
Merge pull request #562 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.53
Bump lavaplayer from 1.3.52 to 1.3.53
2020-10-27 14:55:33 +01:00
dependabot-preview[bot]
5b895b0c99
Bump lavaplayer from 1.3.52 to 1.3.53
Bumps lavaplayer from 1.3.52 to 1.3.53.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 13:14:53 +00:00
Skidder
e127ba9614
Merge pull request #561 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.52
Bump lavaplayer from 1.3.50 to 1.3.52
2020-10-26 14:44:11 +01:00
Skidder
b725ae3cd9
Merge pull request #560 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_211
Bump JDA from 4.2.0_210 to 4.2.0_211
2020-10-26 14:44:05 +01:00
dependabot-preview[bot]
b7ce8c9429
Bump lavaplayer from 1.3.50 to 1.3.52
Bumps lavaplayer from 1.3.50 to 1.3.52.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 13:16:50 +00:00
dependabot-preview[bot]
28051a3f0d
Bump JDA from 4.2.0_210 to 4.2.0_211
Bumps JDA from 4.2.0_210 to 4.2.0_211.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 13:16:30 +00:00
Skidder
55b541c860
Merge pull request #559 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_210
Bump JDA from 4.2.0_209 to 4.2.0_210
2020-10-23 15:26:50 +02:00
dependabot-preview[bot]
514d658532
Bump JDA from 4.2.0_209 to 4.2.0_210
Bumps JDA from 4.2.0_209 to 4.2.0_210.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-23 13:26:22 +00:00
Skidder
1ad0f269c0
Merge pull request #558 from BigBotNetwork/i18n
New Crowdin updates
2020-10-19 03:12:05 +02:00
Skidder
7160c1600e New translations Translations_en.properties (English)
New English translation
2020-10-16 00:22:29 +02:00
Skidder
b1996f487f New translations Translations_en.properties (Chinese Simplified)
New Chinese Simplified translation
2020-10-16 00:22:27 +02:00
Skidder
8d0d9ec29a New translations Translations_en.properties (Turkish)
New Turkish translation
2020-10-16 00:22:25 +02:00
Skidder
a22aecabdc New translations Translations_en.properties (Russian)
New Russian translation
2020-10-16 00:22:24 +02:00
Skidder
f21976d41d New translations Translations_en.properties (German)
New German translation
2020-10-16 00:22:22 +02:00
Skidder
b0aad2a2b0 New translations Translations_en.properties (Spanish)
New Spanish translation
2020-10-16 00:22:20 +02:00
Skidder
4a9a72d0d3 New translations Translations_en.properties (French)
New French translation
2020-10-16 00:22:18 +02:00
Skidder
02c4312e49
Merge pull request #557 from BigBotNetwork/greg-dev
1.3.19
2020-10-16 00:12:46 +02:00
Greg
f50f1ea0c3 Bump version 2020-10-16 00:12:26 +02:00
Greg
f2a5354476 Cleaner code 2020-10-16 00:10:08 +02:00
Greg
f5698c7668 Fix Mention Listener 2020-10-16 00:05:54 +02:00
Greg
2acc57a931 Update command list 2020-10-13 23:19:52 +02:00
Skidder
d77a4ea834
Merge pull request #556 from BigBotNetwork/greg-dev
1.3.18
2020-10-13 22:44:09 +02:00
Greg
a0e4a95028 Bump Hadder verison 2020-10-13 22:42:50 +02:00
Greg
656cce4851 Fix minor bug 2020-10-13 22:37:14 +02:00
Skidder
99073c9120
Merge pull request #555 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_209
Bump JDA from 4.2.0_208 to 4.2.0_209
2020-10-12 15:20:04 +02:00
dependabot-preview[bot]
750dfaeebd
Bump JDA from 4.2.0_208 to 4.2.0_209
Bumps JDA from 4.2.0_208 to 4.2.0_209.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 13:19:46 +00:00
Skidder
082dbb6c33
Update maven.yml 2020-10-06 20:10:10 +02:00
Skidder
4ae9459ca3
Update maven.yml 2020-10-06 20:01:29 +02:00
Skidder
21e1be211f
Merge pull request #554 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_208
Bump JDA from 4.2.0_207 to 4.2.0_208
2020-10-05 15:24:12 +02:00
dependabot-preview[bot]
112ea391ba
Bump JDA from 4.2.0_207 to 4.2.0_208
Bumps JDA from 4.2.0_207 to 4.2.0_208.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-05 13:15:58 +00:00
Skidder
9436646633
Update maven.yml 2020-10-04 09:53:35 +02:00
Skidder
f94ccbbc52
Update maven.yml 2020-10-04 09:45:33 +02:00
Skidder
59e62442c1
Merge pull request #553 from BigBotNetwork/greg-dev
v1.3.17
2020-10-02 18:57:36 +02:00
GregTCLTK
f38ceefd5e
Update version 2020-10-02 18:53:56 +02:00
GregTCLTK
d71177ab94
Update some stuff 2020-10-02 18:21:40 +02:00
Skidder
c0e89f0e58
Merge pull request #552 from BigBotNetwork/dependabot/maven/greg-dev/com.fasterxml.jackson.core-jackson-annotations-2.11.3
Bump jackson-annotations from 2.11.2 to 2.11.3
2020-10-02 15:40:44 +02:00
dependabot-preview[bot]
449c7a5761
Bump jackson-annotations from 2.11.2 to 2.11.3
Bumps [jackson-annotations](https://github.com/FasterXML/jackson) from 2.11.2 to 2.11.3.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-02 13:35:45 +00:00
Skidder
041f12bb6a
Merge pull request #551 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_207
Bump JDA from 4.2.0_206 to 4.2.0_207
2020-09-30 15:28:52 +02:00
dependabot-preview[bot]
8dfdad4e03
Bump JDA from 4.2.0_206 to 4.2.0_207
Bumps JDA from 4.2.0_206 to 4.2.0_207.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-30 13:23:22 +00:00
Skidder
4d1a1e42e3
Merge pull request #550 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_206
Bump JDA from 4.2.0_205 to 4.2.0_206
2020-09-29 15:37:18 +02:00
dependabot-preview[bot]
2cb0babb37
Bump JDA from 4.2.0_205 to 4.2.0_206
Bumps JDA from 4.2.0_205 to 4.2.0_206.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-29 13:24:43 +00:00
Skidder
458d27cc85
Merge pull request #549 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_205
Bump JDA from 4.2.0_204 to 4.2.0_205
2020-09-28 15:50:31 +02:00
Skidder
69dfc4cd5b
Merge pull request #548 from BigBotNetwork/dependabot/maven/greg-dev/club.minnced-discord-webhooks-0.5.0
Bump discord-webhooks from 0.4.1 to 0.5.0
2020-09-28 15:50:02 +02:00
dependabot-preview[bot]
93108ca0ae
Bump JDA from 4.2.0_204 to 4.2.0_205
Bumps JDA from 4.2.0_204 to 4.2.0_205.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 13:21:53 +00:00
dependabot-preview[bot]
c2ab5cda57
Bump discord-webhooks from 0.4.1 to 0.5.0
Bumps discord-webhooks from 0.4.1 to 0.5.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 13:21:36 +00:00
Skidder
62f475ac3a
Merge pull request #547 from BigBotNetwork/greg-dev
New Stats Channel ID
2020-09-27 16:31:07 +02:00
Skidder
a61ccae038
Merge pull request #546 from BigBotNetwork/master
Master to greg-dev
2020-09-27 16:30:44 +02:00
GregTCLTK
1376039b5a
Update stats channel id 2020-09-27 16:29:59 +02:00
Skidder
7a4549c566
Merge pull request #544 from BigBotNetwork/greg-dev
Greg dev
2020-09-19 23:17:04 +02:00
Hax
d2d9f16ad9
Update maven.yml 2020-09-19 21:42:07 +02:00
Hax
4a16b9f70f
Update maven.yml 2020-09-19 21:37:44 +02:00
GregTCLTK
bed9752a9f
Improve Skip Command 2020-09-19 21:28:31 +02:00
GregTCLTK
f79ca4162e
Add break; 2020-09-19 21:28:22 +02:00
Skidder
19c7a5ce74
Merge pull request #542 from BigBotNetwork/i18n
New Crowdin updates
2020-09-19 01:27:27 +02:00
GregTCLTK
173e8f1fb0
Remove unfinished command 2020-09-19 01:25:42 +02:00
Skidder
58a5f2039e
Merge pull request #543 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_204
Bump JDA from 4.2.0_203 to 4.2.0_204
2020-09-07 15:15:33 +02:00
dependabot-preview[bot]
8342df2e05
Bump JDA from 4.2.0_203 to 4.2.0_204
Bumps JDA from 4.2.0_203 to 4.2.0_204.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 13:15:17 +00:00
Skidder
97ab945c46
Merge pull request #540 from BigBotNetwork/dependabot/maven/greg-dev/org.apache.maven.plugins-maven-project-info-reports-plugin-3.1.1
Bump maven-project-info-reports-plugin from 3.1.0 to 3.1.1
2020-09-04 15:35:47 +02:00
Skidder
6335ae17a5
Merge pull request #541 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_203
Bump JDA from 4.2.0_200 to 4.2.0_203
2020-09-04 15:35:41 +02:00
Skidder
390c5e8425 New translations Translations_en.properties (German)
New German translation
2020-09-04 15:33:02 +02:00
dependabot-preview[bot]
146648e9d0
Bump JDA from 4.2.0_200 to 4.2.0_203
Bumps JDA from 4.2.0_200 to 4.2.0_203.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 13:21:39 +00:00
dependabot-preview[bot]
6deb57e556
Bump maven-project-info-reports-plugin from 3.1.0 to 3.1.1
Bumps [maven-project-info-reports-plugin](https://github.com/apache/maven-project-info-reports-plugin) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/apache/maven-project-info-reports-plugin/releases)
- [Commits](https://github.com/apache/maven-project-info-reports-plugin/compare/maven-project-info-reports-plugin-3.1.0...maven-project-info-reports-plugin-3.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 13:21:14 +00:00
Skidder
87e0d14136
Merge pull request #539 from BigBotNetwork/dependabot/maven/greg-dev/club.minnced-discord-webhooks-0.4.1
Bump discord-webhooks from 0.4.0 to 0.4.1
2020-09-01 15:58:10 +02:00
Skidder
3adc7ccee6
Merge pull request #538 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_200
Bump JDA from 4.2.0_199 to 4.2.0_200
2020-09-01 15:57:59 +02:00
dependabot-preview[bot]
82bbd93d76
Bump discord-webhooks from 0.4.0 to 0.4.1
Bumps discord-webhooks from 0.4.0 to 0.4.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 13:16:05 +00:00
dependabot-preview[bot]
43b19a6fb5
Bump JDA from 4.2.0_199 to 4.2.0_200
Bumps JDA from 4.2.0_199 to 4.2.0_200.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 13:15:41 +00:00
Skidder
fbe9d230a1
Merge pull request #537 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_199
Bump JDA from 4.2.0_198 to 4.2.0_199
2020-08-31 15:23:22 +02:00
Skidder
839830b8b8
Merge pull request #536 from BigBotNetwork/dependabot/maven/greg-dev/club.minnced-discord-webhooks-0.4.0
Bump discord-webhooks from 0.3.2 to 0.4.0
2020-08-31 15:23:16 +02:00
dependabot-preview[bot]
91041260f1
Bump JDA from 4.2.0_198 to 4.2.0_199
Bumps JDA from 4.2.0_198 to 4.2.0_199.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 13:17:05 +00:00
dependabot-preview[bot]
c163bee076
Bump discord-webhooks from 0.3.2 to 0.4.0
Bumps discord-webhooks from 0.3.2 to 0.4.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 13:16:43 +00:00
Skidder
9776868727
Merge pull request #535 from BigBotNetwork/i18n
New Crowdin updates
2020-08-28 20:19:23 +02:00
Skidder
2c45f58400 New translations Translations_en.properties (German)
New German translation
2020-08-25 17:22:31 +02:00
Skidder
cab3722e80 New translations Translations_en.properties (German)
New German translation
2020-08-25 16:43:00 +02:00
Skidder
f0334dc100
Merge pull request #534 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_198
Bump JDA from 4.2.0_194 to 4.2.0_198
2020-08-24 15:15:17 +02:00
dependabot-preview[bot]
87b50297b9
Bump JDA from 4.2.0_194 to 4.2.0_198
Bumps JDA from 4.2.0_194 to 4.2.0_198.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 13:14:51 +00:00
Skidder
405e740de9
Merge pull request #533 from BigBotNetwork/greg-dev
v1.3.16
2020-08-23 21:47:54 +02:00
Skidder
a7022b3b46
Merge branch 'master' into greg-dev 2020-08-23 21:40:08 +02:00
GregTCLTK
7b2d40855d
Bumped version 2020-08-23 21:35:05 +02:00
Skidder
222f874a87
Merge pull request #532 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_194
Bump JDA from 4.2.0_192 to 4.2.0_194
2020-08-18 15:36:41 +02:00
dependabot-preview[bot]
8ee2b231e8
Bump JDA from 4.2.0_192 to 4.2.0_194
Bumps JDA from 4.2.0_192 to 4.2.0_194.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-18 13:16:30 +00:00
Skidder
75d193c9b1
Merge pull request #531 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_192
Bump JDA from 4.2.0_191 to 4.2.0_192
2020-08-17 15:17:00 +02:00
dependabot-preview[bot]
012fc231f1
Bump JDA from 4.2.0_191 to 4.2.0_192
Bumps JDA from 4.2.0_191 to 4.2.0_192.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 13:15:56 +00:00
Skidder
c9e163de83
Merge pull request #530 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_191
Bump JDA from 4.2.0_189 to 4.2.0_191
2020-08-14 15:33:02 +02:00
dependabot-preview[bot]
f049408f05
Bump JDA from 4.2.0_189 to 4.2.0_191
Bumps JDA from 4.2.0_189 to 4.2.0_191.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-14 13:19:59 +00:00
Skidder
598e438398
Merge pull request #529 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.116
Bump github-api from 1.115 to 1.116
2020-08-13 15:18:20 +02:00
dependabot-preview[bot]
1e7bc3c1f9
Bump github-api from 1.115 to 1.116
Bumps [github-api](https://github.com/hub4j/github-api) from 1.115 to 1.116.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.115...github-api-1.116)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-13 13:15:25 +00:00
Skidder
9b423f2df2
Merge pull request #528 from BigBotNetwork/dependabot/maven/greg-dev/org.apache.maven.plugins-maven-resources-plugin-3.2.0
Bump maven-resources-plugin from 3.1.0 to 3.2.0
2020-08-11 16:09:14 +02:00
dependabot-preview[bot]
03002b03ea
Bump maven-resources-plugin from 3.1.0 to 3.2.0
Bumps [maven-resources-plugin](https://github.com/apache/maven-resources-plugin) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/apache/maven-resources-plugin/releases)
- [Commits](https://github.com/apache/maven-resources-plugin/compare/maven-resources-plugin-3.1.0...maven-resources-plugin-3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-11 13:20:10 +00:00
Skidder
a9d0b0705e
Merge pull request #527 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_189
Bump JDA from 4.2.0_187 to 4.2.0_189
2020-08-10 15:16:16 +02:00
dependabot-preview[bot]
bd8af1fc68
Bump JDA from 4.2.0_187 to 4.2.0_189
Bumps JDA from 4.2.0_187 to 4.2.0_189.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 13:16:05 +00:00
Skidder
e11fc24d23
Merge pull request #526 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_187
Bump JDA from 4.2.0_186 to 4.2.0_187
2020-08-06 15:20:33 +02:00
dependabot-preview[bot]
46306ae7d5
Bump JDA from 4.2.0_186 to 4.2.0_187
Bumps JDA from 4.2.0_186 to 4.2.0_187.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-06 13:20:10 +00:00
Skidder
736d302650
Merge pull request #525 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_186
Bump JDA from 4.2.0_184 to 4.2.0_186
2020-08-05 18:12:50 +02:00
dependabot-preview[bot]
2a5f9e3668
Bump JDA from 4.2.0_184 to 4.2.0_186
Bumps JDA from 4.2.0_184 to 4.2.0_186.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-05 13:20:46 +00:00
Skidder
109b83ca69
Merge pull request #524 from BigBotNetwork/dependabot/maven/greg-dev/com.fasterxml.jackson.core-jackson-annotations-2.11.2
Bump jackson-annotations from 2.11.1 to 2.11.2
2020-08-05 14:42:43 +02:00
Skidder
f088c970fe
Merge pull request #523 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_184
Bump JDA from 4.2.0_183 to 4.2.0_184
2020-08-03 15:15:41 +02:00
dependabot-preview[bot]
a4f38c414b
Bump jackson-annotations from 2.11.1 to 2.11.2
Bumps [jackson-annotations](https://github.com/FasterXML/jackson) from 2.11.1 to 2.11.2.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 13:15:38 +00:00
dependabot-preview[bot]
e23ad07d0d
Bump JDA from 4.2.0_183 to 4.2.0_184
Bumps JDA from 4.2.0_183 to 4.2.0_184.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 13:15:24 +00:00
Schlauer-Hax
07e8c66ba0 jojojojojo 2020-07-30 22:01:01 +02:00
Skidder
49a6c6e7e2
Merge pull request #522 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_183
Bump JDA from 4.2.0_182 to 4.2.0_183
2020-07-30 15:18:38 +02:00
dependabot-preview[bot]
da6a2908bb
Bump JDA from 4.2.0_182 to 4.2.0_183
Bumps JDA from 4.2.0_182 to 4.2.0_183.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-30 13:15:01 +00:00
Skidder
85c2a97d26
Merge pull request #521 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_182
Bump JDA from 4.2.0_181 to 4.2.0_182
2020-07-27 15:15:43 +02:00
dependabot-preview[bot]
b6441c4eaa
Bump JDA from 4.2.0_181 to 4.2.0_182
Bumps JDA from 4.2.0_181 to 4.2.0_182.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 13:15:27 +00:00
Skidder
c5e5bbe80b
Merge pull request #520 from BigBotNetwork/dependabot/maven/greg-dev/club.minnced-discord-webhooks-0.3.2
Bump discord-webhooks from 0.3.1 to 0.3.2
2020-07-21 15:16:54 +02:00
Skidder
a68c7b1de2
Merge pull request #519 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_181
Bump JDA from 4.2.0_180 to 4.2.0_181
2020-07-21 15:16:33 +02:00
dependabot-preview[bot]
c86ef37d02
Bump discord-webhooks from 0.3.1 to 0.3.2
Bumps discord-webhooks from 0.3.1 to 0.3.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-21 13:16:25 +00:00
dependabot-preview[bot]
aec11909a2
Bump JDA from 4.2.0_180 to 4.2.0_181
Bumps JDA from 4.2.0_180 to 4.2.0_181.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-21 13:16:03 +00:00
Skidder
ed452ff2b5
Merge pull request #518 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_180
Bump JDA from 4.2.0_179 to 4.2.0_180
2020-07-20 15:15:41 +02:00
dependabot-preview[bot]
d525743e78
Bump JDA from 4.2.0_179 to 4.2.0_180
Bumps JDA from 4.2.0_179 to 4.2.0_180.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 13:15:03 +00:00
Skidder
2d7cc8de55
Merge pull request #517 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.115
Bump github-api from 1.114 to 1.115
2020-07-17 15:16:05 +02:00
dependabot-preview[bot]
59311b26d5
Bump github-api from 1.114 to 1.115
Bumps [github-api](https://github.com/hub4j/github-api) from 1.114 to 1.115.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.114...github-api-1.115)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-17 13:15:52 +00:00
Skidder
ac9a374461
Merge pull request #516 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_179
Bump JDA from 4.2.0_178 to 4.2.0_179
2020-07-16 15:16:38 +02:00
dependabot-preview[bot]
e25bb385e1
Bump JDA from 4.2.0_178 to 4.2.0_179
Bumps JDA from 4.2.0_178 to 4.2.0_179.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-16 13:16:21 +00:00
Skidder
651268fa55
Merge pull request #515 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_178
Bump JDA from 4.2.0_175 to 4.2.0_178
2020-07-13 15:15:21 +02:00
dependabot-preview[bot]
c2e1dee7c7
Bump JDA from 4.2.0_175 to 4.2.0_178
Bumps JDA from 4.2.0_175 to 4.2.0_178.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 13:15:04 +00:00
Skidder
b7c403420c
Merge pull request #514 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_175
Bump JDA from 4.2.0_174 to 4.2.0_175
2020-07-09 15:22:32 +02:00
dependabot-preview[bot]
2d31a64025
Bump JDA from 4.2.0_174 to 4.2.0_175
Bumps JDA from 4.2.0_174 to 4.2.0_175.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-09 13:16:59 +00:00
Skidder
b05e4de148
Merge pull request #513 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_174
Bump JDA from 4.2.0_173 to 4.2.0_174
2020-07-07 15:18:59 +02:00
dependabot-preview[bot]
85b10de093
Bump JDA from 4.2.0_173 to 4.2.0_174
Bumps JDA from 4.2.0_173 to 4.2.0_174.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 13:15:40 +00:00
Skidder
4095ae6cf5
Merge pull request #512 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_173
Bump JDA from 4.2.0_172 to 4.2.0_173
2020-07-06 15:15:01 +02:00
dependabot-preview[bot]
6d891e6330
Bump JDA from 4.2.0_172 to 4.2.0_173
Bumps JDA from 4.2.0_172 to 4.2.0_173.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 13:14:44 +00:00
Skidder
60e1f8d991
Merge pull request #511 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_172
Bump JDA from 4.2.0_171 to 4.2.0_172
2020-07-02 15:23:43 +02:00
dependabot-preview[bot]
d556fa4b58
Bump JDA from 4.2.0_171 to 4.2.0_172
Bumps JDA from 4.2.0_171 to 4.2.0_172.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-02 13:23:06 +00:00
Skidder
3152dafd5e
Merge pull request #510 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_171
Bump JDA from 4.2.0_169 to 4.2.0_171
2020-07-01 15:15:12 +02:00
dependabot-preview[bot]
59bf747fbf
Bump JDA from 4.2.0_169 to 4.2.0_171
Bumps JDA from 4.2.0_169 to 4.2.0_171.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 13:14:57 +00:00
Skidder
5a99ef4855
Merge pull request #509 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_169
Bump JDA from 4.2.0_168 to 4.2.0_169
2020-06-30 15:32:17 +02:00
dependabot-preview[bot]
867c7dd2ee
Bump JDA from 4.2.0_168 to 4.2.0_169
Bumps JDA from 4.2.0_168 to 4.2.0_169.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-30 13:31:47 +00:00
Skidder
3398653ae0
Merge pull request #508 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.2.0_168
Bump JDA from 4.1.1_166 to 4.2.0_168
2020-06-29 15:16:11 +02:00
dependabot-preview[bot]
039be72d77
Bump JDA from 4.1.1_166 to 4.2.0_168
Bumps JDA from 4.1.1_166 to 4.2.0_168.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 13:15:57 +00:00
Skidder
c82bf91b14
Merge pull request #507 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_166
Bump JDA from 4.1.1_165 to 4.1.1_166
2020-06-26 15:15:36 +02:00
dependabot-preview[bot]
84ea5cf5fa
Bump JDA from 4.1.1_165 to 4.1.1_166
Bumps JDA from 4.1.1_165 to 4.1.1_166.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-26 13:15:22 +00:00
Skidder
070890f172
Merge pull request #506 from BigBotNetwork/dependabot/maven/greg-dev/com.fasterxml.jackson.core-jackson-annotations-2.11.1
Bump jackson-annotations from 2.11.0 to 2.11.1
2020-06-25 15:15:55 +02:00
dependabot-preview[bot]
2bb9a46dc6
Bump jackson-annotations from 2.11.0 to 2.11.1
Bumps [jackson-annotations](https://github.com/FasterXML/jackson) from 2.11.0 to 2.11.1.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-25 13:15:47 +00:00
Skidder
05fa1f4854
Merge pull request #505 from BigBotNetwork/dependabot/maven/greg-dev/org.apache.maven.plugins-maven-site-plugin-3.9.1
Bump maven-site-plugin from 3.9.0 to 3.9.1
2020-06-25 15:15:42 +02:00
dependabot-preview[bot]
e0011bae01
Bump maven-site-plugin from 3.9.0 to 3.9.1
Bumps [maven-site-plugin](https://github.com/apache/maven-site-plugin) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/apache/maven-site-plugin/releases)
- [Commits](https://github.com/apache/maven-site-plugin/compare/maven-site-plugin-3.9.0...maven-site-plugin-3.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-25 13:15:30 +00:00
Skidder
d05850226c
Merge pull request #504 from BigBotNetwork/i18n
New Crowdin updates
2020-06-23 18:03:19 +02:00
Skidder
2642970bea
Merge branch 'master' into i18n 2020-06-23 18:03:12 +02:00
Skidder
a6762a7e8b New translations Translations_en.properties (English)
New English translation
2020-06-20 17:32:42 +02:00
Skidder
509c8991b7 New translations Translations_en.properties (Chinese Simplified)
New Chinese Simplified translation
2020-06-20 17:32:40 +02:00
Skidder
906b287b97 New translations Translations_en.properties (Turkish)
New Turkish translation
2020-06-20 17:32:39 +02:00
Skidder
1f7afbfb34 New translations Translations_en.properties (Russian)
New Russian translation
2020-06-20 17:32:37 +02:00
Skidder
d74419a01d New translations Translations_en.properties (German)
New German translation
2020-06-20 17:32:35 +02:00
Skidder
73c64458c7 New translations Translations_en.properties (Spanish)
New Spanish translation
2020-06-20 17:32:33 +02:00
Skidder
0644133798 New translations Translations_en.properties (French)
New French translation
2020-06-20 17:32:32 +02:00
Skidder
5445a9790e
Merge pull request #501 from BigBotNetwork/greg-dev
v1.3.15
2020-06-20 17:30:18 +02:00
GregTCLTK
b279a94a6d
Fix missing translation strings 2020-06-20 16:41:47 +02:00
Skidder
cee114a07f
Merge pull request #503 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.50
Bump lavaplayer from 1.3.49 to 1.3.50
2020-06-18 15:16:45 +02:00
dependabot-preview[bot]
bd322f6680
Bump lavaplayer from 1.3.49 to 1.3.50
Bumps lavaplayer from 1.3.49 to 1.3.50.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-18 13:16:28 +00:00
Skidder
71cd1efdd8
Merge pull request #502 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_165
Bump JDA from 4.1.1_162 to 4.1.1_165
2020-06-15 15:16:57 +02:00
dependabot-preview[bot]
72c2cd51a4
Bump JDA from 4.1.1_162 to 4.1.1_165
Bumps JDA from 4.1.1_162 to 4.1.1_165.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 13:16:44 +00:00
GregTCLTK
36eaa61008
Updated example config 2020-06-13 17:00:28 +02:00
GregTCLTK
67a5fa291c
Update old picture 2020-06-13 16:55:37 +02:00
GregTCLTK
ab2be55083
Version bump 2020-06-13 16:54:23 +02:00
Skidder
ef7a0313a1
Merge pull request #500 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.114
Bump github-api from 1.113 to 1.114
2020-06-11 15:16:05 +02:00
dependabot-preview[bot]
4c258a0b87
Bump github-api from 1.113 to 1.114
Bumps [github-api](https://github.com/hub4j/github-api) from 1.113 to 1.114.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.113...github-api-1.114)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 13:15:55 +00:00
Skidder
5204c6abc3
Merge pull request #499 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_162
Bump JDA from 4.1.1_161 to 4.1.1_162
2020-06-10 15:16:52 +02:00
dependabot-preview[bot]
48a64510e9
Bump JDA from 4.1.1_161 to 4.1.1_162
Bumps JDA from 4.1.1_161 to 4.1.1_162.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-10 13:16:39 +00:00
Skidder
af2e0bbba1
Merge pull request #498 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_161
Bump JDA from 4.1.1_160 to 4.1.1_161
2020-06-09 15:16:54 +02:00
dependabot-preview[bot]
f7a03f2c10
Bump JDA from 4.1.1_160 to 4.1.1_161
Bumps JDA from 4.1.1_160 to 4.1.1_161.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 13:16:37 +00:00
Skidder
82a9a5faf0
Merge pull request #497 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.113
Bump github-api from 1.112 to 1.113
2020-06-09 15:16:33 +02:00
dependabot-preview[bot]
4b61c771c5
Bump github-api from 1.112 to 1.113
Bumps [github-api](https://github.com/hub4j/github-api) from 1.112 to 1.113.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.112...github-api-1.113)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 13:16:17 +00:00
Skidder
b79506d18c
Merge pull request #496 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_160
Bump JDA from 4.1.1_157 to 4.1.1_160
2020-06-08 15:17:31 +02:00
dependabot-preview[bot]
3ab0b48f98
Bump JDA from 4.1.1_157 to 4.1.1_160
Bumps JDA from 4.1.1_157 to 4.1.1_160.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 13:17:19 +00:00
Skidder
1c76d05ab4
Merge pull request #495 from BigBotNetwork/i18n
New Crowdin translations
2020-06-08 13:52:32 +02:00
Skidder
5fc393b81f New translations Translations_en.properties (English)
New English translation
2020-06-08 13:52:04 +02:00
Skidder
5d09fdf3a6 New translations Translations_en.properties (Chinese Simplified)
New Chinese Simplified translation
2020-06-08 13:52:03 +02:00
Skidder
77973d94ab New translations Translations_en.properties (Turkish)
New Turkish translation
2020-06-08 13:52:02 +02:00
Skidder
7e3c91bf53 New translations Translations_en.properties (Russian)
New Russian translation
2020-06-08 13:52:00 +02:00
Skidder
d38e490f8a New translations Translations_en.properties (German)
New German translation
2020-06-08 13:51:59 +02:00
Skidder
c8b39ed685 New translations Translations_en.properties (Spanish)
New Spanish translation
2020-06-08 13:51:57 +02:00
Skidder
3f6950fe71 New translations Translations_en.properties (French)
New French translation
2020-06-08 13:51:56 +02:00
Skidder
83892f11b9
Merge pull request #494 from BigBotNetwork/greg-dev
v1.3.14
2020-06-08 13:45:57 +02:00
GregTCLTK
54a3256072
Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2020-06-08 13:44:24 +02:00
GregTCLTK
b44da1a8b8
Bump version 2020-06-08 13:44:18 +02:00
GregTCLTK
4c4389b392
Fix some stuff 2020-06-08 13:40:48 +02:00
GregTCLTK
e40a59fe14
Remove not needed space 2020-06-07 18:31:54 +02:00
GregTCLTK
9b6a672239
Move Rethink stuff in an extra db folder 2020-06-07 18:31:40 +02:00
Skidder
d6505e8712
Merge pull request #493 from BigBotNetwork/dependabot/maven/greg-dev/com.rethinkdb-rethinkdb-driver-2.4.4
Bump rethinkdb-driver from 2.4.3 to 2.4.4
2020-06-06 18:57:44 +02:00
dependabot-preview[bot]
7ff1b4c701
Bump rethinkdb-driver from 2.4.3 to 2.4.4
Bumps [rethinkdb-driver](https://github.com/rethinkdb/rethinkdb-java) from 2.4.3 to 2.4.4.
- [Release notes](https://github.com/rethinkdb/rethinkdb-java/releases)
- [Commits](https://github.com/rethinkdb/rethinkdb-java/compare/2.4.3...v2.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 13:16:22 +00:00
Skidder
4d446f736b
Merge pull request #492 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_157
Bump JDA from 4.1.1_156 to 4.1.1_157
2020-06-05 15:16:09 +02:00
dependabot-preview[bot]
0a737f14f1
Bump JDA from 4.1.1_156 to 4.1.1_157
Bumps JDA from 4.1.1_156 to 4.1.1_157.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 13:15:55 +00:00
Skidder
006a4ca2e7
Merge pull request #491 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_156
Bump JDA from 4.1.1_155 to 4.1.1_156
2020-06-01 15:16:01 +02:00
dependabot-preview[bot]
ad833e1307
Bump JDA from 4.1.1_155 to 4.1.1_156
Bumps JDA from 4.1.1_155 to 4.1.1_156.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 13:15:47 +00:00
Skidder
5df56ce183
Merge pull request #490 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.112
Bump github-api from 1.111 to 1.112
2020-05-29 15:17:35 +02:00
dependabot-preview[bot]
4eceb937a5
Bump github-api from 1.111 to 1.112
Bumps [github-api](https://github.com/hub4j/github-api) from 1.111 to 1.112.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.111...github-api-1.112)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-29 13:17:00 +00:00
Skidder
9f49b149a9
Merge pull request #489 from BigBotNetwork/dependabot/maven/greg-dev/org.apache.maven.plugins-maven-project-info-reports-plugin-3.1.0
Bump maven-project-info-reports-plugin from 3.0.0 to 3.1.0
2020-05-28 15:21:53 +02:00
dependabot-preview[bot]
5f6357d8ad
Bump maven-project-info-reports-plugin from 3.0.0 to 3.1.0
Bumps [maven-project-info-reports-plugin](https://github.com/apache/maven-project-info-reports-plugin) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/apache/maven-project-info-reports-plugin/releases)
- [Commits](https://github.com/apache/maven-project-info-reports-plugin/compare/maven-project-info-reports-plugin-3.0.0...maven-project-info-reports-plugin-3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 13:17:55 +00:00
Skidder
b180092e21
Merge pull request #488 from BigBotNetwork/dependabot/maven/greg-dev/org.json-json-20200518
Bump json from 20190722 to 20200518
2020-05-25 15:21:19 +02:00
Skidder
9b625de5a8
Merge pull request #487 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_155
Bump JDA from 4.1.1_154 to 4.1.1_155
2020-05-25 15:21:12 +02:00
dependabot-preview[bot]
654a8a2416
Bump json from 20190722 to 20200518
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20190722 to 20200518.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 13:17:51 +00:00
dependabot-preview[bot]
75303b6c19
Bump JDA from 4.1.1_154 to 4.1.1_155
Bumps JDA from 4.1.1_154 to 4.1.1_155.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 13:17:30 +00:00
Skidder
22cf2993b1
Merge pull request #486 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.49
Bump lavaplayer from 1.3.48 to 1.3.49
2020-05-22 15:18:07 +02:00
dependabot-preview[bot]
8b0ee12c3c
Bump lavaplayer from 1.3.48 to 1.3.49
Bumps lavaplayer from 1.3.48 to 1.3.49.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-22 13:17:51 +00:00
Skidder
4e8c0eff4d
Merge pull request #485 from BigBotNetwork/greg-dev
v1.3.13
2020-05-21 23:52:58 +02:00
GregTCLTK
75e9745233
Fix emote stuff 2020-05-21 20:45:23 +02:00
Skidder
4dc8934412
Merge pull request #484 from BigBotNetwork/master
Gimme
2020-05-21 20:41:20 +02:00
Skidder
6fbdd2cf12
Merge pull request #483 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_154
Bump JDA from 4.1.1_153 to 4.1.1_154
2020-05-20 15:19:04 +02:00
dependabot-preview[bot]
9497aeaf0b
Bump JDA from 4.1.1_153 to 4.1.1_154
Bumps JDA from 4.1.1_153 to 4.1.1_154.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 13:18:33 +00:00
Skidder
88cec812c6
Merge pull request #482 from BigBotNetwork/dependabot/maven/greg-dev/com.rethinkdb-rethinkdb-driver-2.4.3
Bump rethinkdb-driver from 2.4.2 to 2.4.3
2020-05-20 15:18:21 +02:00
dependabot-preview[bot]
7760f0c11d
Bump rethinkdb-driver from 2.4.2 to 2.4.3
Bumps [rethinkdb-driver](https://github.com/rethinkdb/rethinkdb-java) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/rethinkdb/rethinkdb-java/releases)
- [Commits](https://github.com/rethinkdb/rethinkdb-java/compare/v2.4.2...2.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 13:18:06 +00:00
Hax
9ce9540cbd
Merge pull request #481 from BigBotNetwork/hax-dev
push
2020-05-18 18:00:01 +02:00
Schlauer-Hax
1652d39e04 nice 2020-05-18 17:57:47 +02:00
Schlauer-Hax
072c4580b0 Merge remote-tracking branch 'origin/greg-dev' into hax-dev 2020-05-18 17:57:22 +02:00
Skidder
d182599c5c
Merge pull request #480 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_153
Bump JDA from 4.1.1_150 to 4.1.1_153
2020-05-18 15:17:30 +02:00
dependabot-preview[bot]
c2278f81c5
Bump JDA from 4.1.1_150 to 4.1.1_153
Bumps JDA from 4.1.1_150 to 4.1.1_153.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 13:17:14 +00:00
Skidder
7e5d29041f
Merge pull request #479 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_150
Bump JDA from 4.1.1_149 to 4.1.1_150
2020-05-14 15:23:14 +02:00
dependabot-preview[bot]
38c339beff
Bump JDA from 4.1.1_149 to 4.1.1_150
Bumps JDA from 4.1.1_149 to 4.1.1_150.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-14 13:22:32 +00:00
Skidder
82a143d74b
Merge pull request #478 from BigBotNetwork/master
a
2020-05-13 18:26:36 +02:00
Skidder
d546ed563a
Merge pull request #476 from BigBotNetwork/greg-dev
v1.3.11
2020-05-13 18:22:36 +02:00
GregTCLTK
66f90d3560
Rethink 2020-05-13 18:18:01 +02:00
Skidder
72b21300e4
Merge pull request #477 from BigBotNetwork/i18n
New Crowdin translations
2020-05-13 18:12:10 +02:00
Skidder
6be7a05df2 New translations Translations_en.properties (Chinese Simplified)
New Chinese Simplified translation
2020-05-13 18:11:45 +02:00
Skidder
808296d51c New translations Translations_en.properties (Turkish)
New Turkish translation
2020-05-13 18:11:43 +02:00
Skidder
ada0094065 New translations Translations_en.properties (Russian)
New Russian translation
2020-05-13 18:11:41 +02:00
Skidder
5b5f5306e3 New translations Translations_en.properties (German)
New German translation
2020-05-13 18:11:40 +02:00
Skidder
f6b4b38c0c New translations Translations_en.properties (Spanish)
New Spanish translation
2020-05-13 18:11:38 +02:00
Skidder
d1d34abdf1 New translations Translations_en.properties (French)
New French translation
2020-05-13 18:11:36 +02:00
GregTCLTK
0e20bcfc9a
Bump version 2020-05-13 18:05:37 +02:00
Skidder
6bece53c71
Merge pull request #457 from BigBotNetwork/i18n
New Crowdin translations
2020-05-13 18:03:03 +02:00
Skidder
209fc0d628
Merge pull request #475 from BigBotNetwork/hax-dev
Hax dev
2020-05-13 18:01:44 +02:00
Skidder
9513982930 New translations Translations_en.properties (German)
New German translation
2020-05-13 16:41:56 +02:00
Skidder
1c7fc61431 New translations Translations_en.properties (German)
New German translation
2020-05-13 16:31:59 +02:00
Skidder
e18a0ada24 New translations Translations_en.properties (German)
New German translation
2020-05-13 16:22:20 +02:00
Skidder
97dc352390 New translations Translations_en.properties (German)
New German translation
2020-05-13 16:12:25 +02:00
Skidder
f0455cb004 New translations Translations_en.properties (German)
New German translation
2020-05-13 16:02:35 +02:00
Schlauer-Hax
6737eb432c Fixed Rethink Stuff 2020-05-13 15:45:44 +02:00
Schlauer-Hax
4c926f8610 Merge remote-tracking branch 'origin/greg-dev' into hax-dev 2020-05-13 15:36:25 +02:00
Skidder
6e0ddfbe3e
Merge pull request #474 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_149
Bump JDA from 4.1.1_148 to 4.1.1_149
2020-05-13 15:17:30 +02:00
dependabot-preview[bot]
7ddec14f25
Bump JDA from 4.1.1_148 to 4.1.1_149
Bumps JDA from 4.1.1_148 to 4.1.1_149.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 13:17:20 +00:00
Skidder
303dbd572d
Merge pull request #473 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.48
Bump lavaplayer from 1.3.47 to 1.3.48
2020-05-13 15:17:10 +02:00
dependabot-preview[bot]
281d8d474d
Bump lavaplayer from 1.3.47 to 1.3.48
Bumps lavaplayer from 1.3.47 to 1.3.48.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 13:16:51 +00:00
Skidder
6b95254035
Merge pull request #427 from BigBotNetwork/dependabot/maven/greg-dev/com.rethinkdb-rethinkdb-driver-2.4.2
Bump rethinkdb-driver from 2.4.0 to 2.4.2
2020-05-13 15:16:27 +02:00
GregTCLTK
11fb585997
Better code yk 2020-05-13 11:47:55 +02:00
Skidder
4687805988
Merge pull request #469 from BigBotNetwork/greg-dev
r u kidding me?
2020-05-13 11:10:11 +02:00
GregTCLTK
dfa7c58942
r u kidding me? 2020-05-13 11:09:39 +02:00
Skidder
1b00df88f8
Merge pull request #468 from BigBotNetwork/greg-dev
Greg dev
2020-05-12 17:38:36 +02:00
GregTCLTK
2693530116
A lot of intents xD 2020-05-12 17:37:14 +02:00
GregTCLTK
3ab7d38e3a
GVS 2020-05-12 17:35:35 +02:00
Skidder
696ccb58d4
Merge pull request #467 from BigBotNetwork/greg-dev
Forgot this
2020-05-12 17:31:21 +02:00
GregTCLTK
065a6bb22c
Forgot this 2020-05-12 17:30:16 +02:00
Skidder
847e97ea9d
Merge pull request #466 from BigBotNetwork/greg-dev
Fix?
2020-05-12 17:26:35 +02:00
GregTCLTK
097cf42f56
Fix? 2020-05-12 17:25:43 +02:00
Skidder
b274a7b660
Merge pull request #465 from BigBotNetwork/greg-dev
v1.3.10
2020-05-12 17:18:57 +02:00
GregTCLTK
c9e8416ab1
test 2020-05-12 17:16:14 +02:00
Skidder
72c8d2d323
Merge pull request #464 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_148
Bump JDA from 4.1.1_147 to 4.1.1_148
2020-05-12 15:17:59 +02:00
dependabot-preview[bot]
181c6bb485
Bump JDA from 4.1.1_147 to 4.1.1_148
Bumps JDA from 4.1.1_147 to 4.1.1_148.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 13:17:41 +00:00
Skidder
c9804ceb05
Merge pull request #463 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_147
Bump JDA from 4.1.1_145 to 4.1.1_147
2020-05-11 15:21:47 +02:00
dependabot-preview[bot]
1ccbb01fdb
Bump JDA from 4.1.1_145 to 4.1.1_147
Bumps JDA from 4.1.1_145 to 4.1.1_147.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 13:18:08 +00:00
Skidder
ab639897eb
Merge pull request #462 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_145
Bump JDA from 4.1.1_144 to 4.1.1_145
2020-05-07 15:19:19 +02:00
dependabot-preview[bot]
ac8a90a5eb
Bump JDA from 4.1.1_144 to 4.1.1_145
Bumps JDA from 4.1.1_144 to 4.1.1_145.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-07 13:19:00 +00:00
Skidder
65f8396e34
Merge pull request #461 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_144
Bump JDA from 4.1.1_143 to 4.1.1_144
2020-05-06 15:17:53 +02:00
dependabot-preview[bot]
5753db788c
Bump JDA from 4.1.1_143 to 4.1.1_144
Bumps JDA from 4.1.1_143 to 4.1.1_144.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-06 13:17:25 +00:00
Skidder
7a12a6af08
Merge pull request #460 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_143
Bump JDA from 4.1.1_142 to 4.1.1_143
2020-05-05 15:24:13 +02:00
dependabot-preview[bot]
4584244c83
Bump JDA from 4.1.1_142 to 4.1.1_143
Bumps JDA from 4.1.1_142 to 4.1.1_143.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-05 13:23:54 +00:00
Skidder
e0b6c0f633
Merge pull request #459 from BigBotNetwork/dependabot/maven/greg-dev/club.minnced-discord-webhooks-0.3.1
Bump discord-webhooks from 0.3.0 to 0.3.1
2020-05-05 15:23:45 +02:00
dependabot-preview[bot]
e71ce2a15d
Bump discord-webhooks from 0.3.0 to 0.3.1
Bumps discord-webhooks from 0.3.0 to 0.3.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-05 13:23:06 +00:00
Skidder
0889b19e1b
Merge pull request #456 from BigBotNetwork/greg-dev
v1.3.9
2020-05-05 13:20:00 +02:00
Skidder
dd82942af8 New translations Translations_en.properties (English)
New English translation
2020-05-04 15:21:55 +02:00
Skidder
91ee6ee9a5 New translations Translations_en.properties (German)
New German translation
2020-05-04 15:21:54 +02:00
Skidder
1b8c4bdda3
Merge pull request #458 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_142
Bump JDA from 4.1.1_140 to 4.1.1_142
2020-05-04 15:17:38 +02:00
dependabot-preview[bot]
a1282a264d
Bump JDA from 4.1.1_140 to 4.1.1_142
Bumps JDA from 4.1.1_140 to 4.1.1_142.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-04 13:17:25 +00:00
Skidder
887cf26741 New translations Translations_en.properties (English)
New English translation
2020-04-30 19:46:51 +02:00
Skidder
44f116c006 New translations Translations_en.properties (German)
New German translation
2020-04-30 19:46:47 +02:00
GregTCLTK
4e7fef54b5
Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2020-04-30 13:22:19 +02:00
GregTCLTK
59742edb97
Remove old botlist 2020-04-30 13:22:11 +02:00
Skidder
cee22293cf
Merge pull request #455 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_140
Bump JDA from 4.1.1_139 to 4.1.1_140
2020-04-28 15:17:41 +02:00
dependabot-preview[bot]
ba1d7d199b
Bump JDA from 4.1.1_139 to 4.1.1_140
Bumps JDA from 4.1.1_139 to 4.1.1_140.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-28 13:17:30 +00:00
Skidder
abf0c09e5b
Merge pull request #454 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_139
Bump JDA from 4.1.1_137 to 4.1.1_139
2020-04-27 15:22:51 +02:00
dependabot-preview[bot]
16220ec67b
Bump JDA from 4.1.1_137 to 4.1.1_139
Bumps JDA from 4.1.1_137 to 4.1.1_139.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 13:19:54 +00:00
Skidder
b7064f12c8
Merge pull request #453 from BigBotNetwork/dependabot/maven/greg-dev/com.fasterxml.jackson.core-jackson-annotations-2.11.0
Bump jackson-annotations from 2.10.3 to 2.11.0
2020-04-27 15:19:45 +02:00
dependabot-preview[bot]
d6ebfa4146
Bump jackson-annotations from 2.10.3 to 2.11.0
Bumps [jackson-annotations](https://github.com/FasterXML/jackson) from 2.10.3 to 2.11.0.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 13:19:29 +00:00
GregTCLTK
9a7a2d4d4e
Bump API version 2020-04-27 15:11:46 +02:00
GregTCLTK
ede113901d
Fix Arcane URL 2020-04-27 14:43:34 +02:00
GregTCLTK
4adf354889
Added arcane widget 2020-04-27 14:42:06 +02:00
Skidder
3d7cf403b5
Merge pull request #452 from BigBotNetwork/greg-dev
v1.3.8
2020-04-27 14:37:55 +02:00
GregTCLTK
daa4689890
Fix NSFW commands 2020-04-27 14:35:32 +02:00
Skidder
e5ab5214cd
Merge pull request #446 from BigBotNetwork/greg-dev
v1.3.7
2020-04-20 18:19:49 +02:00
GregTCLTK
606147b38c
Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2020-04-20 18:19:27 +02:00
GregTCLTK
70e32ebbc6
Fix Corona command 2020-04-20 18:18:36 +02:00
Skidder
02e348bece
Merge pull request #451 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_137
Bump JDA from 4.1.1_136 to 4.1.1_137
2020-04-20 15:26:36 +02:00
dependabot-preview[bot]
e5764b8c42
Bump JDA from 4.1.1_136 to 4.1.1_137
Bumps JDA from 4.1.1_136 to 4.1.1_137.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 13:19:10 +00:00
Skidder
7c5a5adcfa
Merge pull request #450 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.111
Bump github-api from 1.110 to 1.111
2020-04-16 15:40:17 +02:00
dependabot-preview[bot]
3c77feb590
Bump github-api from 1.110 to 1.111
Bumps [github-api](https://github.com/github-api/github-api) from 1.110 to 1.111.
- [Release notes](https://github.com/github-api/github-api/releases)
- [Changelog](https://github.com/github-api/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/github-api/github-api/compare/github-api-1.110...github-api-1.111)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-16 13:17:54 +00:00
Skidder
013064cf5d
Merge pull request #449 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.47
Bump lavaplayer from 1.3.46 to 1.3.47
2020-04-14 18:21:41 +02:00
dependabot-preview[bot]
ad387ab051
Bump lavaplayer from 1.3.46 to 1.3.47
Bumps lavaplayer from 1.3.46 to 1.3.47.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-14 13:19:19 +00:00
Skidder
d001ad1115
Merge pull request #448 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_136
Bump JDA from 4.1.1_134 to 4.1.1_136
2020-04-13 15:18:59 +02:00
dependabot-preview[bot]
04722d14ad
Bump JDA from 4.1.1_134 to 4.1.1_136
Bumps JDA from 4.1.1_134 to 4.1.1_136.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 13:18:45 +00:00
Skidder
c57dc14bb9
Merge pull request #432 from BigBotNetwork/i18n
New Crowdin translations
2020-04-10 17:07:06 +02:00
Skidder
59d214e7d6
Merge pull request #447 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_134
Bump JDA from 4.1.1_133 to 4.1.1_134
2020-04-10 16:53:22 +02:00
dependabot-preview[bot]
5cd0bab3a2
Bump JDA from 4.1.1_133 to 4.1.1_134
Bumps JDA from 4.1.1_133 to 4.1.1_134.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-10 13:19:42 +00:00
Skidder
8fb3aeda91
Merge pull request #443 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_133
Bump JDA from 4.1.1_101 to 4.1.1_133
2020-04-09 02:42:35 +02:00
Skidder
c1467e4a08
Merge pull request #442 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.46
Bump lavaplayer from 1.3.44 to 1.3.46
2020-04-07 19:37:34 +02:00
Skidder
6e3508c890
Merge pull request #444 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.110
Bump github-api from 1.109 to 1.110
2020-04-07 19:37:25 +02:00
dependabot-preview[bot]
840cf5f383
Bump github-api from 1.109 to 1.110
Bumps [github-api](https://github.com/github-api/github-api) from 1.109 to 1.110.
- [Release notes](https://github.com/github-api/github-api/releases)
- [Changelog](https://github.com/github-api/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/github-api/github-api/compare/github-api-1.109...github-api-1.110)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-07 13:19:20 +00:00
dependabot-preview[bot]
b9fbc89089
Bump JDA from 4.1.1_101 to 4.1.1_133
Bumps JDA from 4.1.1_101 to 4.1.1_133.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-07 13:18:51 +00:00
dependabot-preview[bot]
a588815192
Bump lavaplayer from 1.3.44 to 1.3.46
Bumps lavaplayer from 1.3.44 to 1.3.46.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-07 13:18:27 +00:00
Skidder
dc6d6767dd
Merge pull request #441 from BigBotNetwork/greg-dev
kms
2020-04-06 23:15:37 +02:00
GregTCLTK
4ebf8603a0
kms 2020-04-06 23:15:12 +02:00
Skidder
f807766598
Merge pull request #440 from BigBotNetwork/greg-dev
ceo
2020-04-06 23:13:52 +02:00
GregTCLTK
f7403ab348
ceo 2020-04-06 23:13:32 +02:00
Skidder
c59e7d68a5
Merge pull request #439 from BigBotNetwork/greg-dev
fix
2020-04-06 23:11:42 +02:00
GregTCLTK
0bc2fb1a3e
fix 2020-04-06 23:11:17 +02:00
Skidder
bb6ab6866c
Merge pull request #438 from BigBotNetwork/greg-dev
test
2020-04-06 23:08:53 +02:00
GregTCLTK
d85a602301
test 2020-04-06 23:08:27 +02:00
Skidder
8a6d18ec6c
Merge pull request #437 from BigBotNetwork/greg-dev
bruh?
2020-04-06 23:03:45 +02:00
GregTCLTK
cac8532f41
bruh? 2020-04-06 23:03:26 +02:00
Skidder
3adc5c632b New translations Translations_en.properties (Chinese Simplified)
New Chinese Simplified translation
2020-04-06 22:56:02 +02:00
Skidder
b19ef6ba80 New translations Translations_en.properties (Turkish)
New Turkish translation
2020-04-06 22:56:00 +02:00
Skidder
97a2350410 New translations Translations_en.properties (Russian)
New Russian translation
2020-04-06 22:55:59 +02:00
Skidder
cf8bbcec78 New translations Translations_en.properties (French)
New French translation
2020-04-06 22:55:57 +02:00
Skidder
f005f55c00 New translations Translations_en.properties (Spanish)
New Spanish translation
2020-04-06 22:55:55 +02:00
Skidder
ed65509e6f New translations Translations_en.properties (English)
New English translation
2020-04-06 22:55:53 +02:00
Skidder
e94a888261 New translations Translations_en.properties (German)
New German translation
2020-04-06 22:55:52 +02:00
Skidder
55d6d0af07
Merge pull request #436 from BigBotNetwork/greg-dev
v1.3.5
2020-04-06 22:51:08 +02:00
GregTCLTK
6ffb0a2d99
Implement bad fix 2020-04-06 22:47:36 +02:00
GregTCLTK
cd171804f1
Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2020-04-06 19:58:23 +02:00
GregTCLTK
295e88a89a
Add error msg 2020-04-06 19:57:59 +02:00
Skidder
76f2ea3202
Merge pull request #435 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_131
Bump JDA from 4.1.1_127 to 4.1.1_131
2020-04-06 15:45:17 +02:00
dependabot-preview[bot]
3a5dc59b03
Bump JDA from 4.1.1_127 to 4.1.1_131
Bumps JDA from 4.1.1_127 to 4.1.1_131.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-06 13:20:07 +00:00
Skidder
b64e7159cf
Merge pull request #434 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.44
Bump lavaplayer from 1.3.43 to 1.3.44
2020-04-06 15:20:00 +02:00
dependabot-preview[bot]
aa0637d237
Bump lavaplayer from 1.3.43 to 1.3.44
Bumps lavaplayer from 1.3.43 to 1.3.44.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-06 13:19:41 +00:00
Skidder
1e9198525c
Merge pull request #433 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.43
Bump lavaplayer from 1.3.42 to 1.3.43
2020-04-03 15:22:13 +02:00
dependabot-preview[bot]
8b7d07b988
Bump lavaplayer from 1.3.42 to 1.3.43
Bumps lavaplayer from 1.3.42 to 1.3.43.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 13:18:59 +00:00
GregTCLTK
c6f2db6e54
Add member count to the code command 2020-04-03 13:00:06 +02:00
Skidder
3efa60702d New translations Translations_en.properties (Chinese Simplified)
New Chinese Simplified translation
2020-04-02 15:56:12 +02:00
Skidder
2b04af204a New translations Translations_en.properties (Turkish)
New Turkish translation
2020-04-02 15:56:10 +02:00
Skidder
1a14d92c00 New translations Translations_en.properties (Russian)
New Russian translation
2020-04-02 15:56:09 +02:00
Skidder
02853f554e New translations Translations_en.properties (French)
New French translation
2020-04-02 15:56:08 +02:00
Skidder
1c0ca30c4e New translations Translations_en.properties (Spanish)
New Spanish translation
2020-04-02 15:56:06 +02:00
Skidder
fbe6154e54 New translations Translations_en.properties (German)
New German translation
2020-04-02 15:56:04 +02:00
Skidder
21f8cd0d21
Merge pull request #412 from BigBotNetwork/i18n
New Crowdin translations
2020-04-02 15:51:22 +02:00
Skidder
d82cdb7d89
Merge pull request #430 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.42
Bump lavaplayer from 1.3.41 to 1.3.42
2020-04-02 15:49:56 +02:00
Skidder
d863d559d9
Merge pull request #431 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.109
Bump github-api from 1.108 to 1.109
2020-04-02 15:20:10 +02:00
dependabot-preview[bot]
bd8cc48818
Bump github-api from 1.108 to 1.109
Bumps [github-api](https://github.com/github-api/github-api) from 1.108 to 1.109.
- [Release notes](https://github.com/github-api/github-api/releases)
- [Changelog](https://github.com/github-api/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/github-api/github-api/compare/github-api-1.108...github-api-1.109)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 13:19:33 +00:00
dependabot-preview[bot]
0282ada6dc
Bump lavaplayer from 1.3.41 to 1.3.42
Bumps lavaplayer from 1.3.41 to 1.3.42.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 13:19:05 +00:00
Skidder
a7421244b6
Merge pull request #429 from BigBotNetwork/master
Merged!
2020-04-01 17:19:32 +02:00
Skidder
cc9ebc0d95
Merge pull request #428 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.41
Bump lavaplayer from 1.3.40 to 1.3.41
2020-04-01 15:19:46 +02:00
dependabot-preview[bot]
231ca28b22
Bump lavaplayer from 1.3.40 to 1.3.41
Bumps lavaplayer from 1.3.40 to 1.3.41.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-01 13:19:24 +00:00
Skidder
1a96fa143a New translations Translations_en.properties (Chinese Simplified)
New Chinese Simplified translation
2020-03-31 16:40:13 +02:00
Skidder
f89c176e38 New translations Translations_en.properties (Turkish)
New Turkish translation
2020-03-31 16:40:11 +02:00
Skidder
5784a2e12c New translations Translations_en.properties (Russian)
New Russian translation
2020-03-31 16:40:10 +02:00
Skidder
8a96a78b25 New translations Translations_en.properties (French)
New French translation
2020-03-31 16:40:08 +02:00
Skidder
965bf9d3d8 New translations Translations_en.properties (Spanish)
New Spanish translation
2020-03-31 16:40:06 +02:00
Skidder
c5517d237b New translations Translations_en.properties (English)
New English translation
2020-03-31 16:40:05 +02:00
Skidder
2dd271ebf3 New translations Translations_en.properties (German)
New German translation
2020-03-31 16:40:03 +02:00
Skidder
48a453456e
Merge pull request #426 from BigBotNetwork/greg-dev
v1.3.4
2020-03-31 16:32:12 +02:00
dependabot-preview[bot]
d47236291e
Bump rethinkdb-driver from 2.4.0 to 2.4.2
Bumps [rethinkdb-driver](https://github.com/rethinkdb/rethinkdb-java) from 2.4.0 to 2.4.2.
- [Release notes](https://github.com/rethinkdb/rethinkdb-java/releases)
- [Commits](https://github.com/rethinkdb/rethinkdb-java/compare/v2.4.0...v2.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-31 13:17:18 +00:00
GregTCLTK
fc46756281
It's better yk 2020-03-31 14:53:33 +02:00
GregTCLTK
69623072da
Remove debug 2020-03-31 14:40:50 +02:00
Skidder
2a15c34b72
Merge pull request #425 from BigBotNetwork/greg-dev
Debug
2020-03-30 16:31:54 +02:00
GregTCLTK
38595bb1d0
Debug 2020-03-30 16:31:30 +02:00
Skidder
b6c4664636
Merge pull request #424 from BigBotNetwork/greg-dev
v1.3.3
2020-03-30 16:22:47 +02:00
GregTCLTK
042dc8cbbb
Bump version 2020-03-30 16:22:17 +02:00
GregTCLTK
5b88891555
Update corona command 2020-03-30 16:21:25 +02:00
GregTCLTK
b5fd95a996
Downgrade again 2020-03-30 16:16:40 +02:00
Skidder
a2d3d1ae86
Merge pull request #423 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_127
Bump JDA from 4.1.1_126 to 4.1.1_127
2020-03-30 16:02:17 +02:00
Skidder
27ad976c0b
Merge pull request #422 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.40
Bump lavaplayer from 1.3.38 to 1.3.40
2020-03-30 16:02:08 +02:00
dependabot-preview[bot]
a2ff33800d
Bump JDA from 4.1.1_126 to 4.1.1_127
Bumps JDA from 4.1.1_126 to 4.1.1_127.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 13:19:18 +00:00
dependabot-preview[bot]
31ff3602f5
Bump lavaplayer from 1.3.38 to 1.3.40
Bumps lavaplayer from 1.3.38 to 1.3.40.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 13:18:54 +00:00
Skidder
844f4bd4ea New translations Translations_en.properties (English)
New English translation
2020-03-30 15:12:09 +02:00
Skidder
8a8606fd53 New translations Translations_en.properties (German)
New German translation
2020-03-30 15:12:07 +02:00
Skidder
8007a77ba0 New translations Translations_en.properties (German)
New German translation
2020-03-30 14:48:37 +02:00
Skidder
83019b9c25
Merge pull request #421 from BigBotNetwork/dependabot/maven/greg-dev/com.rethinkdb-rethinkdb-driver-2.4.2
Bump rethinkdb-driver from 2.4.0 to 2.4.2
2020-03-27 14:19:41 +01:00
dependabot-preview[bot]
3b8ffbdde3
Bump rethinkdb-driver from 2.4.0 to 2.4.2
Bumps [rethinkdb-driver](https://github.com/rethinkdb/rethinkdb-java) from 2.4.0 to 2.4.2.
- [Release notes](https://github.com/rethinkdb/rethinkdb-java/releases)
- [Commits](https://github.com/rethinkdb/rethinkdb-java/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-27 13:19:15 +00:00
Skidder
ebfa0fdd9c
Merge pull request #420 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_126
Bump JDA from 4.1.1_125 to 4.1.1_126
2020-03-26 14:17:56 +01:00
dependabot-preview[bot]
85a0b10860
Bump JDA from 4.1.1_125 to 4.1.1_126
Bumps JDA from 4.1.1_125 to 4.1.1_126.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-26 13:17:42 +00:00
Skidder
99eef07fe0
Merge pull request #419 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_125
Bump JDA from 4.1.1_124 to 4.1.1_125
2020-03-25 14:17:28 +01:00
dependabot-preview[bot]
745c48c74a
Bump JDA from 4.1.1_124 to 4.1.1_125
Bumps JDA from 4.1.1_124 to 4.1.1_125.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-25 13:17:14 +00:00
Skidder
a0db6e89bd
Merge pull request #418 from BigBotNetwork/greg-dev
Version bump
2020-03-24 14:28:26 +01:00
GregTCLTK
7d8566c67d
Version bump 2020-03-24 14:27:51 +01:00
Skidder
100db9898d
Merge pull request #417 from BigBotNetwork/greg-dev
v1.3.2
2020-03-24 14:26:52 +01:00
Skidder
7e9479d0e8
Merge pull request #416 from BigBotNetwork/dependabot/maven/greg-dev/club.minnced-discord-webhooks-0.3.0
Bump discord-webhooks from 0.2.0 to 0.3.0
2020-03-24 14:20:53 +01:00
dependabot-preview[bot]
8ba4a1ed21
Bump discord-webhooks from 0.2.0 to 0.3.0
Bumps discord-webhooks from 0.2.0 to 0.3.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-24 13:18:31 +00:00
Skidder
8d0fdd07e3
Merge pull request #415 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.38
Bump lavaplayer from 1.3.36 to 1.3.38
2020-03-24 14:18:18 +01:00
dependabot-preview[bot]
7a0f4ef4dd
Bump lavaplayer from 1.3.36 to 1.3.38
Bumps lavaplayer from 1.3.36 to 1.3.38.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-24 13:18:07 +00:00
Skidder
643e3f8c4a
Merge pull request #414 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_124
Bump JDA from 4.1.1_122 to 4.1.1_124
2020-03-24 14:18:00 +01:00
dependabot-preview[bot]
3de190b620
Bump JDA from 4.1.1_122 to 4.1.1_124
Bumps JDA from 4.1.1_122 to 4.1.1_124.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-24 13:17:46 +00:00
Skidder
303b121f2b
Merge pull request #413 from BigBotNetwork/dependabot/maven/greg-dev/com.sedmelluq-lavaplayer-1.3.36
Bump lavaplayer from 1.3.34 to 1.3.36
2020-03-23 14:22:40 +01:00
dependabot-preview[bot]
0770e1dc63
Bump lavaplayer from 1.3.34 to 1.3.36
Bumps lavaplayer from 1.3.34 to 1.3.36.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 13:22:21 +00:00
Skidder
c420508f2e New translations Translations_en.properties (Chinese Simplified)
New Chinese Simplified translation
2020-03-22 00:39:44 +01:00
Skidder
681834fcfc New translations Translations_en.properties (Turkish)
New Turkish translation
2020-03-22 00:39:42 +01:00
Skidder
3e3b9ee50a New translations Translations_en.properties (Russian)
New Russian translation
2020-03-22 00:39:41 +01:00
Skidder
980abe1304 New translations Translations_en.properties (French)
New French translation
2020-03-22 00:39:39 +01:00
Skidder
3636c764ca New translations Translations_en.properties (Spanish)
New Spanish translation
2020-03-22 00:39:38 +01:00
Skidder
d8104b53ab New translations Translations_en.properties (English)
New English translation
2020-03-22 00:39:36 +01:00
Skidder
7a2ccf0ac9 New translations Translations_en.properties (German)
New German translation
2020-03-22 00:39:35 +01:00
Skidder
a51e4d6440
Merge pull request #411 from BigBotNetwork/greg-dev
v1.3.1
2020-03-22 00:38:39 +01:00
GregTCLTK
fe7efa6b84
New error messages 2020-03-21 17:39:50 +01:00
Skidder
c4f8648535 New translations Translations_en.properties (German)
New German translation
2020-03-20 23:59:31 +01:00
GregTCLTK
8bde70bdec
Bump version 2020-03-20 19:22:08 +01:00
GregTCLTK
0999fdfb48
Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2020-03-20 19:16:59 +01:00
GregTCLTK
e74d464184
Downgrade again :( 2020-03-20 19:16:54 +01:00
Skidder
f2b8dc70f6
Merge pull request #410 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_122
Bump JDA from 4.1.1_121 to 4.1.1_122
2020-03-20 14:18:46 +01:00
dependabot-preview[bot]
e77dd007a0
Bump JDA from 4.1.1_121 to 4.1.1_122
Bumps JDA from 4.1.1_121 to 4.1.1_122.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-20 13:17:53 +00:00
Skidder
8413d0d661
Merge pull request #398 from BigBotNetwork/dependabot/maven/greg-dev/com.rethinkdb-rethinkdb-driver-2.4.1.1
Bump rethinkdb-driver from 2.4.0 to 2.4.1.1
2020-03-20 10:52:55 +01:00
GregTCLTK
1438fba6ba
Remove deprecated function 2020-03-18 18:38:59 +01:00
Skidder
632fa3cb31
Merge pull request #409 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_121
Bump JDA from 4.1.1_116 to 4.1.1_121
2020-03-18 14:19:07 +01:00
dependabot-preview[bot]
bdf2310618
Bump JDA from 4.1.1_116 to 4.1.1_121
Bumps JDA from 4.1.1_116 to 4.1.1_121.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-18 13:18:23 +00:00
Skidder
bdbc20e686
Merge pull request #408 from BigBotNetwork/master
GET IN!
2020-03-16 17:06:23 +01:00
Skidder
6dbc1b4edc
Merge pull request #406 from BigBotNetwork/i18n
New Crowdin translations
2020-03-16 15:35:26 +01:00
Skidder
7f07743f28
Merge pull request #407 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_116
Bump JDA from 4.1.1_113 to 4.1.1_116
2020-03-16 15:35:13 +01:00
dependabot-preview[bot]
cc5b2946d7
Bump JDA from 4.1.1_113 to 4.1.1_116
Bumps JDA from 4.1.1_113 to 4.1.1_116.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 13:20:03 +00:00
Skidder
6d766f9150
Merge branch 'master' into i18n 2020-03-14 21:43:55 +01:00
Skidder
d9c5710b6f New translations Translations_en.properties (Chinese Simplified)
New Chinese Simplified translation
2020-03-14 21:41:44 +01:00
Skidder
14509bd92f New translations Translations_en.properties (Turkish)
New Turkish translation
2020-03-14 21:41:42 +01:00
Skidder
a43e5fb2a5 New translations Translations_en.properties (Russian)
New Russian translation
2020-03-14 21:41:41 +01:00
Skidder
8f660ce36a New translations Translations_en.properties (French)
New French translation
2020-03-14 21:41:39 +01:00
Skidder
7068178610 New translations Translations_en.properties (Spanish)
New Spanish translation
2020-03-14 21:41:38 +01:00
Skidder
fdcb948a61 New translations Translations_en.properties (English)
New English translation
2020-03-14 21:41:36 +01:00
Skidder
43679a7b38 New translations Translations_en.properties (German)
New German translation
2020-03-14 21:41:35 +01:00
Skidder
1125ffd5fb
Merge pull request #405 from BigBotNetwork/greg-dev
v1.3.0
2020-03-14 21:34:38 +01:00
GregTCLTK
b8cf0cfe05
Fix 2020-03-14 16:22:06 +01:00
GregTCLTK
36994799bd
Finish it 2020-03-14 16:19:13 +01:00
GregTCLTK
b4a25bfc97
covid command 2020-03-14 15:53:09 +01:00
GregTCLTK
39cef6b5fd
Remove a line lol 2020-03-14 15:51:48 +01:00
GregTCLTK
8de3748f1a
i18n stuff 2020-03-14 15:35:27 +01:00
GregTCLTK
e031eb1532
Fix help stuff 2020-03-14 15:28:16 +01:00
Skidder
7eae616892
Merge pull request #404 from BigBotNetwork/hax-dev
Hax dev
2020-03-14 15:18:24 +01:00
Skidder
42756339f9
Merge pull request #403 from BigBotNetwork/master
.
2020-03-13 22:18:16 +01:00
Schlauer-Hax
e0df9cc738 aa 2020-03-13 22:16:33 +01:00
Schlauer-Hax
fbbdb9f488 a 2020-03-13 22:15:54 +01:00
Schlauer-Hax
8b4926aab2 Fix 2020-03-13 22:15:33 +01:00
Schlauer-Hax
7cc51d680e Merge branch 'hax-dev' 2020-03-13 21:44:39 +01:00
Schlauer-Hax
35f932c377 moveall command 2020-03-13 21:44:01 +01:00
Schlauer-Hax
7b811d9cb7 Merge remote-tracking branch 'origin/greg-dev' into hax-dev 2020-03-13 21:24:56 +01:00
Skidder
6f78671f02
Merge pull request #402 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_113
Bump JDA from 4.1.1_111 to 4.1.1_113
2020-03-13 14:17:20 +01:00
dependabot-preview[bot]
ba9672f87d
Bump JDA from 4.1.1_111 to 4.1.1_113
Bumps JDA from 4.1.1_111 to 4.1.1_113.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-13 13:17:03 +00:00
Skidder
e731d4bce0
Merge pull request #401 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_111
Bump JDA from 4.1.1_110 to 4.1.1_111
2020-03-12 14:17:49 +01:00
dependabot-preview[bot]
71bfe01285
Bump JDA from 4.1.1_110 to 4.1.1_111
Bumps JDA from 4.1.1_110 to 4.1.1_111.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-12 13:17:35 +00:00
Skidder
ceb6037591
Merge pull request #400 from BigBotNetwork/dependabot/maven/greg-dev/org.apache.maven.plugins-maven-site-plugin-3.9.0
Bump maven-site-plugin from 3.8.2 to 3.9.0
2020-03-11 15:38:29 +01:00
dependabot-preview[bot]
55977585ac
Bump maven-site-plugin from 3.8.2 to 3.9.0
Bumps [maven-site-plugin](https://github.com/apache/maven-site-plugin) from 3.8.2 to 3.9.0.
- [Release notes](https://github.com/apache/maven-site-plugin/releases)
- [Commits](https://github.com/apache/maven-site-plugin/compare/maven-site-plugin-3.8.2...maven-site-plugin-3.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-11 13:18:39 +00:00
GregTCLTK
e811da3aeb
No permission improvement 2020-03-10 17:19:00 +01:00
dependabot-preview[bot]
3a56c0da11
Bump rethinkdb-driver from 2.4.0 to 2.4.1.1
Bumps [rethinkdb-driver](https://github.com/rethinkdb/rethinkdb-java) from 2.4.0 to 2.4.1.1.
- [Release notes](https://github.com/rethinkdb/rethinkdb-java/releases)
- [Commits](https://github.com/rethinkdb/rethinkdb-java/compare/v2.4.0...v2.4.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-10 13:17:38 +00:00
Skidder
ae815985fb
Merge pull request #397 from BigBotNetwork/greg-dev
Fix
2020-03-09 20:07:04 +01:00
GregTCLTK
304c588dbb
Fix 2020-03-09 20:05:47 +01:00
Skidder
5ccb9dbdfa
Merge pull request #395 from BigBotNetwork/greg-dev
v1.1.3
2020-03-09 19:32:59 +01:00
Skidder
e373e26fff
Merge pull request #396 from BigBotNetwork/revert-394-revert-393-greg-dev
Revert "Revert "v1.1.2""
2020-03-09 19:31:14 +01:00
Skidder
841821abe3
Revert "Revert "v1.1.2"" 2020-03-09 19:31:05 +01:00
Skidder
94b89ede03
Merge pull request #394 from BigBotNetwork/revert-393-greg-dev
Revert "v1.1.2"
2020-03-09 19:28:42 +01:00
Skidder
4e6842bcd3
Revert "v1.1.2" 2020-03-09 19:26:53 +01:00
GregTCLTK
e725604500
Version bump 2020-03-09 19:22:53 +01:00
GregTCLTK
c12e4e8e7c
more 2020-03-09 19:20:26 +01:00
GregTCLTK
5cc7acfe0d
Mention Listener fix 2020-03-09 19:20:21 +01:00
GregTCLTK
081da47b71
IMPORTANT 2020-03-09 19:10:15 +01:00
Skidder
9431db7e8b
Merge pull request #393 from BigBotNetwork/greg-dev
v1.1.2
2020-03-09 18:40:02 +01:00
GregTCLTK
6489ad6cc5
Fix 2020-03-05 17:01:06 +01:00
Skidder
4484231a8c
Merge pull request #392 from BigBotNetwork/dependabot/maven/greg-dev/com.rethinkdb-rethinkdb-driver-2.4.1.1
Bump rethinkdb-driver from 2.4.1 to 2.4.1.1
2020-03-05 15:37:05 +01:00
Skidder
9d292592e4
Merge pull request #391 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.108
Bump github-api from 1.107 to 1.108
2020-03-05 15:36:56 +01:00
dependabot-preview[bot]
08e3948db3
Bump rethinkdb-driver from 2.4.1 to 2.4.1.1
Bumps [rethinkdb-driver](https://github.com/rethinkdb/rethinkdb-java) from 2.4.1 to 2.4.1.1.
- [Release notes](https://github.com/rethinkdb/rethinkdb-java/releases)
- [Commits](https://github.com/rethinkdb/rethinkdb-java/compare/v2.4.1...v2.4.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-05 13:20:14 +00:00
dependabot-preview[bot]
eadf88e6b8
Bump github-api from 1.107 to 1.108
Bumps [github-api](https://github.com/github-api/github-api) from 1.107 to 1.108.
- [Release notes](https://github.com/github-api/github-api/releases)
- [Changelog](https://github.com/github-api/github-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/github-api/github-api/compare/github-api-1.107...github-api-1.108)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-05 13:19:50 +00:00
Skidder
5ae930edc5
Merge pull request #390 from BigBotNetwork/dependabot/maven/greg-dev/com.rethinkdb-rethinkdb-driver-2.4.1
Bump rethinkdb-driver from 2.4.0 to 2.4.1
2020-03-04 14:18:57 +01:00
dependabot-preview[bot]
01fa3085bc
Bump rethinkdb-driver from 2.4.0 to 2.4.1
Bumps [rethinkdb-driver](https://github.com/rethinkdb/rethinkdb-java) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/rethinkdb/rethinkdb-java/releases)
- [Commits](https://github.com/rethinkdb/rethinkdb-java/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-04 13:18:45 +00:00
Skidder
f721b21ddb
Merge pull request #386 from BigBotNetwork/greg-dev
v1.1.1
2020-03-04 13:26:31 +01:00
Skidder
92c437888b
Merge pull request #389 from BigBotNetwork/dependabot/maven/greg-dev/com.fasterxml.jackson.core-jackson-annotations-2.10.3
Bump jackson-annotations from 2.10.2 to 2.10.3
2020-03-03 15:55:10 +01:00
dependabot-preview[bot]
72cbcc18f7
Bump jackson-annotations from 2.10.2 to 2.10.3
Bumps [jackson-annotations](https://github.com/FasterXML/jackson) from 2.10.2 to 2.10.3.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-03 13:33:07 +00:00
Skidder
e2a550321e
Merge pull request #388 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_110
Bump JDA from 4.1.1_109 to 4.1.1_110
2020-03-02 15:38:42 +01:00
dependabot-preview[bot]
6c23b8c9bb
Bump JDA from 4.1.1_109 to 4.1.1_110
Bumps JDA from 4.1.1_109 to 4.1.1_110.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 13:21:18 +00:00
GregTCLTK
86bdd4b19f
Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2020-02-26 17:05:30 +01:00
GregTCLTK
2535568163
Prevent error yk 2020-02-26 17:05:13 +01:00
Skidder
af03da1913
Merge pull request #387 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_109
Bump JDA from 4.1.1_108 to 4.1.1_109
2020-02-25 15:53:18 +01:00
dependabot-preview[bot]
3d47b3a014
Bump JDA from 4.1.1_108 to 4.1.1_109
Bumps JDA from 4.1.1_108 to 4.1.1_109.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-25 13:33:28 +00:00
GregTCLTK
a6fe1d419f
url yk 2020-02-23 21:51:04 +01:00
GregTCLTK
5671288155
Add license and inception to pom 2020-02-23 21:12:43 +01:00
GregTCLTK
6963935348
Add pom description 2020-02-23 21:09:27 +01:00
GregTCLTK
431ecf8a67
Add a new bot list 2020-02-23 20:55:46 +01:00
GregTCLTK
ca0f0f5693
Update a lot of config stuff 2020-02-23 20:53:06 +01:00
GregTCLTK
3d010c42cf
Bump version 2020-02-23 20:47:45 +01:00
Skidder
66d7b6906b
Merge pull request #385 from BigBotNetwork/dependabot/maven/greg-dev/org.kohsuke-github-api-1.107
Bump github-api from 1.106 to 1.107
2020-02-23 20:40:26 +01:00
dependabot-preview[bot]
d0d75bfaf7
Bump github-api from 1.106 to 1.107
Bumps github-api from 1.106 to 1.107.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-23 19:40:10 +00:00
GregTCLTK
586ce7b151
Uhm 2020-02-22 21:25:11 +01:00
GregTCLTK
85611bf069
idk 2020-02-22 21:24:24 +01:00
GregTCLTK
7519b7724f
update invite perms 2020-02-22 21:24:20 +01:00
GregTCLTK
8f642f44a9
Not needed 2020-02-22 21:14:08 +01:00
GregTCLTK
06c3abc283
Fix 2020-02-22 21:12:06 +01:00
Skidder
f6e0dea5f2
Merge pull request #384 from BigBotNetwork/master
Get in
2020-02-20 21:30:52 +01:00
Skidder
8f0beeb150
Merge pull request #382 from BigBotNetwork/i18n
New Crowdin translations
2020-02-20 21:30:33 +01:00
Skidder
16e1f5b9b3
Merge pull request #383 from BigBotNetwork/greg-dev
Hotfix
2020-02-20 21:21:11 +01:00
GregTCLTK
ac854a8f20
Hotfix 2020-02-20 21:19:57 +01:00
Skidder
5c5c98dde9 New translations Translations_en.properties (Chinese Simplified)
New Chinese Simplified translation
2020-02-20 21:12:09 +01:00
Skidder
1eb7e87493 New translations Translations_en.properties (Turkish)
New Turkish translation
2020-02-20 21:12:06 +01:00
Skidder
815eed8320 New translations Translations_en.properties (Russian)
New Russian translation
2020-02-20 21:12:04 +01:00
Skidder
f5dc5d75e3 New translations Translations_en.properties (French)
New French translation
2020-02-20 21:12:02 +01:00
Skidder
19eac6445a New translations Translations_en.properties (Spanish)
New Spanish translation
2020-02-20 21:12:00 +01:00
Skidder
e0bfe15fcb New translations Translations_en.properties (English)
New English translation
2020-02-20 21:11:58 +01:00
Skidder
7a2be533d9 New translations Translations_en.properties (German)
New German translation
2020-02-20 21:11:56 +01:00
Skidder
9ff1848a1f
Release v1.1.0
v1.1.0
2020-02-20 21:02:19 +01:00
GregTCLTK
4a7d6ea2d1
A lot of better code 2020-02-20 20:58:15 +01:00
GregTCLTK
40d6a6ab95
Remove unused perm 2020-02-20 20:46:02 +01:00
GregTCLTK
0f92e0b22e
Bro why is it working now 2020-02-20 20:30:48 +01:00
GregTCLTK
a460e3d3cc
GH action test 2020-02-20 20:29:29 +01:00
GregTCLTK
df636bc32b
Add echo message 2020-02-20 20:18:07 +01:00
GregTCLTK
b3b542f3b2
Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2020-02-20 20:15:55 +01:00
GregTCLTK
c53e8164f1
Fix the echo command 2020-02-20 20:15:46 +01:00
Skidder
e6da414968
Merge pull request #381 from BigBotNetwork/master
Merge in my branch ;)
2020-02-20 19:43:32 +01:00
GregTCLTK
569852042c
stuff 2020-02-19 21:01:46 +01:00
GregTCLTK
546aed85fd
Add a blank field to h.serverstats 2020-02-17 21:11:44 +01:00
GregTCLTK
58409100b3
Finish code command 2020-02-17 21:09:24 +01:00
GregTCLTK
b9f7493e95
Fix code command 2020-02-17 21:06:45 +01:00
Skidder
5fce950a42
New German translations
New Crowdin translations
2020-02-17 20:28:46 +01:00
GregTCLTK
2a0bff749a
Codacy 2020-02-16 20:31:49 +01:00
GregTCLTK
91d146f68b
Use explicit scoping 2020-02-16 20:29:36 +01:00
GregTCLTK
0b281a20ac
Fix some stuff 2020-02-16 20:23:04 +01:00
GregTCLTK
92f583a467
Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2020-02-16 15:15:04 +01:00
Skidder
a08d86c07c
Merge pull request #380 from BigBotNetwork/dependabot/maven/greg-dev/com.rethinkdb-rethinkdb-driver-2.4.0
Bump rethinkdb-driver from 2.3.3 to 2.4.0
2020-02-16 15:12:54 +01:00
dependabot-preview[bot]
dc3a2ca96a
Bump rethinkdb-driver from 2.3.3 to 2.4.0
Bumps [rethinkdb-driver](https://github.com/rethinkdb/rethinkdb-java) from 2.3.3 to 2.4.0.
- [Release notes](https://github.com/rethinkdb/rethinkdb-java/releases)
- [Commits](https://github.com/rethinkdb/rethinkdb-java/commits/v2.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-16 14:12:37 +00:00
GregTCLTK
ec6c8c7527
moving vlog #2 2020-02-16 15:10:46 +01:00
GregTCLTK
cab29c3340
Unused 2020-02-16 12:42:16 +01:00
GregTCLTK
0940478cd7
vll 2020-02-16 12:07:12 +01:00
GregTCLTK
a5e3c2a84f
Update version 2020-02-16 11:58:33 +01:00
GregTCLTK
578ee5bdc1
Add South Korean voice region 2020-02-16 11:53:49 +01:00
GregTCLTK
f26484b13b
m 2020-02-16 01:01:15 +01:00
Skidder
af2eaa72ad New translations Translations_en.properties (German)
New German translation
2020-02-16 00:40:57 +01:00
GregTCLTK
a533de3dd1
prevent error message 2020-02-16 00:35:04 +01:00
GregTCLTK
0b4ace9c80
Rename is to has 2020-02-16 00:34:28 +01:00
Skidder
0cf1f11c20 New translations Translations_en.properties (German)
New German translation
2020-02-16 00:31:03 +01:00
GregTCLTK
a46e2249c6
prevent error message 2020-02-16 00:27:16 +01:00
GregTCLTK
b5b18ac525
Better stuff 2020-02-16 00:22:43 +01:00
GregTCLTK
bf6ff1954c
fix 2020-02-15 21:09:37 +01:00
GregTCLTK
af7c114970
:^) 2020-02-15 20:58:00 +01:00
Skidder
d42bc8a872 New translations Translations_en.properties (German)
New German translation
2020-02-15 20:01:24 +01:00
Skidder
4d745c1842 New translations Translations_en.properties (German)
New German translation
2020-02-15 19:50:58 +01:00
Skidder
59b35bdb4b New translations Translations_en.properties (German)
New German translation
2020-02-15 19:41:02 +01:00
Skidder
7c68ecb8c2 New translations Translations_en.properties (German)
New German translation
2020-02-15 19:31:03 +01:00
GregTCLTK
18b8a86a7d
Echo command 2020-02-15 19:19:30 +01:00
GregTCLTK
b3784dea10
So much better 2020-02-15 19:11:37 +01:00
Skidder
56676c52e1
Merge pull request #370 from BigBotNetwork/greg-dev
v1.0.3
2020-02-15 14:37:32 +01:00
GregTCLTK
518fbe150a
Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2020-02-15 13:45:40 +01:00
GregTCLTK
2f14e96228
todo 2020-02-15 13:45:36 +01:00
Skidder
500164c391
Merge pull request #375 from BigBotNetwork/master
A
2020-02-13 15:43:48 +01:00
Skidder
f87ded15ac
Merge pull request #372 from BigBotNetwork/i18n
New Crowdin translations
2020-02-11 19:00:14 +01:00
Skidder
e047a9a5ee
Merge pull request #373 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_108
Bump JDA from 4.1.1_107 to 4.1.1_108
2020-02-10 14:19:55 +01:00
dependabot-preview[bot]
9785e85b07
Bump JDA from 4.1.1_107 to 4.1.1_108
Bumps JDA from 4.1.1_107 to 4.1.1_108.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 13:19:41 +00:00
Skidder
6cf18befd8 New translations Translations_en.properties (English)
New English translation
2020-02-09 19:11:18 +01:00
Skidder
fdc1e11f74 New translations Translations_en.properties (English)
New English translation
2020-02-09 19:02:03 +01:00
GregTCLTK
0cc33da8e4
Merge remote-tracking branch 'origin/greg-dev' into greg-dev 2020-02-08 03:19:40 +01:00
GregTCLTK
4a878d1b50
ds 2020-02-08 03:19:35 +01:00
Skidder
bf11d80665
Merge pull request #371 from BigBotNetwork/dependabot/maven/greg-dev/net.dv8tion-JDA-4.1.1_107
Bump JDA from 4.1.1_105 to 4.1.1_107
2020-02-07 14:30:50 +01:00
dependabot-preview[bot]
bf38422661
Bump JDA from 4.1.1_105 to 4.1.1_107
Bumps JDA from 4.1.1_105 to 4.1.1_107.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-07 13:30:39 +00:00
GregTCLTK
2419033d09
Introduce role assignment command 2020-02-07 13:00:14 +01:00
GregTCLTK
f2ff1ccc05
Remove botlist which no longer exists 2020-02-07 12:42:53 +01:00
GregTCLTK
62eb40a56c
Add one widget 2020-02-07 12:36:29 +01:00
GregTCLTK
1f3a9023d4
Some better stuff 2020-02-07 12:31:27 +01:00
GregTCLTK
f1894436d7
Update readme 2020-02-07 12:31:12 +01:00
GregTCLTK
faf3a35958 Version bump 2020-02-07 01:44:30 +01:00
GregTCLTK
c4ab4e085a Error msg 2020-02-07 01:35:12 +01:00
GregTCLTK
96eb486661
Error message 2020-02-07 00:39:27 +01:00
GregTCLTK
e178c724f9
Fix blacklist 2020-02-07 00:35:49 +01:00
Skidder
5523443501
Merge pull request #369 from BigBotNetwork/i18n
New Crowdin translations
2020-02-06 11:45:45 +01:00
Skidder
1eb6218641 New translations Translations_en.properties (Chinese Simplified)
New Chinese Simplified translation
2020-02-06 02:31:45 +01:00
Skidder
0350d41e1a New translations Translations_en.properties (Turkish)
New Turkish translation
2020-02-06 02:31:43 +01:00
Skidder
50bde9375d New translations Translations_en.properties (Russian)
New Russian translation
2020-02-06 02:31:42 +01:00
Skidder
8cfdb109e3 New translations Translations_en.properties (French)
New French translation
2020-02-06 02:31:41 +01:00
Skidder
944f8fc65a New translations Translations_en.properties (Spanish)
New Spanish translation
2020-02-06 02:31:39 +01:00
Skidder
d367426644 New translations Translations_en.properties (German)
New German translation
2020-02-06 02:31:37 +01:00
Skidder
fc214ac44a
Merge pull request #366 from BigBotNetwork/i18n
New Crowdin translations
2020-02-06 02:30:23 +01:00
Skidder
bd8a412ef4
Merge pull request #368 from BigBotNetwork/greg-dev
v1.0.2
2020-02-06 02:24:06 +01:00
GregTCLTK
c08d5290b9 Add extra fields 2020-02-05 01:40:12 +01:00
GregTCLTK
62adda7083 The real command 2020-02-05 01:30:05 +01:00
GregTCLTK
14166c1e35 More i18n 2020-02-05 01:29:53 +01:00
GregTCLTK
2e2614b951 Add i18n 2020-02-05 01:27:05 +01:00
GregTCLTK
db436aeb7f whitehouse.gov/sotu 2020-02-05 01:13:40 +01:00
GregTCLTK
eabaf6dd5c
Add features to serverstats 2020-02-04 15:01:36 +01:00
GregTCLTK
214b84d0c5
Remove unused disconnect 2020-02-04 15:01:16 +01:00
GregTCLTK
79d5d67b55
Update version 2020-02-03 22:07:21 +01:00
Hax
fb03036b91 Merge remote-tracking branch 'origin/greg-dev' into hax-dev 2020-02-03 17:00:45 +01:00
GregTCLTK
4bdbb6e0b9
Fix #365 2020-02-03 11:54:31 +01:00
Skidder
b64fa332eb
Merge pull request #367 from BigBotNetwork/master
A
2020-02-02 23:36:39 +01:00
Skidder
ab739a4850 New translations Translations_en.properties (German)
New German translation
2020-02-02 21:01:11 +01:00
115 changed files with 2554 additions and 2423 deletions

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View file

@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: BBN Holding Discord Support
url: https://discord.gg/nPwjaJk
about: Please ask questions here.

View file

@ -0,0 +1,28 @@
---
name: "💡 Feature request"
about: Submit your idea for a change in the codebase.
---
# Feature request
<!--
This issue should serve for you to present or pitch an idea to the maintainers - but remember that it would be better if you were to submit a PR instead 🤗
-->
## Why it is needed
<!--
Please tell us a bit more of why you want this feature to be added, what's its origin.
-->
## Possible implementation
<!--
It really helps if you could describe from a technical POV how this new feature would work, which code it rely on, etc.
-->
### Code sample
<!--
Please show how the new code could work, if doable.
-->

13
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: maven
directory: "/"
schedule:
interval: monthly
time: "13:00"
open-pull-requests-limit: 99
target-branch: greg-dev
assignees:
- GregTCLTK
labels:
- pending-deploy

View file

@ -6,11 +6,11 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2.3.4
- name: Set up JDK 1.13 - name: Set up JDK 15
uses: actions/setup-java@v1 uses: actions/setup-java@v1.4.3
with: with:
java-version: 1.13 java-version: '15'
- name: Build with Maven - name: Build with Maven
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml
@ -19,19 +19,20 @@ jobs:
needs: build needs: build
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2.3.4
- name: Set up JDK 1.13 - name: Set up JDK 15
uses: actions/setup-java@v1 uses: actions/setup-java@v1.4.3
with: with:
java-version: 1.13 java-version: '15'
- name: Build Final Jar - name: Build Final Jar
run: mvn clean compile assembly:single run: mvn clean compile assembly:single
- name: Copy folder content recursively to remote - name: Copy folder content recursively to remote
uses: garygrossgarten/github-action-scp@release uses: garygrossgarten/github-action-scp@release
with: with:
local: ./target/Hadder-Build.jar local: ./target/Hadder-Build.jar
remote: /home/Hadder-Build.jar remote: /root/bots/Hadder/Hadder-Build.jar
host: ${{ secrets.HOST }} host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }} password: ${{ secrets.PASSWORD }}
- name: executing remote ssh commands using password - name: executing remote ssh commands using password
@ -41,7 +42,7 @@ jobs:
username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }} password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }} port: ${{ secrets.PORT }}
script: /home/deploy.sh script: /root/bots/Hadder/deploy.sh
- name: Send Webhook Notification - name: Send Webhook Notification
if: always() if: always()
env: env:

View file

@ -57,7 +57,7 @@ If a community member engages in unacceptable behavior, the community organizers
## 7. Reporting Guidelines ## 7. Reporting Guidelines
If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible. admin@bigbotnetwork.com. If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible. admin@bbn.one.
@ -65,7 +65,7 @@ Additionally, community organizers are available to help community members engag
## 8. Addressing Grievances ## 8. Addressing Grievances
If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify BigBotNetwork with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies. If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify BBN with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies.
@ -77,7 +77,7 @@ This code of conduct and its related procedures also applies to unacceptable beh
## 10. Contact info ## 10. Contact info
admin@bigbotnetwork.com admin@bbn.one
## 11. License and attribution ## 11. License and attribution

View file

@ -69,7 +69,7 @@ further defined and clarified by project maintainers.
### Enforcement ### Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team on [Discord](https://discordapp.com/invite/58My2dM). All reported by contacting the project team on [Discord](https://discordapp.com/invite/nPwjaJk). All
complaints will be reviewed and investigated and will result in a response that complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident. obligated to maintain confidentiality with regard to the reporter of an incident.

View file

@ -2,18 +2,14 @@
Hadder Discord is a multi-purpose Discord bot with 100% uptime. Hadder Discord is a multi-purpose Discord bot with 100% uptime.
<a href="https://discord.gg/58My2dM"><img src="https://discordapp.com/api/guilds/448554629282922527/embed.png"/></a> <a href="https://discord.gg/nPwjaJk"><img src="https://discord.com/api/guilds/757966278936756345/embed.png"/></a>
[![Build Status](https://github.com/BigBotNetwork/Hadder/workflows/Hadder/badge.svg)](https://github.com/BigBotNetwork/Hadder) [![Build Status](https://github.com/BBN-Holding/Hadder/workflows/Hadder/badge.svg)](https://github.com/BBN-Holding/Hadder)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/ddb8cb7ec85f467caa691c175e1f01b5)](https://www.codacy.com/gh/BigBotNetwork/Hadder?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=BigBotNetwork/Hadder&amp;utm_campaign=Badge_Grade) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/ddb8cb7ec85f467caa691c175e1f01b5)](https://www.codacy.com/gh/BBN-Holding/Hadder?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=BBN-Holding/Hadder&amp;utm_campaign=Badge_Grade)
[![CodeFactor](https://www.codefactor.io/repository/github/bigbotnetwork/hadder/badge)](https://www.codefactor.io/repository/github/bigbotnetwork/hadder) [![CodeFactor](https://www.codefactor.io/repository/github/bigbotnetwork/hadder/badge)](https://www.codefactor.io/repository/github/bigbotnetwork/hadder)
[![Crowdin](https://badges.crowdin.net/e/bc0babde730eb3eada34778502a31b03/localized.svg)](https://bbn.crowdin.com/hadder) [![Crowdin](https://badges.crowdin.net/e/bc0babde730eb3eada34778502a31b03/localized.svg)](https://bbn.crowdin.com/hadder)
[![GitHub issues](https://img.shields.io/github/issues/BigBotNetwork/Hadder)](https://github.com/BigBotNetwork/Hadder/issues) [![GitHub issues](https://img.shields.io/github/issues/BBN-Holding/Hadder)](https://github.com/BBN-Holding/Hadder/issues)
[![GitHub license](https://img.shields.io/github/license/BigBotNetwork/Hadder)](https://github.com/BigBotNetwork/Hadder/blob/master/LICENSE) [![GitHub license](https://img.shields.io/github/license/BBN-Holding/Hadder)](https://github.com/BBN-Holding/Hadder/blob/master/LICENSE)
[![time tracker](https://wakatime.com/badge/github/BigBotNetwork/Hadder.svg)](https://wakatime.com/badge/github/BigBotNetwork/Hadder) [![time tracker](https://wakatime.com/badge/github/BBN-Holding/Hadder.svg)](https://wakatime.com/badge/github/BBN-Holding/Hadder)
[![Discord Extreme List](https://api.discordextremelist.xyz/v1/bot/637002314162372639/widget)](https://discordextremelist.xyz/bots/Hadder)
[![Discord Bots](https://top.gg/api/widget/637002314162372639.svg)](https://top.gg/bot/637002314162372639)
[![Hadder's Widget](https://api.botlist.space/widget/637002314162372639/2 "Hadder's Widget")](https://botlist.space/bot/637002314162372639?utm_source=bls&utm_medium=widget&utm_campaign=637002314162372639)
## Hadder Team ## Hadder Team
### Developer ### Developer
@ -23,34 +19,43 @@ Hax#6775
## A few commands ## A few commands
| **Command** | **Description** | | **Command** | **Description** |
|----------------|---------------------------------------------------------------| |----------------|---------------------------------------------------------------|
| h.help | Shows each command and explains its usage. | | h.about | Shows information about Hadder |
| h.about | Shows information about Hadder. | | h.avatar | Sends the avatar of the specified Member |
| h.equals | Checks if two strings are the same. | | h.ban | Bans one or more users from the server |
| h.invite | Shows the invite link to invite Hadder to your server. | | h.bass | Change the bass for the song which is played at the moment |
| h.ping | Shows the ping to the Discord API. | | h.clear | Deletes the specified number of messages |
| h.avatar | Sends the avatar of the specified member. | | h.clyde | Sends a message as a webhook named Clyde |
| h.gif | Looks for a GIF on Giphy. | | h.code | Shows information about a invite code |
| h.meme | Sends you a random meme. | | h.corona | Shows the newest stats of COVID-19 |
| h.clyde | Sends a message as a webhook named Clyde. | | h.echo | Sends your voice through Hadder |
| h.feedback | Sends feedback directly to the developers. | | h.editrules | Edits the rules message |
| h.github | Displays information about a GitHub user profile. | | h.equals | Checks if two strings are equal |
| h.screenshare | Shows you the link to share your screen. | | h.feedback | Sends feedback directly to the developers |
| h.ban | Bans one or more users from the server. | | h.gif | Looks for a GIF on Giphy |
| h.clear | Deletes the specified number of messages. | | h.github | Displays information about a GitHub user profile |
| h.prefix | Sets the Guild-Prefix. | | h.help | Shows each command and explains its usage |
| h.invitedetect | Activate or deactivate the Discord invite link detection. | | h.info | Shows information about the playing song |
| h.kick | Kicks one or more user from the server. | | h.invite | Shows the invitation link to invite Hadder to your server |
| h.nick | Rename a one or more user. | | h.invitedetect | Activate or deactivate the Discord invite link detection |
| h.regionchange | Changes the server region to locked regions. | | h.join | Joins your voice channel |
| h.kick | Kicks one or more user from the server |
| h.language | Sets the new primary language for a user |
| h.loop | Repeats a song/queue |
| h.meme | Sends you a random meme |
| h.moveall | Moves all users in the source channel to the target channel |
| h.nick | Rename a one or more user |
| h.pause | Pause the playing song |
| h.ping | Shows the ping to the Discord API |
| h.play | Plays the specified song |
| h.prefix | Sets the Guild-Prefix |
| h.profile | Shows some information about the specified user |
| h.queue | Shows the music queue |
| h.regionchange | Changes the server region to locked regions |
| h.role | Adds and removes one or more role(s) from one or more user(s) | | h.role | Adds and removes one or more role(s) from one or more user(s) |
| h.rules | Setup the rules on your Discord server | | h.rules | Setup the rules on your Discord server |
| h.starboard | Sets the starboard channel. | | h.screenshare | Shows you the link to share your screen |
| h.editrules | Edits the rules message. | | h.serverstats | Shows information about a server |
| h.join | Joins your voice channel. | | h.skip | Skips the currently playing song |
| h.leave | Leaves your voice channel. | | h.starboard | Sets the starboard channel |
| h.play | Plays the specified song. | | h.stop | Stops the song |
| h.stop | Stops the song. | | h.volume | Change the volume of the music |
| h.info | Shows information about the playing song. |
| h.queue | Shows the music queue. |
| h.skip | Skips the currently playing song. |
| h.volume | Change the volume of the music. |

View file

@ -1,4 +1,4 @@
base_url: 'https://bigbotnetwork.com' base_url: 'https://bbn.one'
commit_message: 'New %language% translation' commit_message: 'New %language% translation'
files: files:
- source: /src/main/resources/Translations/Translations_en.properties - source: /src/main/resources/Translations/Translations_en.properties

View file

@ -1,26 +1,17 @@
{ {
"Owners": "Owners": [
[], ],
"Database":{"IP":"", "Database": {
"IP": "",
"Port": 6775, "Port": 6775,
"DBName": "", "DBName": "",
"Username": "", "Username": "",
"Password": ""}, "Password": ""
},
"Tokens": { "Tokens": {
"BotToken": "", "BotToken": "",
"Giphy": "", "Giphy": "",
"GitHub": "", "GitHub": ""
"MythicalBotList": "",
"BotsForDiscord": "",
"DiscordBotList": "",
"DiscordBestBots": "",
"DiscordBoats": "",
"YetAnotherBotList": "",
"DiscordExtremeList": "",
"DiscordBotReviews": "",
"DiscordBots": "",
"BotListSpace": "",
"DiscordBots2": ""
}, },
"Clyde": "" "Clyde": ""
} }

115
pom.xml
View file

@ -1,18 +1,29 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>Hadder</groupId> <groupId>Hadder</groupId>
<artifactId>Hadder</artifactId> <artifactId>Hadder</artifactId>
<version>1.0.1</version> <version>2.0.4</version>
<name>Hadder</name> <name>Hadder</name>
<inceptionYear>2019</inceptionYear>
<description>Hadder is a multi-purpose Discord bot.</description>
<url>https://github.com/BBN-Holding/Hadder</url>
<licenses>
<license>
<name>GNU Affero General Public License v3.0</name>
<url>https://www.gnu.org/licenses/agpl-3.0.en.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.13</maven.compiler.source> <maven.compiler.source>1.15</maven.compiler.source>
<maven.compiler.target>1.13</maven.compiler.target> <maven.compiler.target>1.15</maven.compiler.target>
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format> <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
</properties> </properties>
@ -20,21 +31,23 @@
<developer> <developer>
<id>Hax#6775</id> <id>Hax#6775</id>
<name>Hax</name> <name>Hax</name>
<email>hax@bigbotnetwork.com</email> <email>hax@bbn.one</email>
<url>https://bigbotnetwork.com/</url> <url>https://bbn.one/</url>
<timezone>Europe/Berlin</timezone> <timezone>Europe/Berlin</timezone>
<properties> <properties>
<picUrl>https://cdn.discordapp.com/avatars/261083609148948488/f2c9efc629ef65fffa634f0d63cd467e.webp</picUrl> <picUrl>https://cdn.discordapp.com/avatars/261083609148948488/f2c9efc629ef65fffa634f0d63cd467e.webp
</picUrl>
</properties> </properties>
</developer> </developer>
<developer> <developer>
<id>Skidder#6775</id> <id>Skidder#6775</id>
<name>Greg</name> <name>Greg</name>
<email>skidder@bigbotnetwork.com</email> <email>skidder@bbn.one</email>
<url>https://bigbotnetwork.com/</url> <url>https://bbn.one/</url>
<timezone>Europe/Berlin</timezone> <timezone>Europe/Berlin</timezone>
<properties> <properties>
<picUrl>https://cdn.discordapp.com/avatars/477141528981012511/a_ba4bd8e5b381874edcd06a68d1acd3aa.gif</picUrl> <picUrl>https://cdn.discordapp.com/avatars/401817301919465482/a_f81bd03e3862de579dec59241714d86d.gif
</picUrl>
</properties> </properties>
</developer> </developer>
</developers> </developers>
@ -45,104 +58,64 @@
<name>jcenter-bintray</name> <name>jcenter-bintray</name>
<url>https://jcenter.bintray.com</url> <url>https://jcenter.bintray.com</url>
</repository> </repository>
<repository>
<id>dv8tion</id>
<name>m2-dv8tion</name>
<url>https://m2.dv8tion.net/releases</url>
</repository>
</repositories> </repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.maven</groupId> <groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId> <artifactId>maven-model</artifactId>
<version>3.6.3</version> <version>3.8.6</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.dv8tion</groupId> <groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId> <artifactId>JDA</artifactId>
<version>4.1.1_105</version> <version>4.4.0_352</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.json</groupId> <groupId>org.json</groupId>
<artifactId>json</artifactId> <artifactId>json</artifactId>
<version>20190722</version> <version>20220924</version>
</dependency>
<dependency>
<groupId>com.rethinkdb</groupId>
<artifactId>rethinkdb-driver</artifactId>
<version>2.3.3</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId> <artifactId>slf4j-simple</artifactId>
<version>1.7.30</version> <version>2.0.3</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>club.minnced</groupId> <groupId>club.minnced</groupId>
<artifactId>discord-webhooks</artifactId> <artifactId>discord-webhooks</artifactId>
<version>0.2.0</version> <version>0.8.2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.kohsuke</groupId> <groupId>org.kohsuke</groupId>
<artifactId>github-api</artifactId> <artifactId>github-api</artifactId>
<version>1.106</version> <version>1.313</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.sedmelluq</groupId> <groupId>com.sedmelluq</groupId>
<artifactId>lavaplayer</artifactId> <artifactId>lavaplayer</artifactId>
<version>1.3.34</version> <version>1.3.78</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-sync</artifactId>
<version>4.7.1</version>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<finalName>Hadder-Build</finalName>
<archive>
<manifest>
<mainClass>com.bbn.hadder.Hadder</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.8.2</version>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>
</pluginManagement>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration> <configuration>
<source>13</source> <source>15</source>
<target>13</target> <target>15</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
@ -151,7 +124,7 @@
<finalName>Hadder-Build</finalName> <finalName>Hadder-Build</finalName>
<archive> <archive>
<manifest> <manifest>
<mainClass>com.bbn.hadder.Hadder</mainClass> <mainClass>one.bbn.hadder.Hadder</mainClass>
</manifest> </manifest>
</archive> </archive>
<descriptorRefs> <descriptorRefs>

View file

@ -1,194 +0,0 @@
/*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.bbn.hadder;
import com.bbn.hadder.core.Config;
import com.rethinkdb.RethinkDB;
import com.rethinkdb.gen.exc.ReqlOpFailedError;
import com.rethinkdb.net.Connection;
import org.json.JSONArray;
import org.json.JSONObject;
import java.lang.reflect.Field;
import java.util.NoSuchElementException;
public class Rethink {
private RethinkDB r = RethinkDB.r;
private Connection conn;
private Config config;
Rethink(Config config) {
this.config = config;
}
public void connect() {
try {
conn = r.connection()
.hostname(config.getDatabaseIP())
.db(config.getDatabaseName())
.port(config.getDatabasePort())
.user(config.getDatabaseUsername(), config.getDatabasePassword())
.connect();
System.out.println("DB CONNECTED");
} catch (Exception e) {
e.printStackTrace();
System.out.println("DB CONNECTION FAILED");
}
}
public void disconnect() {
conn.close();
System.out.println("DISCONNECTED");
}
private JSONArray getAsArray(String table, String where, String value) {
try {
String string = r.table(table).filter(row -> row.g(where.toLowerCase()).eq(value)).coerceTo("array").toJson().run(conn);
return new JSONArray(string);
} catch (NoSuchElementException e) {
return null;
} catch (Exception e) {
e.printStackTrace();
}
return new JSONArray();
}
public Object get(String table, String where, String value, String column) {
JSONArray array = this.getAsArray(table, where, value);
if (array.length() > 0)
if (array.getJSONObject(0).has(column))
return array.getJSONObject(0).get(column);
else return null;
else return null;
}
public Object getByID(String table, String wherevalue, String column) {
return r.table(table).get(wherevalue).getField(column).run(conn);
}
public JSONObject getObjectByID(String table, String id) {
String response = r.table(table).get(id).toJson().run(conn);
return new JSONObject(response);
}
public void insert(String table, Object object) {
try {
r.table(table).insert(object).run(conn);
} catch (ClassCastException e) {
e.printStackTrace();
}
}
public void remove(String table, String where, String value) {
r.table(table).filter(row -> row.g(where.toLowerCase()).eq(value)).delete().run(conn);
}
public void setup() {
try {
r.dbCreate("Hadder").run(conn);
} catch (ReqlOpFailedError e) {
System.out.println(e.getMessage());
}
try {
r.tableCreate("server").run(conn);
} catch (ReqlOpFailedError e) {
System.out.println(e.getMessage());
}
try {
r.tableCreate("user").run(conn);
} catch (ReqlOpFailedError e) {
System.out.println(e.getMessage());
}
try {
r.tableCreate("stars").run(conn);
} catch (ReqlOpFailedError e) {
System.out.println(e.getMessage());
}
}
public void insertGuild(String id) {
this.insert("server", r
.hashMap("id", id)
.with("prefix", "h.")
.with("message_id", "")
.with("role_id", "")
.with("invite_detect", false)
.with("starboard", "")
.with("neededstars", "4")
);
}
public void insertUser(String id) {
this.insert("user", r
.hashMap("id", id)
.with("prefix", "h.")
.with("language", "en")
.with("blacklisted", "none"));
}
// TODO
public boolean hasStarboardChannel(String guild_id) {
return !this.getByID("server", guild_id, "starboard").equals("");
}
// TODO
public void insertStarboardMessage(String message_id, String guild_id, String starboard_message_id) {
this.insert("stars", r.hashMap("id", message_id).with("guild", guild_id).with("starboardmsg", starboard_message_id));
}
// TODO
public String getStarboardMessage(String message_id) {
return (String) this.getByID("stars", message_id, "starboardmsg");
}
// TODO
public void removeStarboardMessage(String message_id) {
this.remove("stars", "id", message_id);
}
// TODO
public boolean hasStarboardMessage(String message_id) {
return this.getByID("stars", message_id, "guild") != null;
}
public void pushServer(RethinkServer server) {
JSONObject object = new JSONObject();
for (Field field : server.getClass().getDeclaredFields()) {
if (!field.getName().equals("rethink")) {
try {
object.put(field.getName(), field.get(server));
} catch (IllegalAccessException e) {
e.printStackTrace();
}
}
}
r.table("server").get(server.getId()).update(object.toMap()).run(conn);
}
public void pushUser(RethinkUser user) {
JSONObject object = new JSONObject();
for (Field field : user.getClass().getDeclaredFields()) {
if (!field.getName().equals("rethink")) {
try {
object.put(field.getName(), field.get(user));
} catch (IllegalAccessException e) {
e.printStackTrace();
}
}
}
r.table("user").get(user.getId()).update(object.toMap()).run(conn);
}
}

View file

@ -1,61 +0,0 @@
/*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.bbn.hadder.audio;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer;
import com.sedmelluq.discord.lavaplayer.track.playback.AudioFrame;
import net.dv8tion.jda.api.audio.AudioSendHandler;
import javax.annotation.Nullable;
import java.nio.ByteBuffer;
public class AudioPlayerSendHandler implements AudioSendHandler {
private final AudioPlayer audioPlayer;
private AudioFrame lastFrame;
public AudioPlayerSendHandler(AudioPlayer audioPlayer) {
this.audioPlayer = audioPlayer;
}
@Override
public boolean canProvide() {
if (lastFrame == null) {
lastFrame = audioPlayer.provide();
}
return lastFrame != null;
}
@Nullable
@Override
public ByteBuffer provide20MsAudio() {
if (lastFrame == null) {
lastFrame = audioPlayer.provide();
}
byte[] data = lastFrame != null ? lastFrame.getData() : null;
lastFrame = null;
return ByteBuffer.wrap(data);
}
@Override
public boolean isOpus() {
return true;
}
}

View file

@ -1,101 +0,0 @@
/*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.bbn.hadder.commands.music;
import com.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms;
import net.dv8tion.jda.api.audio.*;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.managers.AudioManager;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.nio.ByteBuffer;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
@Perms(Perm.BOT_OWNER)
public class EchoCommand implements Command {
@Override
public void executed(String[] args, CommandEvent event) {
Guild guild = event.getMember().getVoiceState().getChannel().getGuild();
AudioManager audioManager = guild.getAudioManager();
EchoHandler handler = new EchoHandler();
if (!audioManager.isConnected()) {
audioManager.setSendingHandler(handler);
audioManager.setReceivingHandler(handler);
audioManager.openAudioConnection(event.getMember().getVoiceState().getChannel());
} else {
audioManager.closeAudioConnection();
}
}
public static class EchoHandler implements AudioSendHandler, AudioReceiveHandler {
private final Queue<byte[]> queue = new ConcurrentLinkedQueue<>();
@Override
public boolean canProvide() {
return !queue.isEmpty();
}
@Nullable
@Override
public ByteBuffer provide20MsAudio() {
byte[] data = queue.poll();
return data == null ? null : ByteBuffer.wrap(data); // Wrap this in a java.nio.ByteBuffer
}
@Override
public boolean canReceiveCombined() {
return queue.size() < 10;
}
@Override
public void handleCombinedAudio(@Nonnull CombinedAudio combinedAudio) {
if (combinedAudio.getUsers().isEmpty())
return;
byte[] data = combinedAudio.getAudioData(1.0f); // volume at 100% = 1.0 (50% = 0.5 / 55% = 0.55)
queue.add(data);
}
}
@Override
public String[] labels() {
return new String[]{"echo"};
}
@Override
public String description() {
return null;
}
@Override
public String usage() {
return null;
}
@Override
public String example() {
return null;
}
}

View file

@ -1,69 +0,0 @@
/*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.bbn.hadder.commands.music;
import com.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor;
public class LeaveCommand implements Command {
@Override
public void executed(String[] args, CommandEvent e) {
if (e.getGuild().getSelfMember().getVoiceState().inVoiceChannel()) {
if (e.getMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().getChannel().equals(e.getMember().getVoiceState().getChannel())) {
e.getGuild().getAudioManager().closeAudioConnection();
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(
MessageEditor.MessageType.INFO,
"commands.music.leave.success.title",
"commands.music.leave.success.description")
.build()).queue();
} else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR,
"commands.music.leave.error.channel.title",
"commands.music.leave.error.channel.description")
.build()).queue();
}
} else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(
MessageEditor.MessageType.ERROR,
"commands.music.leave.error.connected.tile",
"commands.music.leave.error.connected.description")
.build()).queue();
}
}
@Override
public String[] labels() {
return new String[]{"leave", "quit"};
}
@Override
public String description() {
return "commands.music.leave.help.description";
}
@Override
public String usage() {
return null;
}
@Override
public String example() {
return null;
}
}

View file

@ -1,86 +0,0 @@
/*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.bbn.hadder.listener;
import com.bbn.hadder.Rethink;
import com.bbn.hadder.RethinkServer;
import com.bbn.hadder.RethinkUser;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.ChannelType;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter;
import org.apache.maven.model.Model;
import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
import javax.annotation.Nonnull;
import java.io.FileReader;
import java.io.IOException;
import java.util.Random;
public class MentionListener extends ListenerAdapter {
private Rethink rethink;
public MentionListener(Rethink rethink) {
this.rethink = rethink;
}
@Override
public void onMessageReceived(@Nonnull MessageReceivedEvent e) {
if (!e.getAuthor().isBot()) {
RethinkServer rethinkServer = new RethinkServer(rethink.getObjectByID("server", e.getGuild().getId()), rethink);
RethinkUser rethinkUser = new RethinkUser(rethink.getObjectByID("user", e.getAuthor().getId()), rethink);
if (e.isFromType(ChannelType.TEXT) && (e.getMessage().getContentRaw().equals(e.getGuild().getSelfMember().getAsMention()) ||
e.getMessage().getContentRaw().equals(e.getGuild().getSelfMember().getAsMention().replace("@", "@!")))) {
MavenXpp3Reader reader = new MavenXpp3Reader();
Model model = null;
try {
model = reader.read(new FileReader("pom.xml"));
} catch (IOException | XmlPullParserException ex) {
ex.printStackTrace();
}
EmbedBuilder builder = new EmbedBuilder()
.setTitle("Hi!")
.addField("Version", model.getVersion(), false)
.addField("User-Prefix", rethinkUser.getPrefix(), true)
.addField("Guild-Prefix", rethinkServer.getPrefix(), true);
StringBuilder stringBuilder = new StringBuilder();
model.getDependencies().forEach(
dependency -> stringBuilder.append(dependency.getArtifactId()).append(" - ").append(dependency.getVersion()).append("\n")
);
builder.addField("Dependencies", stringBuilder.toString(), false);
StringBuilder devs = new StringBuilder();
//TODO: Fix Mail stuff
model.getDevelopers().forEach(
developer -> devs.append(developer.getId()).append(" - [Website](").append(developer.getUrl()).append("), [E-Mail](https://hax.bigbotnetwork.de/redirect.html?url=mailto:").append(developer.getEmail()).append(")\n")
);
builder.addField("Developer", devs.toString(), false);
builder.addField("Join our Dev Server!", "[Click here!](https://discord.gg/58My2dM)", true);
builder.addField("Github", "[Click here!](https://github.com/BigBotNetwork/Hadder)",false);
builder.addField("Twitch", "[Click here!](https://www.twitch.tv/bigbotnetwork)", false);
e.getChannel().sendMessage(builder.build()).queue();
} else if (e.getMessage().getContentRaw().equalsIgnoreCase("@someone")) {
int member = new Random().nextInt(e.getGuild().getMembers().size() - 1);
if (member > 0 && member < e.getGuild().getMembers().size()) {
e.getChannel().sendMessage(e.getGuild().getMembers().get(member).getAsMention() + " (Executed by: " + e.getAuthor().getAsTag() + ")").queue();
}
}
}
}
}

View file

@ -1,230 +0,0 @@
/*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.bbn.hadder.utils;
import com.bbn.hadder.Hadder;
import com.bbn.hadder.core.Config;
import okhttp3.MediaType;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
import org.json.JSONObject;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
public class BotList {
private static String MythicalBotList = "https://mythicalbots.xyz/api/bot/637002314162372639";
private static String BotsForDiscord = "https://botsfordiscord.com/api/bot/637002314162372639";
private static String DiscordBotList = "https://discordbotlist.com/api/bots/637002314162372639/stats";
private static String DiscordBoats = "https://discord.boats/api/bot/637002314162372639";
private static String YetAnotherBotList = "https://yabl.xyz/api/bot/637002314162372639/stats";
private static String DiscordExtremeList = "https://api.discordextremelist.xyz/v1/bot/637002314162372639";
private static String DiscordBotReviews = "https://discordbotreviews.xyz/api/bot/637002314162372639/stats";
private static String DiscordBots = "https://top.gg/api/bots/637002314162372639/stats";
private static String BotListSpace = "https://api.botlist.space/v1/bots/637002314162372639";
private static String DiscordBots2 = "https://discord.bots.gg/api/v1/bots/637002314162372639/stats";
private static String CloudList = "https://www.cloudlist.xyz/api/stats/637002314162372639";
private Config config;
public BotList(Config config) {
this.config = config;
}
public void post() {
if (Files.notExists(Paths.get("./DEBUG"))) {
JSONObject json = new JSONObject();
json.put("server_count", Hadder.shardManager.getGuilds().size());
json.put("guildCount", Hadder.shardManager.getGuilds().size());
json.put("guilds", Hadder.shardManager.getGuilds().size());
json.put("count", Hadder.shardManager.getGuilds().size());
json.put("users", Hadder.shardManager.getUsers().size());
json.put("shard_count", Hadder.shardManager.getShards().size());
json.put("shardCount", Hadder.shardManager.getShards().size());
RequestBody body = RequestBody.create(MediaType.parse("application/json"), json.toString());
// Mythical Bot List
Request mythicalbotlist = new Request.Builder()
.url(MythicalBotList)
.post(body)
.addHeader("Authorization", config.getMythicalBotListToken())
.build();
try {
new OkHttpClient().newCall(mythicalbotlist).execute().close();
System.out.println("Successfully posted count for the Mythical Bot List!");
} catch (IOException e) {
e.printStackTrace();
}
// BotsForDiscord
Request botsfordiscord = new Request.Builder()
.url(BotsForDiscord)
.post(body)
.addHeader("Authorization", config.getBotsForDiscordToken())
.build();
try {
new OkHttpClient().newCall(botsfordiscord).execute().close();
System.out.println("Successfully posted count to Bots For Discord!");
} catch (IOException e) {
e.printStackTrace();
}
// Discord Bot List
Request discordbotlist = new Request.Builder()
.url(DiscordBotList)
.post(body)
.addHeader("Authorization", "Bot " + config.getDiscordBotListToken())
.build();
try {
new OkHttpClient().newCall(discordbotlist).execute().close();
System.out.println("Successfully posted count for the Discord Bot List!");
} catch (IOException e) {
e.printStackTrace();
}
// Discord Boats
Request discordboats = new Request.Builder()
.url(DiscordBoats)
.post(body)
.addHeader("Authorization", config.getDiscordBoatsToken())
.build();
try {
new OkHttpClient().newCall(discordboats).execute().close();
System.out.println("Successfully posted count to Discord Boats!");
} catch (IOException e) {
e.printStackTrace();
}
// Yet Another Bot List
Request yetanotherbotlist = new Request.Builder()
.url(YetAnotherBotList)
.post(body)
.addHeader("Authorization", config.getYetAnotherBotListToken())
.build();
try {
new OkHttpClient().newCall(yetanotherbotlist).execute().close();
System.out.println("Successfully posted count to Yet Another Bot List!");
} catch (IOException e) {
e.printStackTrace();
}
// Discord Extreme List
Request discordextremelist = new Request.Builder()
.url(DiscordExtremeList)
.post(body)
.addHeader("Authorization", config.getDiscordExtremeListToken())
.build();
try {
new OkHttpClient().newCall(discordextremelist).execute().close();
System.out.println("Successfully posted count for the Discord Extreme List!");
} catch (IOException e) {
e.printStackTrace();
}
// Discord Bot Reviews
Request discordbotreviews = new Request.Builder()
.url(DiscordBotReviews)
.post(body)
.addHeader("Authorization", config.getDiscordBotReviewsToken())
.build();
try {
new OkHttpClient().newCall(discordbotreviews).execute().close();
System.out.println("Successfully posted count to Discord Bot Reviews!");
} catch (IOException e) {
e.printStackTrace();
}
// Discord Bots
Request discordbots = new Request.Builder()
.url(DiscordBots)
.post(body)
.addHeader("Authorization", config.getDiscordBotsToken())
.build();
try {
new OkHttpClient().newCall(discordbots).execute().close();
System.out.println("Successfully posted count to Discord Bots!");
} catch (IOException e) {
e.printStackTrace();
}
// BotListSpace
Request botlistspace = new Request.Builder()
.url(BotListSpace)
.post(body)
.addHeader("Authorization", config.getBotListSpaceToken())
.build();
try {
new OkHttpClient().newCall(botlistspace).execute().close();
System.out.println("Successfully posted count to BotList.Space!");
} catch (IOException e) {
e.printStackTrace();
}
// Discord Bots 2
Request discordbots2 = new Request.Builder()
.url(DiscordBots2)
.post(body)
.addHeader("Authorization", config.getDiscordBots2Token())
.build();
try {
new OkHttpClient().newCall(discordbots2).execute().close();
System.out.println("Successfully posted count to discord.bots.gg!");
} catch (IOException e) {
e.printStackTrace();
}
// CloudList
Request cloudlist = new Request.Builder()
.url(CloudList)
.post(body)
.addHeader("Authorization", config.getCloudListToken())
.build();
try {
new OkHttpClient().newCall(cloudlist).execute().close();
System.out.println("Successfully posted count to the CloudList!");
} catch (IOException e) {
e.printStackTrace();
}
}
}
}

View file

@ -14,21 +14,29 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder; package one.bbn.hadder;
import com.bbn.hadder.audio.AudioManager; import net.dv8tion.jda.api.utils.cache.CacheFlag;
import com.bbn.hadder.commands.general.*; import one.bbn.hadder.audio.AudioManager;
import com.bbn.hadder.commands.misc.*; import one.bbn.hadder.commands.fun.AvatarCommand;
import com.bbn.hadder.commands.moderation.*; import one.bbn.hadder.commands.fun.ClydeCommand;
import com.bbn.hadder.commands.nsfw.*; import one.bbn.hadder.commands.fun.GifCommand;
import com.bbn.hadder.commands.owner.*; import one.bbn.hadder.commands.fun.MemeCommand;
import com.bbn.hadder.commands.fun.*; import one.bbn.hadder.commands.general.*;
import com.bbn.hadder.commands.settings.*; import one.bbn.hadder.commands.misc.*;
import com.bbn.hadder.commands.music.*; import one.bbn.hadder.commands.moderation.*;
import com.bbn.hadder.core.*; import one.bbn.hadder.commands.music.*;
import com.bbn.hadder.listener.*; import one.bbn.hadder.commands.nsfw.*;
import one.bbn.hadder.commands.owner.*;
import one.bbn.hadder.commands.settings.LanguageCommand;
import one.bbn.hadder.commands.settings.UserPrefixCommand;
import one.bbn.hadder.core.CommandHandler;
import one.bbn.hadder.core.Config;
import one.bbn.hadder.db.Mongo;
import one.bbn.hadder.listener.*;
import net.dv8tion.jda.api.OnlineStatus; import net.dv8tion.jda.api.OnlineStatus;
import net.dv8tion.jda.api.entities.Activity; import net.dv8tion.jda.api.entities.Activity;
import net.dv8tion.jda.api.requests.GatewayIntent;
import net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder; import net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder;
import net.dv8tion.jda.api.sharding.ShardManager; import net.dv8tion.jda.api.sharding.ShardManager;
import net.dv8tion.jda.api.utils.ChunkingFilter; import net.dv8tion.jda.api.utils.ChunkingFilter;
@ -48,18 +56,19 @@ public class Hadder {
if (!config.fileExists()) config.create(); if (!config.fileExists()) config.create();
config.load(); config.load();
Rethink rethink = new Rethink(config); Mongo mongo = new Mongo(config);
rethink.connect(); mongo.connect();
DefaultShardManagerBuilder builder = new DefaultShardManagerBuilder(); DefaultShardManagerBuilder builder = DefaultShardManagerBuilder.create(GatewayIntent.getIntents(14053));
builder.setAutoReconnect(true); builder.setAutoReconnect(true);
builder.setShardsTotal(1); builder.setShardsTotal(1);
builder.setChunkingFilter(ChunkingFilter.ALL); builder.setChunkingFilter(ChunkingFilter.NONE);
builder.setBulkDeleteSplittingEnabled(true); builder.setBulkDeleteSplittingEnabled(true);
builder.setActivity(Activity.listening("to h.help")); builder.setActivity(Activity.listening("h.help"));
builder.setStatus(OnlineStatus.DO_NOT_DISTURB); builder.setStatus(OnlineStatus.DO_NOT_DISTURB);
builder.setToken(config.getBotToken()); builder.setToken(config.getBotToken());
builder.disableCache(CacheFlag.ACTIVITY, CacheFlag.EMOTE, CacheFlag.CLIENT_STATUS);
HelpCommand helpCommand = new HelpCommand(); HelpCommand helpCommand = new HelpCommand();
AudioManager audioManager = new AudioManager(); AudioManager audioManager = new AudioManager();
@ -97,7 +106,6 @@ public class Hadder {
new AvatarCommand(), new AvatarCommand(),
new EvalCommand(), new EvalCommand(),
new JoinCommand(), new JoinCommand(),
new LeaveCommand(),
new GuildLeaveCommand(), new GuildLeaveCommand(),
new MemeCommand(), new MemeCommand(),
new InviteDetectCommand(), new InviteDetectCommand(),
@ -125,18 +133,22 @@ public class Hadder {
new BassCommand(), new BassCommand(),
new EchoCommand(), new EchoCommand(),
new ServerStatsCommand(), new ServerStatsCommand(),
new ProfileCommand()), config, helpCommand); new ProfileCommand(),
new CodeCommand(),
new MoveAllCommand(),
new CoronaCommand()), config, helpCommand);
builder.addEventListeners( builder.addEventListeners(
new MentionListener(rethink), new MentionListener(mongo, config),
new PrivateMessageListener(rethink), new PrivateMessageListener(mongo),
new CommandListener(rethink, commandHandler, audioManager), new CommandListener(mongo, commandHandler, audioManager),
new GuildListener(rethink, config), new GuildListener(mongo, config),
new ReadyListener(rethink, config), new ReadyListener(config),
new InviteLinkListener(rethink), new InviteLinkListener(mongo),
new RulesListener(rethink), new RulesListener(mongo),
new StarboardListener(rethink), new StarboardListener(mongo),
new VoiceLeaveListener(audioManager)); new VoiceLeaveListener(audioManager),
new OwnerMessageListener(config));
try { try {
shardManager = builder.build(); shardManager = builder.build();

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.audio; package one.bbn.hadder.audio;
import com.sedmelluq.discord.lavaplayer.track.AudioTrack; import com.sedmelluq.discord.lavaplayer.track.AudioTrack;
import net.dv8tion.jda.api.entities.Member; import net.dv8tion.jda.api.entities.Member;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,14 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.audio; package one.bbn.hadder.audio;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import com.sedmelluq.discord.lavaplayer.player.*; import com.sedmelluq.discord.lavaplayer.player.AudioLoadResultHandler;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager;
import com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager;
import com.sedmelluq.discord.lavaplayer.source.AudioSourceManagers; import com.sedmelluq.discord.lavaplayer.source.AudioSourceManagers;
import com.sedmelluq.discord.lavaplayer.tools.FriendlyException; import com.sedmelluq.discord.lavaplayer.tools.FriendlyException;
import com.sedmelluq.discord.lavaplayer.track.AudioPlaylist; import com.sedmelluq.discord.lavaplayer.track.AudioPlaylist;
@ -76,6 +79,7 @@ public class AudioManager {
@Override @Override
public void trackLoaded(AudioTrack track) { public void trackLoaded(AudioTrack track) {
if (getTrackManager(guild).getQueuedTracks().isEmpty()) {
getTrackManager(guild).queue(track, event.getMember()); getTrackManager(guild).queue(track, event.getMember());
msg.editMessage(event.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, msg.editMessage(event.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"commands.music.play.success.loading.title", "", "commands.music.play.success.loading.title", "",
@ -87,6 +91,19 @@ public class AudioManager {
TimeUnit.MILLISECONDS.toMinutes(track.getInfo().length) % TimeUnit.HOURS.toMinutes(1), TimeUnit.MILLISECONDS.toMinutes(track.getInfo().length) % TimeUnit.HOURS.toMinutes(1),
TimeUnit.MILLISECONDS.toSeconds(track.getInfo().length) % TimeUnit.MINUTES.toSeconds(1)), true) TimeUnit.MILLISECONDS.toSeconds(track.getInfo().length) % TimeUnit.MINUTES.toSeconds(1)), true)
.build()).queue(); .build()).queue();
} else {
getTrackManager(guild).queue(track, event.getMember());
msg.editMessage(event.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"commands.music.play.success.queueing.title", "",
"", "")
.addField(event.getMessageEditor().getTerm("commands.music.play.success.title"), track.getInfo().title, false)
.addField(event.getMessageEditor().getTerm("commands.music.play.success.author"), track.getInfo().author, true)
.addField(event.getMessageEditor().getTerm("commands.music.play.success.length"),
String.format("%02d:%02d:%02d", TimeUnit.MILLISECONDS.toHours(track.getInfo().length),
TimeUnit.MILLISECONDS.toMinutes(track.getInfo().length) % TimeUnit.HOURS.toMinutes(1),
TimeUnit.MILLISECONDS.toSeconds(track.getInfo().length) % TimeUnit.MINUTES.toSeconds(1)), true)
.build()).queue();
}
} }
@Override @Override
@ -148,5 +165,4 @@ public class AudioManager {
s = s - (minutes * 60); s = s - (minutes * 60);
return (hours == 0 ? "" : hours + ":") + String.format("%02d", minutes) + ":" + String.format("%02d", s); return (hours == 0 ? "" : hours + ":") + String.format("%02d", minutes) + ":" + String.format("%02d", s);
} }
} }

View file

@ -0,0 +1,87 @@
/*
* Copyright 2019-2021 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package one.bbn.hadder.audio;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer;
import com.sedmelluq.discord.lavaplayer.track.playback.AudioFrame;
import net.dv8tion.jda.api.audio.AudioReceiveHandler;
import net.dv8tion.jda.api.audio.AudioSendHandler;
import net.dv8tion.jda.api.audio.CombinedAudio;
import javax.annotation.Nullable;
import java.nio.ByteBuffer;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
public class AudioPlayerSendHandler implements AudioSendHandler, AudioReceiveHandler {
private final AudioPlayer audioPlayer;
private AudioFrame lastFrame;
private final Queue<byte[]> queue = new ConcurrentLinkedQueue<>();
public AudioPlayerSendHandler(AudioPlayer audioPlayer) {
this.audioPlayer = audioPlayer;
}
@Override
public boolean canProvide() {
if (audioPlayer.getPlayingTrack() == null)
return !queue.isEmpty();
else if (lastFrame == null) {
lastFrame = audioPlayer.provide();
return lastFrame != null;
}
return false;
}
@Nullable
@Override
public ByteBuffer provide20MsAudio() {
if (audioPlayer.getPlayingTrack() == null) {
byte[] data = queue.poll();
return data == null ? null : ByteBuffer.wrap(data);
} else {
if (lastFrame == null) {
lastFrame = audioPlayer.provide();
}
byte[] data = lastFrame != null ? lastFrame.getData() : null;
lastFrame = null;
return ByteBuffer.wrap(data);
}
}
@Override
public boolean canReceiveCombined() {
return queue.size() < 10;
}
@Override
public void handleCombinedAudio(CombinedAudio combinedAudio) {
if (combinedAudio.getUsers().isEmpty())
return;
byte[] data = combinedAudio.getAudioData(1.0f);
queue.add(data);
}
@Override
public boolean isOpus() {
return audioPlayer.getPlayingTrack() != null;
}
}

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.audio; package one.bbn.hadder.audio;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer; import com.sedmelluq.discord.lavaplayer.player.AudioPlayer;
import com.sedmelluq.discord.lavaplayer.player.event.AudioEventAdapter; import com.sedmelluq.discord.lavaplayer.player.event.AudioEventAdapter;
@ -24,7 +24,9 @@ import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.Member; import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.VoiceChannel; import net.dv8tion.jda.api.entities.VoiceChannel;
import java.util.*; import java.util.LinkedHashSet;
import java.util.Queue;
import java.util.Set;
import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.LinkedBlockingQueue;
public class TrackManager extends AudioEventAdapter { public class TrackManager extends AudioEventAdapter {
@ -63,17 +65,19 @@ public class TrackManager extends AudioEventAdapter {
@Override @Override
public void onTrackEnd(AudioPlayer player, AudioTrack track, AudioTrackEndReason endReason) { public void onTrackEnd(AudioPlayer player, AudioTrack track, AudioTrackEndReason endReason) {
Guild g = queue.poll().getAuthor().getGuild();
this.lastTrack = track;
if (loop) { if (loop) {
this.lastTrack = track;
player.playTrack(lastTrack.makeClone()); player.playTrack(lastTrack.makeClone());
} else if (queue.isEmpty()) { } else {
Guild g = queue.poll().getAuthor().getGuild();
manager.getPlayer(g).stopTrack();
if (!queue.isEmpty()) player.playTrack(queue.element().getTrack().makeClone());
else {
manager.players.remove(g.getId()); manager.players.remove(g.getId());
manager.getPlayer(g).destroy(); manager.getPlayer(g).destroy();
manager.getTrackManager(g).purgeQueue(); manager.getTrackManager(g).purgeQueue();
g.getAudioManager().closeAudioConnection(); g.getAudioManager().closeAudioConnection();
} else { }
player.playTrack(queue.element().getTrack());
} }
} }
@ -89,17 +93,11 @@ public class TrackManager extends AudioEventAdapter {
queue.remove(entry); queue.remove(entry);
} }
public boolean isLoop() public boolean isLoop() {
{
return loop; return loop;
} }
public void setLoop(boolean repeating) public void setLoop(boolean repeating) {
{
this.loop = repeating; this.loop = repeating;
} }
public AudioInfo getTrackInfo(AudioTrack track) {
return queue.stream().filter(audioInfo -> audioInfo.getTrack().equals(track)).findFirst().orElse(null);
}
} }

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands; package one.bbn.hadder.commands;
public interface Command { public interface Command {
void executed(String[] args, CommandEvent e); void executed(String[] args, CommandEvent e);

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,17 +14,17 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands; package one.bbn.hadder.commands;
import com.bbn.hadder.Rethink; import one.bbn.hadder.audio.AudioManager;
import com.bbn.hadder.RethinkServer; import one.bbn.hadder.commands.general.HelpCommand;
import com.bbn.hadder.RethinkUser; import one.bbn.hadder.core.CommandHandler;
import com.bbn.hadder.audio.AudioManager; import one.bbn.hadder.core.Config;
import com.bbn.hadder.commands.general.HelpCommand; import one.bbn.hadder.db.Mongo;
import com.bbn.hadder.core.CommandHandler; import one.bbn.hadder.db.MongoServer;
import com.bbn.hadder.core.Config; import one.bbn.hadder.db.MongoUser;
import com.bbn.hadder.utils.EventWaiter; import one.bbn.hadder.utils.EventWaiter;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.JDA; import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.entities.Message; import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
@ -33,34 +33,34 @@ import javax.annotation.Nonnull;
public class CommandEvent extends MessageReceivedEvent { public class CommandEvent extends MessageReceivedEvent {
private Rethink rethink; private Mongo mongo;
private Config config; private Config config;
private CommandHandler commandHandler; private CommandHandler commandHandler;
private HelpCommand helpCommand; private HelpCommand helpCommand;
private MessageEditor messageEditor; private MessageEditor messageEditor;
private EventWaiter eventWaiter; private EventWaiter eventWaiter;
private AudioManager audioManager; private AudioManager audioManager;
private RethinkUser rethinkUser; private MongoUser mongoUser;
private RethinkServer rethinkServer; private MongoServer mongoServer;
public CommandEvent(@Nonnull JDA api, long responseNumber, @Nonnull Message message, Rethink rethink, Config config, public CommandEvent(@Nonnull JDA api, long responseNumber, @Nonnull Message message, Mongo mongo, Config config,
CommandHandler commandHandler, HelpCommand helpCommand, MessageEditor messageEditor, CommandHandler commandHandler, HelpCommand helpCommand, MessageEditor messageEditor,
EventWaiter eventWaiter, AudioManager audioManager, RethinkUser rethinkUser, EventWaiter eventWaiter, AudioManager audioManager, MongoUser mongoUser,
RethinkServer rethinkServer) { MongoServer mongoServer) {
super(api, responseNumber, message); super(api, responseNumber, message);
this.rethink = rethink; this.mongo = mongo;
this.config = config; this.config = config;
this.commandHandler = commandHandler; this.commandHandler = commandHandler;
this.helpCommand = helpCommand; this.helpCommand = helpCommand;
this.messageEditor = messageEditor; this.messageEditor = messageEditor;
this.eventWaiter = eventWaiter; this.eventWaiter = eventWaiter;
this.audioManager = audioManager; this.audioManager = audioManager;
this.rethinkUser = rethinkUser; this.mongoUser = mongoUser;
this.rethinkServer = rethinkServer; this.mongoServer = mongoServer;
} }
public Rethink getRethink() { public Mongo getMongo() {
return rethink; return mongo;
} }
public Config getConfig() { public Config getConfig() {
@ -87,11 +87,11 @@ public class CommandEvent extends MessageReceivedEvent {
return audioManager; return audioManager;
} }
public RethinkServer getRethinkServer() { public MongoServer getMongoServer() {
return rethinkServer; return mongoServer;
} }
public RethinkUser getRethinkUser() { public MongoUser getMongoUser() {
return rethinkUser; return mongoUser;
} }
} }

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.fun; package one.bbn.hadder.commands.fun;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.entities.User; import net.dv8tion.jda.api.entities.User;
import okhttp3.OkHttpClient; import okhttp3.OkHttpClient;
import okhttp3.Request; import okhttp3.Request;
@ -70,7 +70,7 @@ public class AvatarCommand implements Command {
} catch (NullPointerException ignore) { } catch (NullPointerException ignore) {
OkHttpClient client = new OkHttpClient(); OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder().url("https://canary.discordapp.com/api/v6/users/" + args[0]).addHeader("Authorization", "Bot " + e.getConfig().getBotToken()).build(); Request request = new Request.Builder().url("https://canary.discord.com/api/v8/users/" + args[0]).addHeader("Authorization", "Bot " + e.getConfig().getBotToken()).build();
try { try {
Response response = client.newCall(request).execute(); Response response = client.newCall(request).execute();

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,15 +14,15 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.fun; package one.bbn.hadder.commands.fun;
import club.minnced.discord.webhook.WebhookClient; import club.minnced.discord.webhook.WebhookClient;
import club.minnced.discord.webhook.WebhookClientBuilder; import club.minnced.discord.webhook.WebhookClientBuilder;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.Permission; import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.Icon; import net.dv8tion.jda.api.entities.Icon;
import net.dv8tion.jda.api.entities.TextChannel; import net.dv8tion.jda.api.entities.TextChannel;
@ -40,7 +40,7 @@ public class ClydeCommand implements Command {
if (args.length > 0) { if (args.length > 0) {
if (e.getGuild().getSelfMember().hasPermission(Permission.MANAGE_WEBHOOKS)) { if (e.getGuild().getSelfMember().hasPermission(Permission.MANAGE_WEBHOOKS)) {
TextChannel channel = e.getMessage().getTextChannel(); TextChannel channel = e.getMessage().getTextChannel();
String content = e.getMessage().getContentRaw().replace(e.getRethinkServer().getPrefix(), "").replace(e.getRethinkUser().getPrefix(), "").replace("clyde", ""); String content = e.getMessage().getContentRaw().replace(e.getMongoServer().getPrefix(), "").replace(e.getMongoUser().getPrefix(), "").replace("clyde", "");
Webhook webhook = channel.createWebhook(e.getConfig().getClydeName()).complete(); Webhook webhook = channel.createWebhook(e.getConfig().getClydeName()).complete();
try { try {
@ -66,9 +66,8 @@ public class ClydeCommand implements Command {
} }
webhook.delete().queue(); webhook.delete().queue();
e.getMessage().delete().queue(); e.getMessage().delete().queue();
} else { } else
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.NO_SELF_PERMISSION).build()).queue(); e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.NO_SELF_PERMISSION).build()).queue();
}
} else e.getHelpCommand().sendHelp(this, e); } else e.getHelpCommand().sendHelp(this, e);
} }

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.fun; package one.bbn.hadder.commands.fun;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import okhttp3.OkHttpClient; import okhttp3.OkHttpClient;
import okhttp3.Request; import okhttp3.Request;
import okhttp3.Response; import okhttp3.Response;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.fun; package one.bbn.hadder.commands.fun;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import okhttp3.OkHttpClient; import okhttp3.OkHttpClient;
import okhttp3.Request; import okhttp3.Request;
import okhttp3.Response; import okhttp3.Response;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.general; package one.bbn.hadder.commands.general;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
public class AboutCommand implements Command { public class AboutCommand implements Command {
@ -30,7 +30,7 @@ public class AboutCommand implements Command {
"commands.general.about.success.title", "commands.general.about.success.title",
"commands.general.about.success.description") "commands.general.about.success.description")
.addField(e.getMessageEditor().getTerm("commands.general.about.success.field.one.title"), e.getMessageEditor().getTerm("commands.general.about.success.field.one.description", "(https://donatebot.io/checkout/448554629282922527?buyer=" + e.getAuthor().getId() + "). :smiley:", ""), true) .addField(e.getMessageEditor().getTerm("commands.general.about.success.field.one.title"), e.getMessageEditor().getTerm("commands.general.about.success.field.one.description", "(https://donatebot.io/checkout/448554629282922527?buyer=" + e.getAuthor().getId() + "). :smiley:", ""), true)
.setThumbnail("https://bigbotnetwork.com/images/Hadder.png") .setThumbnail("https://bbn.one/images/Hadder.png")
.build()).queue(); .build()).queue();
} }

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.general; package one.bbn.hadder.commands.general;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.EventWaiter; import one.bbn.hadder.utils.EventWaiter;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
public class EqualsCommand implements Command { public class EqualsCommand implements Command {
@ -41,10 +41,10 @@ public class EqualsCommand implements Command {
String secondString = msge2.getMessage().getContentRaw(); String secondString = msge2.getMessage().getContentRaw();
e.getChannel().sendMessage( e.getChannel().sendMessage(
e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setTitle((firstString.equals(secondString)) ? e.getMessageEditor().getTerm( "commands.general.equals.string.equals.true") : e.getMessageEditor().getTerm( "commands.general.equals.string.equals.false")) .setTitle((firstString.equals(secondString)) ? e.getMessageEditor().getTerm("commands.general.equals.string.equals.true") : e.getMessageEditor().getTerm("commands.general.equals.string.equals.false"))
.addField(e.getMessageEditor().getTerm( "commands.general.equals.string.first"), firstString, false) .addField(e.getMessageEditor().getTerm("commands.general.equals.string.first"), firstString, false)
.addField(e.getMessageEditor().getTerm( "commands.general.equals.string.second"), secondString, false) .addField(e.getMessageEditor().getTerm("commands.general.equals.string.second"), secondString, false)
.addField(e.getMessageEditor().getTerm( "commands.general.equals.string.result"), String.valueOf(firstString.equals(secondString)), false) .addField(e.getMessageEditor().getTerm("commands.general.equals.string.result"), String.valueOf(firstString.equals(secondString)), false)
.build()).queue(); .build()).queue();
}, e.getJDA(), e.getAuthor()); }, e.getJDA(), e.getAuthor());
}, e.getJDA(), e.getAuthor()); }, e.getJDA(), e.getAuthor());

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.general; package one.bbn.hadder.commands.general;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.Permission; import net.dv8tion.jda.api.Permission;
@ -79,10 +79,10 @@ public class HelpCommand implements Command {
StringBuilder b = new StringBuilder(); StringBuilder b = new StringBuilder();
b.append(e.getMessageEditor().getTerm("commands.general.help.description")).append(" ").append(e.getMessageEditor().getTerm(cmd.description())).append("\n"); b.append(e.getMessageEditor().getTerm("commands.general.help.description")).append(" ").append(e.getMessageEditor().getTerm(cmd.description())).append("\n");
if (cmd.usage() != null) { if (cmd.usage() != null) {
b.append(e.getMessageEditor().getTerm("commands.general.help.usage")).append(" ").append(e.getRethinkServer().getPrefix()).append(name).append(" ").append(cmd.usage()).append("\n"); b.append(e.getMessageEditor().getTerm("commands.general.help.usage")).append(" ").append(e.getMongoServer().getPrefix()).append(name).append(" ").append(cmd.usage()).append("\n");
} }
if (cmd.example() != null) { if (cmd.example() != null) {
b.append(e.getMessageEditor().getTerm("commands.general.help.example")).append(" ").append(e.getRethinkServer().getPrefix()).append(name).append(" ").append(cmd.example()); b.append(e.getMessageEditor().getTerm("commands.general.help.example")).append(" ").append(e.getMongoServer().getPrefix()).append(name).append(" ").append(cmd.example());
} }
e.getChannel().sendMessage(e.getMessageEditor().getMessage( e.getChannel().sendMessage(e.getMessageEditor().getMessage(
MessageEditor.MessageType.INFO) MessageEditor.MessageType.INFO)

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.general; package one.bbn.hadder.commands.general;
import com.bbn.hadder.Hadder; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.utils.MessageEditor;
import com.bbn.hadder.utils.MessageEditor;
public class InviteCommand implements Command { public class InviteCommand implements Command {
@ -31,9 +30,9 @@ public class InviteCommand implements Command {
"commands.general.invite.success.title", "commands.general.invite.success.title",
"", "",
"commands.general.invite.success.description", "commands.general.invite.success.description",
"(https://discordapp.com/oauth2/authorize?client_id=" "(https://discord.com/oauth2/authorize?client_id="
+ Hadder.shardManager.getGuilds().get(0).getSelfMember().getId() + e.getJDA().getSelfUser().getId()
+ "&scope=bot&permissions=470133879)") + "&scope=bot&permissions=1043852663)")
.build()).queue(); .build()).queue();
} }

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.general; package one.bbn.hadder.commands.general;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
public class PingCommand implements Command { public class PingCommand implements Command {

View file

@ -0,0 +1,82 @@
/*
* Copyright 2019-2021 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package one.bbn.hadder.commands.misc;
import one.bbn.hadder.commands.Command;
import one.bbn.hadder.commands.CommandEvent;
import one.bbn.hadder.utils.MessageEditor;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import org.json.JSONException;
import org.json.JSONObject;
public class CodeCommand implements Command {
@Override
public void executed(String[] args, CommandEvent e) {
if (args.length > 0) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder().url("https://canary.discord.com/api/v8/invite/" + args[0] + "?with_counts=true").addHeader("Authorization", "Bot " + e.getConfig().getBotToken()).build();
try {
Response response = client.newCall(request).execute();
JSONObject json = new JSONObject(response.body().string());
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"commands.misc.code.success.title",
"commands.misc.code.success.description")
.addField("Code", "[" + args[0] + "](https://discord.gg/" + args[0] + ")", true)
.addField("Guild Name", json.getJSONObject("guild").getString("name"), true)
.addBlankField(true)
.addField("Verification Level", String.valueOf(json.getJSONObject("guild").getInt("verification_level")), true)
.addField("Guild ID", json.getJSONObject("guild").getString("id"), true)
.addBlankField(true)
.addField("Members", String.valueOf(json.get("approximate_member_count")), true)
.addBlankField(true)
.addBlankField(true)
.setThumbnail("https://cdn.discordapp.com/icons/" + json.getJSONObject("guild").getString("id") + "/" + json.getJSONObject("guild").getString("icon") + ".png")
.build()).queue();
} catch (JSONException ex) {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR,
"commands.misc.code.error.title",
"commands.misc.code.error.description").build()).queue();
} catch (Exception ex) {
ex.printStackTrace();
}
} else e.getHelpCommand().sendHelp(this, e);
}
@Override
public String[] labels() {
return new String[]{"code", "invite-code", "ic"};
}
@Override
public String description() {
return "commands.misc.code.help.description";
}
@Override
public String usage() {
return "[Invite-code]";
}
@Override
public String example() {
return "nPwjaJk";
}
}

View file

@ -0,0 +1,76 @@
/*
* Copyright 2019-2021 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package one.bbn.hadder.commands.misc;
import one.bbn.hadder.commands.Command;
import one.bbn.hadder.commands.CommandEvent;
import one.bbn.hadder.utils.MessageEditor;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import org.json.JSONObject;
import java.io.IOException;
public class CoronaCommand implements Command {
@Override
public void executed(String[] args, CommandEvent e) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder().url("https://corona.lmao.ninja/v2/all").build();
try {
Response response = client.newCall(request).execute();
JSONObject json = new JSONObject(response.body().string());
StringBuilder stringBuilder = new StringBuilder();
stringBuilder
.append("`Confirmed cases:` **").append(json.get("cases")).append("**\n")
.append("`Deaths:` **").append(json.get("deaths")).append("** \n")
.append("`Recovered:` **").append(json.get("recovered")).append("** \n")
.append("`Active cases:` **").append(json.get("active")).append("**");
e.getTextChannel().sendMessage(e.getMessageEditor()
.getMessage(MessageEditor.MessageType.INFO)
.setDescription(stringBuilder)
.build()).queue();
} catch (IOException ex) {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR)
.setTitle("API Error")
.setDescription("Try again later!")
.build()).queue();
}
}
@Override
public String[] labels() {
return new String[]{"corona"};
}
@Override
public String description() {
return "commands.misc.corona.help.description";
}
@Override
public String usage() {
return null;
}
@Override
public String example() {
return null;
}
}

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.misc; package one.bbn.hadder.commands.misc;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.EventWaiter; import one.bbn.hadder.utils.EventWaiter;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import org.kohsuke.github.GHIssue; import org.kohsuke.github.GHIssue;
import org.kohsuke.github.GHRepository; import org.kohsuke.github.GHRepository;
import org.kohsuke.github.GitHub; import org.kohsuke.github.GitHub;
@ -47,7 +47,7 @@ public class FeedbackCommand implements Command {
String description = e2.getMessage().getContentDisplay(); String description = e2.getMessage().getContentDisplay();
try { try {
GitHub connection = GitHub.connectUsingOAuth(e.getConfig().getGitHubToken()); GitHub connection = GitHub.connectUsingOAuth(e.getConfig().getGitHubToken());
GHRepository Hadder = connection.getOrganization("BigBotNetwork").getRepository("Hadder"); GHRepository Hadder = connection.getOrganization("BBN-Holding").getRepository("Hadder");
GHIssue issue = Hadder.createIssue(title).body("<strong>Feedback by " + e.getAuthor().getAsTag() + "</strong><br>" + description).label("feedback").create(); GHIssue issue = Hadder.createIssue(title).body("<strong>Feedback by " + e.getAuthor().getAsTag() + "</strong><br>" + description).label("feedback").create();
issue.addLabels("feedback"); issue.addLabels("feedback");
e.getTextChannel().sendMessage( e.getTextChannel().sendMessage(

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.misc; package one.bbn.hadder.commands.misc;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import okhttp3.OkHttpClient; import okhttp3.OkHttpClient;
import okhttp3.Request; import okhttp3.Request;
import okhttp3.Response; import okhttp3.Response;

View file

@ -0,0 +1,102 @@
/*
* Copyright 2019-2021 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package one.bbn.hadder.commands.misc;
import one.bbn.hadder.commands.Command;
import one.bbn.hadder.commands.CommandEvent;
import one.bbn.hadder.core.Perm;
import one.bbn.hadder.core.Perms;
import one.bbn.hadder.utils.MessageEditor;
import org.apache.commons.lang3.StringUtils;
@Perms(Perm.VOICE_MOVE_OTHERS)
public class MoveAllCommand implements Command {
@Override
public void executed(String[] args, CommandEvent e) {
if (args.length == 2) {
if (StringUtils.isNumeric(args[0]) && args[0].length() == 18) {
if (StringUtils.isNumeric(args[1]) && args[1].length() == 18) {
if (!args[0].equals(args[1])) {
int count = e.getGuild().getVoiceChannelById(args[0]).getMembers().size();
e.getGuild().getVoiceChannelById(args[0]).getMembers().forEach(
member -> e.getGuild().moveVoiceMember(member, e.getGuild().getVoiceChannelById(args[1])).queue()
);
e.getChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"commands.misc.moveall.success.title", "",
"commands.misc.moveall.success.description", String.valueOf(count))
.build()).queue();
} else {
e.getChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR,
"commands.misc.moveall.error.equals.title",
"commands.misc.moveall.error.equals.description")
.build()).queue();
}
} else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR,
"commands.misc.moveall.error.target.int.title",
"commands.misc.moveall.error.target.int.description").build()).queue();
}
} else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR,
"commands.misc.moveall.error.source.int.title",
"commands.misc.moveall.error.source.int.description").build()).queue();
}
} else if (args.length == 1) {
if (StringUtils.isNumeric(args[0]) && args[0].length() == 18) {
if (e.getMember().getVoiceState().inVoiceChannel()) {
int count = e.getMember().getVoiceState().getChannel().getMembers().size();
e.getMember().getVoiceState().getChannel().getMembers().forEach(
member -> e.getGuild().moveVoiceMember(member, e.getGuild().getVoiceChannelById(args[0])).queue()
);
e.getChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"commands.misc.moveall.success.title", "",
"commands.misc.moveall.success.description", String.valueOf(count))
.build()).queue();
} else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR,
"commands.misc.moveall.error.source.int.title",
"commands.misc.moveall.error.source.int.description").build()).queue();
}
} else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR,
"commands.misc.moveall.error.target.int.title",
"commands.misc.moveall.error.target.int.description").build()).queue();
}
} else e.getHelpCommand().sendHelp(this, e);
}
@Override
public String[] labels() {
return new String[]{"moveall", "move-all", "ma"};
}
@Override
public String description() {
return "commands.misc.moveall.help.description";
}
@Override
public String usage() {
return "([source-channel]) [target-channel]";
}
@Override
public String example() {
return "452806287307046923 452858405212782623";
}
}

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.misc; package one.bbn.hadder.commands.misc;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.User; import net.dv8tion.jda.api.entities.User;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,14 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.misc; package one.bbn.hadder.commands.misc;
import com.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.EventWaiter;
import com.bbn.hadder.utils.MessageEditor;
import com.bbn.hadder.utils.MessageEditor.MessageType;
import one.bbn.hadder.commands.Command;
import one.bbn.hadder.commands.CommandEvent;
import one.bbn.hadder.utils.EventWaiter;
import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.VoiceChannel; import net.dv8tion.jda.api.entities.VoiceChannel;
@ -31,13 +29,13 @@ public class ScreenShareCommand implements Command {
@Override @Override
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (args.length>0) { if (args.length > 0) {
if (args[0].matches("[0-9]*") && args.length==1 && args[0].length() == 18) { if (args[0].matches("[0-9]*") && args.length == 1 && args[0].length() == 18) {
if (e.getGuild().getVoiceChannelById(args[0]) != null) { if (e.getGuild().getVoiceChannelById(args[0]) != null) {
e.getChannel().sendMessage(e.getMessageEditor().getMessage( e.getChannel().sendMessage(e.getMessageEditor().getMessage(
MessageEditor.MessageType.INFO, MessageEditor.MessageType.INFO,
"commands.misc.screenshare.success.title", "") "commands.misc.screenshare.success.title", "")
.setDescription("http://discordapp.com/channels/" + e.getGuild().getId() + "/" + args[0] + "/").build()).queue(); .setDescription("http://discord.com/channels/" + e.getGuild().getId() + "/" + args[0] + "/").build()).queue();
} else { } else {
e.getChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, "commands.misc.screenshare.id.error.title", "commands.misc.screenshare.id.error.description").build()).queue(); e.getChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, "commands.misc.screenshare.id.error.title", "commands.misc.screenshare.id.error.description").build()).queue();
e.getHelpCommand().sendHelp(this, e); e.getHelpCommand().sendHelp(this, e);
@ -45,7 +43,7 @@ public class ScreenShareCommand implements Command {
} else { } else {
List<VoiceChannel> vcs = e.getGuild().getVoiceChannelsByName(String.join(" ", args), true); List<VoiceChannel> vcs = e.getGuild().getVoiceChannelsByName(String.join(" ", args), true);
if (vcs.size() > 1) { if (vcs.size() > 1) {
EmbedBuilder eb = e.getMessageEditor().getMessage(MessageType.WARNING, "commands.misc.screenshare.channel.error.title", "commands.misc.screenshare.channel.error.description"); EmbedBuilder eb = e.getMessageEditor().getMessage(MessageEditor.MessageType.WARNING, "commands.misc.screenshare.channel.error.title", "commands.misc.screenshare.channel.error.description");
for (int i = 0; i < vcs.size(); i++) { for (int i = 0; i < vcs.size(); i++) {
VoiceChannel voiceChannel = vcs.get(i); VoiceChannel voiceChannel = vcs.get(i);
eb.addField(i + ": " + voiceChannel.getName(), voiceChannel.getId(), false); eb.addField(i + ": " + voiceChannel.getName(), voiceChannel.getId(), false);
@ -56,7 +54,7 @@ public class ScreenShareCommand implements Command {
int i = Integer.parseInt(msge.getMessage().getContentRaw()); int i = Integer.parseInt(msge.getMessage().getContentRaw());
if (vcs.size() > i) { if (vcs.size() > i) {
e.getChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, "commands.misc.screenshare.success.title", "") e.getChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, "commands.misc.screenshare.success.title", "")
.setDescription("http://discordapp.com/channels/" + e.getGuild().getId() + "/" + vcs.get(i).getId() + "/").build()).queue(); .setDescription("http://discord.com/channels/" + e.getGuild().getId() + "/" + vcs.get(i).getId() + "/").build()).queue();
} else { } else {
e.getChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, "commands.misc.screenshare.number.error.title", "").build()).queue(); e.getChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, "commands.misc.screenshare.number.error.title", "").build()).queue();
e.getHelpCommand().sendHelp(this, e); e.getHelpCommand().sendHelp(this, e);
@ -66,17 +64,15 @@ public class ScreenShareCommand implements Command {
e.getHelpCommand().sendHelp(this, e); e.getHelpCommand().sendHelp(this, e);
} }
}, e.getJDA(), e.getAuthor()); }, e.getJDA(), e.getAuthor());
} else if (vcs.size()==0) { } else if (vcs.size() == 0) {
e.getChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, "commands.misc.screenshare.channel.existing.error", "commands.misc.screenshare.channel.existing.description").build()).queue(); e.getChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, "commands.misc.screenshare.channel.existing.error", "commands.misc.screenshare.channel.existing.description").build()).queue();
e.getHelpCommand().sendHelp(this, e); e.getHelpCommand().sendHelp(this, e);
} else { } else {
e.getChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, "commands.misc.screenshare.success.title", "") e.getChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, "commands.misc.screenshare.success.title", "")
.setDescription("http://discordapp.com/channels/" + e.getGuild().getId() + "/" + vcs.get(0).getId() + "/").build()).queue(); .setDescription("http://discord.com/channels/" + e.getGuild().getId() + "/" + vcs.get(0).getId() + "/").build()).queue();
} }
} }
} else { } else e.getHelpCommand().sendHelp(this, e);
e.getHelpCommand().sendHelp(this, e);
}
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.misc; package one.bbn.hadder.commands.misc;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda.api.EmbedBuilder;
import java.util.Date; import java.util.Date;
@ -42,12 +42,14 @@ public class ServerStatsCommand implements Command {
.addField("MFA Level", String.valueOf(e.getGuild().getRequiredMFALevel().getKey()), true) .addField("MFA Level", String.valueOf(e.getGuild().getRequiredMFALevel().getKey()), true)
.addField("Member Count", String.valueOf(e.getGuild().getMemberCount()), true) .addField("Member Count", String.valueOf(e.getGuild().getMemberCount()), true)
.addField("Explicit Content Level", e.getGuild().getExplicitContentLevel().getKey() + ": " + e.getGuild().getExplicitContentLevel(), true) .addField("Explicit Content Level", e.getGuild().getExplicitContentLevel().getKey() + ": " + e.getGuild().getExplicitContentLevel(), true)
//TODO: Features .addField("Features", e.getGuild().getFeatures().toString().replaceAll("\\[", "`").replaceAll(",", "`, `").replaceAll("]", "`"), true)
.addBlankField(true)
.setThumbnail(e.getGuild().getIconUrl()) .setThumbnail(e.getGuild().getIconUrl())
.setImage(e.getGuild().getBannerUrl()); .setImage(e.getGuild().getBannerUrl());
if (e.getGuild().getDescription() != null) eb.addField("Description", e.getGuild().getDescription(), true); if (e.getGuild().getDescription() != null) eb.addField("Description", e.getGuild().getDescription(), true);
if (e.getGuild().getVanityCode() != null) eb.addField("Vanity Code", "[" + e.getGuild().getVanityCode() + "](https://discord.gg/" + e.getGuild().getVanityCode() + ")", true); if (e.getGuild().getVanityCode() != null)
eb.addField("Vanity Code", "[" + e.getGuild().getVanityCode() + "](https://discord.gg/" + e.getGuild().getVanityCode() + ")", true);
e.getTextChannel().sendMessage(eb.build()).queue(); e.getTextChannel().sendMessage(eb.build()).queue();
} }

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.moderation; package one.bbn.hadder.commands.moderation;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.entities.Member; import net.dv8tion.jda.api.entities.Member;
@Perms(Perm.BAN_MEMBERS) @Perms(Perm.BAN_MEMBERS)
@ -58,8 +58,6 @@ public class BanCommand implements Command {
"commands.moderation.ban.error.title", "commands.moderation.ban.error.title",
"commands.moderation.ban.yourself.error.description").build()).queue(); "commands.moderation.ban.yourself.error.description").build()).queue();
} }
} else if (e.getMessage().getMentionedMembers().size() == 0) {
e.getHelpCommand().sendHelp(this, e);
} else if (e.getMessage().getMentionedMembers().size() > 1) { } else if (e.getMessage().getMentionedMembers().size() > 1) {
for (int i = 0; i < e.getMessage().getMentionedMembers().size(); i++) { for (int i = 0; i < e.getMessage().getMentionedMembers().size(); i++) {
Member member = e.getMessage().getMentionedMembers().get(i); Member member = e.getMessage().getMentionedMembers().get(i);
@ -89,7 +87,7 @@ public class BanCommand implements Command {
"", "",
"commands.moderation.ban.massban.success.description", "commands.moderation.ban.massban.success.description",
String.valueOf(e.getMessage().getMentionedMembers().size())).build()).queue(); String.valueOf(e.getMessage().getMentionedMembers().size())).build()).queue();
} } else e.getHelpCommand().sendHelp(this, e);
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.moderation; package one.bbn.hadder.commands.moderation;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.Permission; import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.Message; import net.dv8tion.jda.api.entities.Message;
@ -92,9 +92,7 @@ public class ClearCommand implements Command {
} else { } else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.NO_SELF_PERMISSION).build()).queue(); e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.NO_SELF_PERMISSION).build()).queue();
} }
} else { } else e.getHelpCommand().sendHelp(this, e);
e.getHelpCommand().sendHelp(this, e);
}
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.moderation; package one.bbn.hadder.commands.moderation;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.entities.TextChannel; import net.dv8tion.jda.api.entities.TextChannel;
@Perms(Perm.MANAGE_SERVER) @Perms(Perm.MANAGE_SERVER)
@ -28,7 +28,7 @@ public class EditRulesCommand implements Command {
@Override @Override
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getRethinkServer().getMessageID().length() == 18) { if (e.getMongoServer().getMessageID().length() == 18) {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"commands.moderation.editrules.message.title", "commands.moderation.editrules.message.title",
"commands.moderation.editrules.message.description").build()).queue(); "commands.moderation.editrules.message.description").build()).queue();
@ -68,13 +68,13 @@ public class EditRulesCommand implements Command {
} else { } else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR,
"commands.moderation.editrules.error.title", "", "commands.moderation.editrules.error.title", "",
"commands.moderation.editrules.error.description", e.getRethinkServer().getPrefix()).build()).queue(); "commands.moderation.editrules.error.description", e.getMongoServer().getPrefix()).build()).queue();
} }
} }
public void checkChannel(CommandEvent e, String rules, TextChannel channel) { public void checkChannel(CommandEvent e, String rules, TextChannel channel) {
try { try {
channel.retrieveMessageById(e.getRethinkServer().getMessageID()).queue(); channel.retrieveMessageById(e.getMongoServer().getMessageID()).queue();
setRules(e, rules, channel); setRules(e, rules, channel);
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"commands.moderation.editrules.success.title", "commands.moderation.editrules.success.title",
@ -87,7 +87,7 @@ public class EditRulesCommand implements Command {
} }
public void setRules(CommandEvent e, String rules, TextChannel channel) { public void setRules(CommandEvent e, String rules, TextChannel channel) {
channel.retrieveMessageById(e.getRethinkServer().getMessageID()).complete().editMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) channel.retrieveMessageById(e.getMongoServer().getMessageID()).complete().editMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setTitle("Rules") .setTitle("Rules")
.setDescription(rules) .setDescription(rules)
.build()).queue(); .build()).queue();

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.moderation; package one.bbn.hadder.commands.moderation;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
@Perms(Perm.MANAGE_SERVER) @Perms(Perm.MANAGE_SERVER)
public class InviteDetectCommand implements Command { public class InviteDetectCommand implements Command {
@ -31,15 +31,15 @@ public class InviteDetectCommand implements Command {
String opinion = args[0].toLowerCase(); String opinion = args[0].toLowerCase();
switch (opinion) { switch (opinion) {
case "on": case "on":
if (!e.getRethinkServer().isInviteDetect()) { if (!e.getMongoServer().hasInviteDetect()) {
e.getRethinkServer().setInviteDetect(true); e.getMongoServer().setInviteDetect(true);
e.getTextChannel().sendMessage( e.getTextChannel().sendMessage(
e.getMessageEditor().getMessage( e.getMessageEditor().getMessage(
MessageEditor.MessageType.INFO, MessageEditor.MessageType.INFO,
"commands.moderation.invitedetect.activate.success.title", "commands.moderation.invitedetect.activate.success.title",
"commands.moderation.invitedetect.activate.success.description") "commands.moderation.invitedetect.activate.success.description")
.build()).queue(); .build()).queue();
e.getRethinkServer().push(); e.getMongoServer().push();
} else { } else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage( e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(
MessageEditor.MessageType.ERROR, MessageEditor.MessageType.ERROR,
@ -50,14 +50,14 @@ public class InviteDetectCommand implements Command {
break; break;
case "off": case "off":
if (e.getRethinkServer().isInviteDetect()) { if (e.getMongoServer().hasInviteDetect()) {
e.getRethinkServer().setInviteDetect(false); e.getMongoServer().setInviteDetect(false);
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage( e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(
MessageEditor.MessageType.INFO, MessageEditor.MessageType.INFO,
"commands.moderation.invitedetect.deactivate.success.title", "commands.moderation.invitedetect.deactivate.success.title",
"commands.moderation.invitedetect.deactivate.success.description") "commands.moderation.invitedetect.deactivate.success.description")
.build()).queue(); .build()).queue();
e.getRethinkServer().push(); e.getMongoServer().push();
} else { } else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage( e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(
MessageEditor.MessageType.ERROR, MessageEditor.MessageType.ERROR,
@ -68,15 +68,14 @@ public class InviteDetectCommand implements Command {
break; break;
default: default:
e.getHelpCommand().sendHelp(this, e); e.getHelpCommand().sendHelp(this, e);
break;
} }
} else { } else e.getHelpCommand().sendHelp(this, e);
e.getHelpCommand().sendHelp(this, e);
}
} }
@Override @Override
public String[] labels() { public String[] labels() {
return new String[]{"invitedetect", "detectinvite"}; return new String[]{"invitedetect", "detectinvite", "invite-detect"};
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.moderation; package one.bbn.hadder.commands.moderation;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.entities.Member; import net.dv8tion.jda.api.entities.Member;
@Perms(Perm.KICK_MEMBERS) @Perms(Perm.KICK_MEMBERS)
@ -54,8 +54,6 @@ public class KickCommand implements Command {
} else { } else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, "commands.moderation.kick.error.title", "commands.moderation.kick.yourself.error.description").build()).queue(); e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, "commands.moderation.kick.error.title", "commands.moderation.kick.yourself.error.description").build()).queue();
} }
} else if (e.getMessage().getMentionedMembers().size() == 0) {
e.getHelpCommand().sendHelp(this, e);
} else if (e.getMessage().getMentionedMembers().size() > 1) { } else if (e.getMessage().getMentionedMembers().size() > 1) {
for (int i = 0; i < e.getMessage().getMentionedMembers().size(); i++) { for (int i = 0; i < e.getMessage().getMentionedMembers().size(); i++) {
Member member = e.getMessage().getMentionedMembers().get(i); Member member = e.getMessage().getMentionedMembers().get(i);
@ -74,7 +72,7 @@ public class KickCommand implements Command {
} }
} }
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, "commands.moderation.kick.success.title", "", "commands.moderation.kick.masskick.success.description", String.valueOf(e.getMessage().getMentionedMembers().size())).build()).queue(); e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, "commands.moderation.kick.success.title", "", "commands.moderation.kick.masskick.success.description", String.valueOf(e.getMessage().getMentionedMembers().size())).build()).queue();
} } else e.getHelpCommand().sendHelp(this, e);
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.moderation; package one.bbn.hadder.commands.moderation;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.Permission; import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.Member; import net.dv8tion.jda.api.entities.Member;
@ -34,8 +34,8 @@ public class NickCommand implements Command {
if (!e.getMessage().getMentionedMembers().get(0).getId().equals(e.getGuild().getSelfMember().getId())) { if (!e.getMessage().getMentionedMembers().get(0).getId().equals(e.getGuild().getSelfMember().getId())) {
if (e.getGuild().getSelfMember().canInteract(e.getMessage().getMentionedMembers().get(0))) { if (e.getGuild().getSelfMember().canInteract(e.getMessage().getMentionedMembers().get(0))) {
if (args.length > 1) { if (args.length > 1) {
if (e.getMessage().getContentRaw().startsWith(e.getRethinkUser().getPrefix())) { if (e.getMessage().getContentRaw().startsWith(e.getMongoUser().getPrefix())) {
e.getGuild().modifyNickname(e.getMessage().getMentionedMembers().get(0), e.getMessage().getContentRaw().replaceFirst(e.getRethinkUser().getPrefix() + "nick " + args[0], "")).reason("Nicked by " + e.getAuthor().getAsTag()).queue(); e.getGuild().modifyNickname(e.getMessage().getMentionedMembers().get(0), e.getMessage().getContentRaw().replaceFirst(e.getMongoUser().getPrefix() + "nick " + args[0], "")).reason("Nicked by " + e.getAuthor().getAsTag()).queue();
e.getTextChannel().sendMessage( e.getTextChannel().sendMessage(
e.getMessageEditor().getMessage( e.getMessageEditor().getMessage(
MessageEditor.MessageType.INFO, MessageEditor.MessageType.INFO,
@ -44,8 +44,8 @@ public class NickCommand implements Command {
"commands.moderation.nick.success.description", "commands.moderation.nick.success.description",
e.getMessage().getMentionedMembers().get(0).getUser().getAsTag() e.getMessage().getMentionedMembers().get(0).getUser().getAsTag()
).build()).queue(); ).build()).queue();
} else if (e.getMessage().getContentRaw().startsWith(e.getRethinkServer().getPrefix())) { } else if (e.getMessage().getContentRaw().startsWith(e.getMongoServer().getPrefix())) {
e.getGuild().modifyNickname(e.getMessage().getMentionedMembers().get(0), e.getMessage().getContentRaw().replaceFirst(e.getRethinkServer().getPrefix() + "nick " + args[0], "")).reason("Nicked by " + e.getAuthor().getAsTag()).queue(); e.getGuild().modifyNickname(e.getMessage().getMentionedMembers().get(0), e.getMessage().getContentRaw().replaceFirst(e.getMongoServer().getPrefix() + "nick " + args[0], "")).reason("Nicked by " + e.getAuthor().getAsTag()).queue();
e.getTextChannel().sendMessage( e.getTextChannel().sendMessage(
e.getMessageEditor().getMessage( e.getMessageEditor().getMessage(
MessageEditor.MessageType.INFO, MessageEditor.MessageType.INFO,
@ -54,15 +54,13 @@ public class NickCommand implements Command {
"commands.moderation.nick.success.description", e.getMessage().getMentionedMembers().get(0).getUser().getAsTag() "commands.moderation.nick.success.description", e.getMessage().getMentionedMembers().get(0).getUser().getAsTag()
).build()).queue(); ).build()).queue();
} }
} else { } else e.getHelpCommand().sendHelp(this, e);
e.getHelpCommand().sendHelp(this, e);
}
} else { } else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.NO_SELF_PERMISSION).build()).queue(); e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.NO_SELF_PERMISSION).build()).queue();
} }
} else { } else {
if (e.getMessage().getContentRaw().startsWith(e.getRethinkUser().getPrefix())) { if (e.getMessage().getContentRaw().startsWith(e.getMongoUser().getPrefix())) {
e.getGuild().getSelfMember().modifyNickname(e.getMessage().getContentRaw().replaceFirst(e.getRethinkUser().getPrefix() + "nick " + args[0], "")).reason("Nicked by " + e.getAuthor().getAsTag()).queue(); e.getGuild().getSelfMember().modifyNickname(e.getMessage().getContentRaw().replaceFirst(e.getMongoUser().getPrefix() + "nick " + args[0], "")).reason("Nicked by " + e.getAuthor().getAsTag()).queue();
e.getTextChannel().sendMessage( e.getTextChannel().sendMessage(
e.getMessageEditor().getMessage( e.getMessageEditor().getMessage(
MessageEditor.MessageType.INFO, MessageEditor.MessageType.INFO,
@ -70,8 +68,8 @@ public class NickCommand implements Command {
"", "",
"commands.moderation.nick.myself.success.description", "commands.moderation.nick.myself.success.description",
"").build()).queue(); "").build()).queue();
} else if (e.getMessage().getContentRaw().startsWith(e.getRethinkServer().getPrefix())) { } else if (e.getMessage().getContentRaw().startsWith(e.getMongoServer().getPrefix())) {
e.getGuild().getSelfMember().modifyNickname(e.getMessage().getContentRaw().replaceFirst(e.getRethinkServer().getPrefix() + "nick " + args[0], "")).reason("Nicked by " + e.getAuthor().getAsTag()).queue(); e.getGuild().getSelfMember().modifyNickname(e.getMessage().getContentRaw().replaceFirst(e.getMongoServer().getPrefix() + "nick " + args[0], "")).reason("Nicked by " + e.getAuthor().getAsTag()).queue();
e.getTextChannel().sendMessage( e.getTextChannel().sendMessage(
e.getMessageEditor().getMessage( e.getMessageEditor().getMessage(
MessageEditor.MessageType.INFO, MessageEditor.MessageType.INFO,
@ -81,9 +79,7 @@ public class NickCommand implements Command {
).build()).queue(); ).build()).queue();
} }
} }
} else if (e.getMessage().getMentionedMembers().size() == 0) { } else if (e.getMessage().getMentionedUsers().size() > 1) {
e.getHelpCommand().sendHelp(this, e);
} else {
for (int i = 0; i < e.getMessage().getMentionedMembers().size(); i++) { for (int i = 0; i < e.getMessage().getMentionedMembers().size(); i++) {
Member member = e.getMessage().getMentionedMembers().get(i); Member member = e.getMessage().getMentionedMembers().get(i);
if (!e.getJDA().getSelfUser().getId().equals(member.getId())) { if (!e.getJDA().getSelfUser().getId().equals(member.getId())) {
@ -99,7 +95,7 @@ public class NickCommand implements Command {
"", "",
"commands.moderation.nick.myself.success.description", String.valueOf(e.getMessage().getMentionedMembers().size()) "commands.moderation.nick.myself.success.description", String.valueOf(e.getMessage().getMentionedMembers().size())
).build()).queue(); ).build()).queue();
} } else e.getHelpCommand().sendHelp(this, e);
} else { } else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.NO_SELF_PERMISSION).build()).queue(); e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.NO_SELF_PERMISSION).build()).queue();
} }

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.moderation; package one.bbn.hadder.commands.moderation;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
@Perms(Perm.MANAGE_SERVER) @Perms(Perm.MANAGE_SERVER)
public class PrefixCommand implements Command { public class PrefixCommand implements Command {
@ -29,12 +29,12 @@ public class PrefixCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (args.length == 1) { if (args.length == 1) {
if (!args[0].contains("\"")) { if (!args[0].contains("\"")) {
e.getRethinkServer().setPrefix(args[0]); e.getMongoServer().setPrefix(args[0]);
e.getRethinkServer().push(); e.getMongoServer().push();
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage( e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(
MessageEditor.MessageType.INFO, MessageEditor.MessageType.INFO,
"commands.moderation.prefix.success.title", "commands.moderation.prefix.success.title",
"", "",
"commands.moderation.prefix.success.description", "commands.moderation.prefix.success.description",
args[0]).build() args[0]).build()
).queue(); ).queue();
@ -45,9 +45,7 @@ public class PrefixCommand implements Command {
"", "",
"commands.moderation.prefix.error.description").build()).queue(); "commands.moderation.prefix.error.description").build()).queue();
} }
} else { } else e.getHelpCommand().sendHelp(this, e);
e.getHelpCommand().sendHelp(this, e);
}
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.moderation; package one.bbn.hadder.commands.moderation;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.Permission; import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.Region; import net.dv8tion.jda.api.Region;
@ -86,10 +86,6 @@ public class RegionChangeCommand implements Command {
case "us-south": case "us-south":
setRegion(Region.US_SOUTH, "US South", e); setRegion(Region.US_SOUTH, "US South", e);
break; break;
/*case "south-korea":
setRegion(Region.SOUTH_KOREA, "South Korea", e);
break;
TODO: Publish when JDA v4.2.0 is released*/
default: default:
e.getTextChannel().sendMessage( e.getTextChannel().sendMessage(
e.getMessageEditor().getMessage( e.getMessageEditor().getMessage(
@ -112,7 +108,7 @@ public class RegionChangeCommand implements Command {
.build()).queue(); .build()).queue();
} }
public void setRegion (Region region, String region_name, CommandEvent e) { public void setRegion(Region region, String region_name, CommandEvent e) {
e.getGuild().getManager().setRegion(region).reason("Region changed by " + e.getAuthor().getAsTag()).queue(); e.getGuild().getManager().setRegion(region).reason("Region changed by " + e.getAuthor().getAsTag()).queue();
e.getTextChannel().sendMessage( e.getTextChannel().sendMessage(
e.getMessageEditor().getMessage( e.getMessageEditor().getMessage(
@ -124,7 +120,7 @@ public class RegionChangeCommand implements Command {
@Override @Override
public String[] labels() { public String[] labels() {
return new String[]{"changeregion", "cr", "change-region"}; return new String[]{"changeregion", "cr", "change-region", "region"};
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.moderation; package one.bbn.hadder.commands.moderation;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.Permission; import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.Member; import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.Role; import net.dv8tion.jda.api.entities.Role;
@ -95,9 +95,7 @@ public class RoleCommand implements Command {
} else { } else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.NO_SELF_PERMISSION).build()).queue(); e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.NO_SELF_PERMISSION).build()).queue();
} }
} else { } else e.getHelpCommand().sendHelp(this, e);
e.getHelpCommand().sendHelp(this, e);
}
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,14 +14,14 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.moderation; package one.bbn.hadder.commands.moderation;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.EventWaiter; import one.bbn.hadder.utils.EventWaiter;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.Permission; import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.Emote; import net.dv8tion.jda.api.entities.Emote;
import net.dv8tion.jda.api.entities.Message; import net.dv8tion.jda.api.entities.Message;
@ -56,7 +56,7 @@ public class RulesCommand implements Command {
try { try {
TextChannel channel = e1.getGuild().getTextChannelsByName(e1.getMessage().getContentRaw(), true).get(0); TextChannel channel = e1.getGuild().getTextChannelsByName(e1.getMessage().getContentRaw(), true).get(0);
createRules(e, e1, channel); createRules(e, e1, channel);
} catch (NullPointerException ex) { } catch (NullPointerException | IndexOutOfBoundsException ex) {
e.getTextChannel().sendMessage( e.getTextChannel().sendMessage(
e.getMessageEditor().getMessage( e.getMessageEditor().getMessage(
MessageEditor.MessageType.ERROR, MessageEditor.MessageType.ERROR,
@ -174,8 +174,8 @@ public class RulesCommand implements Command {
.build()).queue(); .build()).queue();
ex.printStackTrace(); ex.printStackTrace();
} }
e.getRethinkServer().updateRules(rules.getId(), role.getId(), aemote.toString(), demote.toString()); e.getMongoServer().updateRules(rules.getId(), role.getId(), aemote.toString(), demote.toString());
e.getRethinkServer().push(); e.getMongoServer().push();
} else { } else {
e.getTextChannel().sendMessage( e.getTextChannel().sendMessage(
e.getMessageEditor().getMessage( e.getMessageEditor().getMessage(
@ -220,8 +220,8 @@ public class RulesCommand implements Command {
.build()).queue(); .build()).queue();
ex.printStackTrace(); ex.printStackTrace();
} }
e.getRethinkServer().updateRules(rules.getId(), role.getId(), aemote, demote); e.getMongoServer().updateRules(rules.getId(), role.getId(), aemote, demote);
e.getRethinkServer().push(); e.getMongoServer().push();
} else { } else {
e.getTextChannel().sendMessage( e.getTextChannel().sendMessage(
e.getMessageEditor().getMessage( e.getMessageEditor().getMessage(

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,41 +14,39 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.moderation; package one.bbn.hadder.commands.moderation;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.entities.TextChannel; import net.dv8tion.jda.api.entities.TextChannel;
public class StarboardCommand implements Command { public class StarboardCommand implements Command {
@Override @Override
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getMessage().getMentionedChannels().size()==1) { if (e.getMessage().getMentionedChannels().size() == 1) {
e.getRethinkServer().setStarboard(e.getMessage().getMentionedChannels().get(0).getId()); e.getMongoServer().setStarboard(e.getMessage().getMentionedChannels().get(0).getId());
e.getChannel().sendMessage( e.getChannel().sendMessage(
e.getMessageEditor().getMessage( e.getMessageEditor().getMessage(
MessageEditor.MessageType.INFO, MessageEditor.MessageType.INFO,
"commands.moderation.starboard.success.title","") "commands.moderation.starboard.success.title", "")
.build()) .build())
.queue(); .queue();
} else { } else {
if (args.length>0) { if (args.length > 0) {
TextChannel channel = e.getGuild().getTextChannelById(args[0]); TextChannel channel = e.getGuild().getTextChannelById(args[0]);
if (channel!=null) { if (channel != null) {
e.getRethinkServer().setStarboard(channel.getId()); e.getMongoServer().setStarboard(channel.getId());
}
} else {
e.getHelpCommand().sendHelp(this, e);
} }
} else e.getHelpCommand().sendHelp(this, e);
} }
if (args.length==2) { if (args.length == 2) {
e.getRethinkServer().setNeededStars(args[1]); e.getMongoServer().setNeededStars(args[1]);
} }
e.getRethinkServer().push(); e.getMongoServer().push();
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,16 +14,16 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.music; package one.bbn.hadder.commands.music;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import com.sedmelluq.discord.lavaplayer.filter.equalizer.EqualizerFactory; import com.sedmelluq.discord.lavaplayer.filter.equalizer.EqualizerFactory;
public class BassCommand implements Command { public class BassCommand implements Command {
private static final float[] BASS_BOOST = { 0.2f, 0.15f, 0.1f, 0.05f, 0.0f, -0.05f, -0.1f, -0.1f, -0.1f, -0.1f, -0.1f, private static final float[] BASS_BOOST = {0.2f, 0.15f, 0.1f, 0.05f, 0.0f, -0.05f, -0.1f, -0.1f, -0.1f, -0.1f, -0.1f,
-0.1f, -0.1f, -0.1f, -0.1f }; -0.1f, -0.1f, -0.1f, -0.1f};
@Override @Override
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {

View file

@ -0,0 +1,65 @@
/*
* Copyright 2019-2021 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package one.bbn.hadder.commands.music;
import one.bbn.hadder.audio.AudioPlayerSendHandler;
import one.bbn.hadder.commands.Command;
import one.bbn.hadder.commands.CommandEvent;
import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.managers.AudioManager;
public class EchoCommand implements Command {
@Override
public void executed(String[] args, CommandEvent e) {
Guild guild = e.getMember().getVoiceState().getChannel().getGuild();
AudioManager audioManager = guild.getAudioManager();
AudioPlayerSendHandler handler = new AudioPlayerSendHandler(e.getAudioManager().getPlayer(e.getGuild()));
if (!audioManager.isConnected()) {
audioManager.setSendingHandler(handler);
audioManager.setReceivingHandler(handler);
audioManager.openAudioConnection(e.getMember().getVoiceState().getChannel());
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"commands.music.echo.success.title",
"commands.music.echo.success.description")
.build()).queue();
} else {
audioManager.closeAudioConnection();
}
}
@Override
public String[] labels() {
return new String[]{"echo"};
}
@Override
public String description() {
return "commands.music.echo.help.description";
}
@Override
public String usage() {
return null;
}
@Override
public String example() {
return null;
}
}

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.music; package one.bbn.hadder.commands.music;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import com.sedmelluq.discord.lavaplayer.track.AudioTrack; import com.sedmelluq.discord.lavaplayer.track.AudioTrack;
public class InfoCommand implements Command { public class InfoCommand implements Command {

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.music; package one.bbn.hadder.commands.music;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.entities.VoiceChannel; import net.dv8tion.jda.api.entities.VoiceChannel;
import net.dv8tion.jda.api.exceptions.InsufficientPermissionException; import net.dv8tion.jda.api.exceptions.InsufficientPermissionException;
import net.dv8tion.jda.api.managers.AudioManager; import net.dv8tion.jda.api.managers.AudioManager;
@ -29,7 +29,7 @@ public class JoinCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getMember().getVoiceState().inVoiceChannel()) { if (e.getMember().getVoiceState().inVoiceChannel()) {
AudioManager audioManager = e.getGuild().getAudioManager(); AudioManager audioManager = e.getGuild().getAudioManager();
if(!audioManager.isAttemptingToConnect()) { if (!audioManager.isAttemptingToConnect()) {
VoiceChannel vc = e.getMember().getVoiceState().getChannel(); VoiceChannel vc = e.getMember().getVoiceState().getChannel();
if (e.getGuild().getSelfMember().getVoiceState().inVoiceChannel()) { if (e.getGuild().getSelfMember().getVoiceState().inVoiceChannel()) {
if (!e.getGuild().getSelfMember().getVoiceState().getChannel().getId().equals(vc.getId())) { if (!e.getGuild().getSelfMember().getVoiceState().getChannel().getId().equals(vc.getId())) {

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.music; package one.bbn.hadder.commands.music;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
public class LoopCommand implements Command { public class LoopCommand implements Command {

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.music; package one.bbn.hadder.commands.music;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
public class PauseCommand implements Command { public class PauseCommand implements Command {
@ -34,8 +34,8 @@ public class PauseCommand implements Command {
.build()).queue(); .build()).queue();
} else { } else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR,
"commands.music.pause.error.paused.title", "commands.music.pause.error.paused.title", "",
"commands.music.pause.error.paused.description") "commands.music.pause.error.paused.description", e.getMongoServer().getPrefix())
.build()).queue(); .build()).queue();
} }
} else { } else {

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.music; package one.bbn.hadder.commands.music;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.entities.Message; import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.exceptions.InsufficientPermissionException; import net.dv8tion.jda.api.exceptions.InsufficientPermissionException;
@ -30,7 +30,7 @@ public class PlayCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (args.length > 0) { if (args.length > 0) {
if (e.getMember().getVoiceState().inVoiceChannel()) { if (e.getMember().getVoiceState().inVoiceChannel()) {
String input = e.getMessage().getContentRaw().replaceFirst(e.getRethinkServer().getPrefix() + "play ", "").replaceFirst(e.getRethinkUser().getPrefix() + "play ", ""); String input = e.getMessage().getContentRaw().replaceFirst(e.getMongoServer().getPrefix() + "play ", "").replaceFirst(e.getMongoUser().getPrefix() + "play ", "");
try { try {
new URL(input).toURI(); new URL(input).toURI();
Message msg = e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, Message msg = e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.music; package one.bbn.hadder.commands.music;
import com.bbn.hadder.audio.AudioInfo; import one.bbn.hadder.audio.AudioInfo;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import java.util.Set; import java.util.Set;
@ -38,10 +38,10 @@ public class QueueCommand implements Command {
long queuelength = 0; long queuelength = 0;
for (AudioInfo g : queue) { for (AudioInfo g : queue) {
queuelength = queuelength + g.getTrack().getInfo().length; queuelength = queuelength + g.getTrack().getInfo().length;
builder.append("("+e.getAudioManager().getTimestamp(g.getTrack().getInfo().length)+") **").append(g.getTrack().getInfo().author).append("**: `").append(g.getTrack().getInfo().title).append("` \n"); builder.append("(" + e.getAudioManager().getTimestamp(g.getTrack().getInfo().length) + ") **").append(g.getTrack().getInfo().author).append("**: `").append(g.getTrack().getInfo().title).append("` \n");
} }
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"commands.music.queue.success.title", "("+String.valueOf(e.getAudioManager().getTimestamp(queuelength))+")", "commands.music.queue.success.title", "(" + String.valueOf(e.getAudioManager().getTimestamp(queuelength)) + ")",
"commands.music.queue.success.description", builder.toString()) "commands.music.queue.success.description", builder.toString())
.build()).queue(); .build()).queue();
} }

View file

@ -1,13 +1,25 @@
/* /*
* @author Hax / Hax6775 / Schlauer_Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
package com.bbn.hadder.commands.music; package one.bbn.hadder.commands.music;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import net.dv8tion.jda.api.audio.AudioReceiveHandler; import net.dv8tion.jda.api.audio.AudioReceiveHandler;
import net.dv8tion.jda.api.audio.AudioSendHandler; import net.dv8tion.jda.api.audio.AudioSendHandler;
import net.dv8tion.jda.api.audio.UserAudio; import net.dv8tion.jda.api.audio.UserAudio;
@ -39,7 +51,7 @@ public class RecordCommand implements Command {
audioManager.openAudioConnection(event.getMember().getVoiceState().getChannel()); audioManager.openAudioConnection(event.getMember().getVoiceState().getChannel());
} else { } else {
for (Map.Entry<String, Queue<byte[]>> key : queue.entrySet()) { for (Map.Entry<String, Queue<byte[]>> key : queue.entrySet()) {
File file = new File("./"+event.getJDA().getUserById(key.getKey())+".wav"); File file = new File("./" + event.getJDA().getUserById(key.getKey()) + ".wav");
} }
@ -83,7 +95,7 @@ public class RecordCommand implements Command {
@Override @Override
public String[] labels() { public String[] labels() {
return new String[]{"echo"}; return new String[]{"record"};
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.music; package one.bbn.hadder.commands.music;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
public class SkipCommand implements Command { public class SkipCommand implements Command {
@ -26,14 +26,23 @@ public class SkipCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getAudioManager().hasPlayer(e.getGuild()) && !e.getAudioManager().getTrackManager(e.getGuild()).getQueuedTracks().isEmpty()) { if (e.getAudioManager().hasPlayer(e.getGuild()) && !e.getAudioManager().getTrackManager(e.getGuild()).getQueuedTracks().isEmpty()) {
if (e.getMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().getChannel().equals(e.getMember().getVoiceState().getChannel())) { if (e.getMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().getChannel().equals(e.getMember().getVoiceState().getChannel())) {
if (!e.getAudioManager().getTrackManager(e.getGuild()).isLoop()) {
e.getAudioManager().forceSkipTrack(e); e.getAudioManager().forceSkipTrack(e);
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"commands.music.skip.success.title", "commands.music.skip.success.title",
"commands.music.skip.success.description").build()).queue(); "commands.music.skip.success.description").build()).queue();
} else {
e.getAudioManager().getTrackManager(e.getGuild()).setLoop(false);
e.getAudioManager().forceSkipTrack(e);
e.getAudioManager().getTrackManager(e.getGuild()).setLoop(true);
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"commands.music.skip.success.title",
"commands.music.skip.success.description").build()).queue();
}
} else { } else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR,
"commands.music.skip.error.connected.title", "commands.music.skip.error.connected.title",
"commands.music.skip.error.connected.description ").build()).queue(); "commands.music.skip.error.connected.description").build()).queue();
} }
} else { } else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR,

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.music; package one.bbn.hadder.commands.music;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
public class StopCommand implements Command { public class StopCommand implements Command {
@ -26,6 +26,7 @@ public class StopCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getAudioManager().hasPlayer(e.getGuild()) && e.getAudioManager().getPlayer(e.getGuild()).getPlayingTrack() != null) { if (e.getAudioManager().hasPlayer(e.getGuild()) && e.getAudioManager().getPlayer(e.getGuild()).getPlayingTrack() != null) {
if (e.getMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().getChannel().equals(e.getMember().getVoiceState().getChannel())) { if (e.getMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().getChannel().equals(e.getMember().getVoiceState().getChannel())) {
e.getAudioManager().getTrackManager(e.getGuild()).setLoop(false);
e.getAudioManager().players.remove(e.getGuild().getId()); e.getAudioManager().players.remove(e.getGuild().getId());
e.getAudioManager().getPlayer(e.getGuild()).destroy(); e.getAudioManager().getPlayer(e.getGuild()).destroy();
e.getAudioManager().getTrackManager(e.getGuild()).purgeQueue(); e.getAudioManager().getTrackManager(e.getGuild()).purgeQueue();
@ -48,7 +49,7 @@ public class StopCommand implements Command {
@Override @Override
public String[] labels() { public String[] labels() {
return new String[]{"stop"}; return new String[]{"stop", "leave"};
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.music; package one.bbn.hadder.commands.music;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import org.jsoup.internal.StringUtil; import org.codehaus.plexus.util.StringUtils;
public class VolumeCommand implements Command { public class VolumeCommand implements Command {
@ -28,7 +28,7 @@ public class VolumeCommand implements Command {
if (args.length > 0) { if (args.length > 0) {
if (e.getAudioManager().hasPlayer(e.getGuild()) && e.getAudioManager().getPlayer(e.getGuild()).getPlayingTrack() != null) { if (e.getAudioManager().hasPlayer(e.getGuild()) && e.getAudioManager().getPlayer(e.getGuild()).getPlayingTrack() != null) {
if (e.getMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().getChannel().equals(e.getMember().getVoiceState().getChannel())) { if (e.getMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().getChannel().equals(e.getMember().getVoiceState().getChannel())) {
if (StringUtil.isNumeric(args[0])) { if (StringUtils.isNumeric(args[0])) {
int volume = Integer.parseInt(args[0]); int volume = Integer.parseInt(args[0]);
if (volume < 201 && volume > 0 || e.getConfig().getOwners().contains(e.getAuthor().getIdLong())) { if (volume < 201 && volume > 0 || e.getConfig().getOwners().contains(e.getAuthor().getIdLong())) {
e.getAudioManager().getPlayer(e.getGuild()).setVolume(volume); e.getAudioManager().getPlayer(e.getGuild()).setVolume(volume);

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,19 +14,19 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class AnalCommand implements Command { public class AnalCommand implements Command {
@Override @Override
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getTextChannel().isNSFW()) { if (e.getTextChannel().isNSFW()) {
String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/anal/"); String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/anal");
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url) .setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url)
.setImage(url) .setImage(url)

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class BDSMCommand implements Command { public class BDSMCommand implements Command {
@ -42,7 +42,7 @@ public class BDSMCommand implements Command {
@Override @Override
public String[] labels() { public String[] labels() {
return new String[] { "bdsm" }; return new String[]{"bdsm"};
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class BlowjobCommand implements Command { public class BlowjobCommand implements Command {

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class BoobsCommand implements Command { public class BoobsCommand implements Command {
@ -27,7 +27,7 @@ public class BoobsCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getTextChannel().isNSFW()) { if (e.getTextChannel().isNSFW()) {
String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/tits/"); String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/tits");
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url) .setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url)

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class CumCommand implements Command { public class CumCommand implements Command {
@ -27,7 +27,7 @@ public class CumCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getTextChannel().isNSFW()) { if (e.getTextChannel().isNSFW()) {
String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/cum/"); String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/cum");
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url) .setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url)

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class EroticCommand implements Command { public class EroticCommand implements Command {

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class FeetCommand implements Command { public class FeetCommand implements Command {
@ -27,7 +27,7 @@ public class FeetCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getTextChannel().isNSFW()) { if (e.getTextChannel().isNSFW()) {
String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/feet/"); String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/feet");
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url) .setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url)

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class FingeringCommand implements Command { public class FingeringCommand implements Command {
@ -27,7 +27,7 @@ public class FingeringCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getTextChannel().isNSFW()) { if (e.getTextChannel().isNSFW()) {
String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/pussy_wank/"); String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/pussy_wank");
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url) .setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url)

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class LickingCommand implements Command { public class LickingCommand implements Command {
@ -27,7 +27,7 @@ public class LickingCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getTextChannel().isNSFW()) { if (e.getTextChannel().isNSFW()) {
String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/kuni/"); String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/kuni");
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url) .setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url)

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class PornCommand implements Command { public class PornCommand implements Command {
@ -27,7 +27,7 @@ public class PornCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getTextChannel().isNSFW()) { if (e.getTextChannel().isNSFW()) {
String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/classic/"); String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/classic");
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url) .setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url)

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class PussyCommand implements Command { public class PussyCommand implements Command {
@ -27,7 +27,7 @@ public class PussyCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getTextChannel().isNSFW()) { if (e.getTextChannel().isNSFW()) {
String url = Http.getNSFW("https://nekos.life/api/v2/img/pussy/"); String url = Http.getNSFW("https://nekos.life/api/v2/img/pussy");
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url) .setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url)

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class RandomPornCommand implements Command { public class RandomPornCommand implements Command {
@ -27,7 +27,7 @@ public class RandomPornCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getTextChannel().isNSFW()) { if (e.getTextChannel().isNSFW()) {
String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/all_tags/"); String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/all_tags");
e.getTextChannel() e.getTextChannel()
.sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) .sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
@ -44,7 +44,7 @@ public class RandomPornCommand implements Command {
@Override @Override
public String[] labels() { public String[] labels() {
return new String[] { "randomporn", "pornrandom" }; return new String[]{"randomporn", "pornrandom"};
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class SoloCommand implements Command { public class SoloCommand implements Command {
@ -27,7 +27,7 @@ public class SoloCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getTextChannel().isNSFW()) { if (e.getTextChannel().isNSFW()) {
String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/girls_solo/"); String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/girls_solo");
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url) .setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url)

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class SpankCommand implements Command { public class SpankCommand implements Command {
@ -27,7 +27,7 @@ public class SpankCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getTextChannel().isNSFW()) { if (e.getTextChannel().isNSFW()) {
String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/spank/"); String url = Http.getNSFW("https://api.nekos.dev/api/v3/images/nsfw/gif/spank");
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url) .setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url)
@ -42,7 +42,7 @@ public class SpankCommand implements Command {
@Override @Override
public String[] labels() { public String[] labels() {
return new String[] { "spank", "beat", "hit" }; return new String[]{"spank", "beat", "hit"};
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.nsfw; package one.bbn.hadder.commands.nsfw;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.Http;
import com.bbn.hadder.utils.Http; import one.bbn.hadder.utils.MessageEditor;
public class TransCommand implements Command { public class TransCommand implements Command {
@ -27,7 +27,7 @@ public class TransCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (e.getTextChannel().isNSFW()) { if (e.getTextChannel().isNSFW()) {
String url = Http.getNSFW("https://nekos.life/api/v2/img/trap/"); String url = Http.getNSFW("https://nekos.life/api/v2/img/trap");
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url) .setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url)
@ -43,7 +43,7 @@ public class TransCommand implements Command {
@Override @Override
public String[] labels() { public String[] labels() {
return new String[] { "trans" }; return new String[]{"trans"};
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +14,14 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.owner; package one.bbn.hadder.commands.owner;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.db.MongoUser;
import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.entities.User; import net.dv8tion.jda.api.entities.User;
import java.util.ArrayList; import java.util.ArrayList;
@ -38,50 +39,34 @@ public class BlacklistCommand implements Command {
} else { } else {
switch (args[0].toLowerCase()) { switch (args[0].toLowerCase()) {
case "add": case "add":
if (args.length == 3) {
String blacklisted = e.getRethinkUser().getBlacklisted();
List<String> commands = new ArrayList<>();
if (!"none".equals(blacklisted)) commands.addAll(Arrays.asList(blacklisted.split(",")));
commands.addAll(Arrays.asList(args[1].split(",")));
LinkedHashSet<String> hashSet = new LinkedHashSet<>(commands);
ArrayList<String> commandsWithoutDuplicates = new ArrayList<>(hashSet);
String newblacklisted = ((commandsWithoutDuplicates.size()!=0) ? String.join(",", commandsWithoutDuplicates) : "none");
e.getRethinkUser().setBlacklisted(newblacklisted);
e.getTextChannel().sendMessage(
e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"commands.owner.blacklist.success.add.title", "",
"commands.owner.blacklist.success.add.description", newblacklisted)
.build()).queue();
e.getRethinkUser().push();
}
break;
case "remove": case "remove":
if (args.length == 3) { if (args.length == 3 && e.getMessage().getMentionedUsers().size() == 1) {
String blacklisted = e.getRethinkUser().getBlacklisted(); MongoUser u = new MongoUser(e.getMongo().getObjectByID("user", e.getMessage().getMentionedUsers().get(0).getId()), e.getMongo());
String blacklisted = e.getMongoUser().getBlacklisted();
List<String> commands = new ArrayList<>(); List<String> commands = new ArrayList<>();
if (!"none".equals(blacklisted)) commands.addAll(Arrays.asList(blacklisted.split(","))); if (!"none".equals(blacklisted)) commands.addAll(Arrays.asList(blacklisted.split(",")));
commands.removeAll(Arrays.asList(args[1].split(","))); if (args[0].equalsIgnoreCase("add")) commands.addAll(Arrays.asList(args[1].split(",")));
else commands.removeAll(Arrays.asList(args[1].split(",")));
LinkedHashSet<String> hashSet = new LinkedHashSet<>(commands); LinkedHashSet<String> hashSet = new LinkedHashSet<>(commands);
ArrayList<String> commandsWithoutDuplicates = new ArrayList<>(hashSet); ArrayList<String> commandsWithoutDuplicates = new ArrayList<>(hashSet);
String newblacklisted = ((commandsWithoutDuplicates.size()!=0) ? String.join(",", commandsWithoutDuplicates) : "none"); String newblacklisted = ((commandsWithoutDuplicates.size() != 0) ? String.join(",", commandsWithoutDuplicates) : "none");
e.getRethinkUser().setBlacklisted(newblacklisted); u.setBlacklisted(newblacklisted);
e.getTextChannel().sendMessage( e.getTextChannel().sendMessage(
e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"commands.owner.blacklist.success.remove.title", "", "commands.owner.blacklist.success." + args[0].toLowerCase() + ".title", "",
"commands.owner.blacklist.success.remove.description", newblacklisted) "commands.owner.blacklist.success." + args[0].toLowerCase() + ".description", newblacklisted)
.build()).queue(); .build()).queue();
e.getRethinkUser().push(); u.push();
} } else e.getHelpCommand().sendHelp(this, e);
break; break;
case "list": case "list":
StringBuilder stringBuilder = new StringBuilder(); StringBuilder stringBuilder = new StringBuilder();
for (User user : e.getJDA().getUsers()) { for (User user : e.getJDA().getUsers()) {
if (!user.getId().equals(e.getJDA().getSelfUser().getId())) { if (!user.getId().equals(e.getJDA().getSelfUser().getId())) {
String blacklisted = e.getRethinkUser().getBlacklisted(); MongoUser u = new MongoUser(e.getMongo().getObjectByID("user", user.getId()), e.getMongo());
String blacklisted = u.getBlacklisted();
if (!"none".equals(blacklisted)) { if (!"none".equals(blacklisted)) {
stringBuilder.append(user.getAsTag()).append(" (").append(user.getId()).append(") - ").append(blacklisted).append("\n"); stringBuilder.append(user.getAsTag()).append(" (").append(user.getId()).append(") - ").append(blacklisted).append("\n");
} }
@ -89,8 +74,8 @@ public class BlacklistCommand implements Command {
} }
e.getTextChannel().sendMessage( e.getTextChannel().sendMessage(
e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setTitle("Blacklisted Users:") .setTitle("Blacklisted Users")
.setDescription((stringBuilder.length()!=0) ? ("``" + stringBuilder.toString() + "``") : "No blacklisted Users") .setDescription((stringBuilder.length() != 0) ? ("``" + stringBuilder.toString() + "``") : "No blacklisted Users")
.build()).queue(); .build()).queue();
break; break;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,14 +14,14 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.owner; package one.bbn.hadder.commands.owner;
import com.bbn.hadder.Hadder; import one.bbn.hadder.Hadder;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import javax.script.ScriptEngine; import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager; import javax.script.ScriptEngineManager;
@ -43,10 +43,9 @@ public class EvalCommand implements Command {
} catch (ScriptException ex) { } catch (ScriptException ex) {
ex.printStackTrace(); ex.printStackTrace();
} }
engine.put("msg".toLowerCase(), e.getMessage()); engine.put("msg".toLowerCase(), e.getMessage());
engine.put("shardmanager".toLowerCase(), Hadder.shardManager); engine.put("shardmanager".toLowerCase(), Hadder.shardManager);
engine.put("rethink".toLowerCase(), e.getRethink()); engine.put("rethink".toLowerCase(), e.getMongo());
engine.put("e".toLowerCase(), e); engine.put("e".toLowerCase(), e);
engine.put("jda".toLowerCase(), e.getJDA()); engine.put("jda".toLowerCase(), e.getJDA());
engine.put("message".toLowerCase(), e.getMessage()); engine.put("message".toLowerCase(), e.getMessage());
@ -97,9 +96,7 @@ public class EvalCommand implements Command {
}, 0, TimeUnit.MILLISECONDS); }, 0, TimeUnit.MILLISECONDS);
} else { } else e.getHelpCommand().sendHelp(this, e);
e.getHelpCommand().sendHelp(this, e);
}
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.owner; package one.bbn.hadder.commands.owner;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.entities.Guild; import net.dv8tion.jda.api.entities.Guild;
@Perms(Perm.BOT_OWNER) @Perms(Perm.BOT_OWNER)
@ -41,9 +41,7 @@ public class GuildLeaveCommand implements Command {
} catch (Exception ex) { } catch (Exception ex) {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, "commands.owner.guildleave.error.title", "", "commands.owner.guildleave.help.description", guild.getName()).build()).queue(); e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, "commands.owner.guildleave.error.title", "", "commands.owner.guildleave.help.description", guild.getName()).build()).queue();
} }
} else { } else e.getHelpCommand().sendHelp(this, e);
e.getHelpCommand().sendHelp(this, e);
}
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.owner; package one.bbn.hadder.commands.owner;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
@Perms(Perm.BOT_OWNER) @Perms(Perm.BOT_OWNER)
public class RebootCommand implements Command { public class RebootCommand implements Command {

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.owner; package one.bbn.hadder.commands.owner;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.core.Perm; import one.bbn.hadder.core.Perm;
import com.bbn.hadder.core.Perms; import one.bbn.hadder.core.Perms;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
@Perms(Perm.BOT_OWNER) @Perms(Perm.BOT_OWNER)
public class ShutdownCommand implements Command { public class ShutdownCommand implements Command {

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.owner; package one.bbn.hadder.commands.owner;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor.MessageType; import one.bbn.hadder.utils.MessageEditor.MessageType;
public class TestCommand implements Command { public class TestCommand implements Command {

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.settings; package one.bbn.hadder.commands.settings;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
public class LanguageCommand implements Command { public class LanguageCommand implements Command {
@ -49,30 +49,28 @@ public class LanguageCommand implements Command {
break; break;
default: default:
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO, e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO,
"List", "commands.settings.language.error.title", "",
"`de`, `en`, `es`, `fr`, `ru`, `tr`, `zh`") "commands.settings.language.error.description", "`de`, `en`, `es`, `fr`, `ru`, `tr`, `zh`")
.build()).queue(); .build()).queue();
break; break;
} }
} else { } else e.getHelpCommand().sendHelp(this, e);
e.getHelpCommand().sendHelp(this, e);
}
} }
public void setLanguage(String language_code, String language, CommandEvent e) { public void setLanguage(String language_code, String language, CommandEvent e) {
e.getRethinkUser().setLanguage(language_code); e.getMongoUser().setLanguage(language_code);
e.getTextChannel() e.getTextChannel()
.sendMessage( .sendMessage(
e.getMessageEditor() e.getMessageEditor()
.getMessage(MessageEditor.MessageType.INFO, "commands.settings.language.success.title", .getMessage(MessageEditor.MessageType.INFO, "commands.settings.language.success.title",
"", "commands.settings.language.success.description", language) "", "commands.settings.language.success.description", language)
.build()).queue(); .build()).queue();
e.getRethinkUser().push(); e.getMongoUser().push();
} }
@Override @Override
public String[] labels() { public String[] labels() {
return new String[] { "language" }; return new String[]{"language"};
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,32 +14,30 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.commands.settings; package one.bbn.hadder.commands.settings;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
public class UserPrefixCommand implements Command { public class UserPrefixCommand implements Command {
public void executed(String[] args, CommandEvent e) { public void executed(String[] args, CommandEvent e) {
if (args.length == 1) { if (args.length == 1) {
e.getRethinkUser().setPrefix(args[0]); e.getMongoUser().setPrefix(args[0]);
e.getTextChannel() e.getTextChannel()
.sendMessage(e.getMessageEditor() .sendMessage(e.getMessageEditor()
.getMessage(MessageEditor.MessageType.INFO, "commands.settings.prefix.success.title", "", .getMessage(MessageEditor.MessageType.INFO, "commands.settings.prefix.success.title", "",
"commands.settings.prefix.success.description", args[0]) "commands.settings.prefix.success.description", args[0])
.build()) .build())
.queue(); .queue();
e.getRethinkUser().push(); e.getMongoUser().push();
} else { } else e.getHelpCommand().sendHelp(this, e);
e.getHelpCommand().sendHelp(this, e);
}
} }
@Override @Override
public String[] labels() { public String[] labels() {
return new String[] { "userprefix" }; return new String[]{"userprefix"};
} }
@Override @Override

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,17 +14,17 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.core; package one.bbn.hadder.core;
import com.bbn.hadder.Rethink; import one.bbn.hadder.audio.AudioManager;
import com.bbn.hadder.RethinkServer; import one.bbn.hadder.commands.Command;
import com.bbn.hadder.RethinkUser; import one.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.audio.AudioManager; import one.bbn.hadder.commands.general.HelpCommand;
import com.bbn.hadder.commands.Command; import one.bbn.hadder.db.Mongo;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.db.MongoServer;
import com.bbn.hadder.commands.general.HelpCommand; import one.bbn.hadder.db.MongoUser;
import com.bbn.hadder.utils.EventWaiter; import one.bbn.hadder.utils.EventWaiter;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import java.util.Arrays; import java.util.Arrays;
@ -42,7 +42,7 @@ public class CommandHandler {
this.helpCommand = helpCommand; this.helpCommand = helpCommand;
} }
public void handle(MessageReceivedEvent event, Rethink rethink, String prefix, AudioManager audioManager, RethinkUser rethinkUser, RethinkServer rethinkServer) { public void handle(MessageReceivedEvent event, Mongo mongo, String prefix, AudioManager audioManager, MongoUser mongoUser, MongoServer mongoServer) {
String invoke = event.getMessage().getContentRaw().replaceFirst(prefix, "").split(" ")[0]; String invoke = event.getMessage().getContentRaw().replaceFirst(prefix, "").split(" ")[0];
for (Command cmd : commandList) { for (Command cmd : commandList) {
for (String label : cmd.labels()) { for (String label : cmd.labels()) {
@ -53,8 +53,8 @@ public class CommandHandler {
String[] args = argString.split(" "); String[] args = argString.split(" ");
if (args.length > 0 && args[0].equals("")) args = new String[0]; if (args.length > 0 && args[0].equals("")) args = new String[0];
CommandEvent commandEvent = new CommandEvent(event.getJDA(), event.getResponseNumber(), event.getMessage(), rethink, CommandEvent commandEvent = new CommandEvent(event.getJDA(), event.getResponseNumber(), event.getMessage(), mongo,
config, this, helpCommand, new MessageEditor(rethinkUser, event.getAuthor()), new EventWaiter(), audioManager, rethinkUser, rethinkServer); config, this, helpCommand, new MessageEditor(mongoUser, event.getAuthor()), new EventWaiter(), audioManager, mongoUser, mongoServer);
if (cmd.getClass().getAnnotations().length > 0 && !Arrays.asList(cmd.getClass().getAnnotations()).contains(Perms.class)) { if (cmd.getClass().getAnnotations().length > 0 && !Arrays.asList(cmd.getClass().getAnnotations()).contains(Perms.class)) {
for (Perm perm : cmd.getClass().getAnnotation(Perms.class).value()) { for (Perm perm : cmd.getClass().getAnnotation(Perms.class).value()) {
if (!perm.check(commandEvent)) { if (!perm.check(commandEvent)) {
@ -68,7 +68,7 @@ public class CommandHandler {
} }
boolean run = true; boolean run = true;
String blacklisted = rethinkUser.getBlacklisted(); String blacklisted = mongoUser.getBlacklisted();
if (!"none".equals(blacklisted)) { if (!"none".equals(blacklisted)) {
for (String BLLabel : blacklisted.split(",")) { for (String BLLabel : blacklisted.split(",")) {
if (Arrays.asList(cmd.labels()).contains(BLLabel)) { if (Arrays.asList(cmd.labels()).contains(BLLabel)) {
@ -76,8 +76,8 @@ public class CommandHandler {
} }
} }
} }
if (run) if (run) cmd.executed(args, commandEvent);
cmd.executed(args, commandEvent); else event.getMessage().addReaction("").queue();
return; return;
} }
} }

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.core; package one.bbn.hadder.core;
import org.json.JSONObject; import org.json.JSONObject;
import org.json.JSONStringer; import org.json.JSONStringer;
@ -70,17 +70,22 @@ public class Config {
.key("Tokens").object() .key("Tokens").object()
.key("BotToken").value(null) .key("BotToken").value(null)
.key("Giphy").value(null) .key("Giphy").value(null)
.key("GitHub").value(null)
.key("MythicalBotList").value(null) .key("MythicalBotList").value(null)
.key("BotsForDiscord").value(null) .key("BotsForDiscord").value(null)
.key("DiscordBotList").value(null) .key("DiscordBotList").value(null)
.key("DiscordBestBots").value(null)
.key("DiscordBoats").value(null) .key("DiscordBoats").value(null)
.key("YetAnotherBotList").value(null) .key("YetAnotherBotList").value(null)
.value("DiscordExtremeList").value(null) .key("DiscordExtremeList").value(null)
.value("DiscordBotReviews").value(null) .key("DiscordBotReviews").value(null)
.value("DiscordBots").value(null) .key("DiscordBots").value(null)
.value("BotListSpace").value(null) .key("BotListSpace").value(null)
.endObject().endObject().toString(); .key("DiscordBots2").value(null)
.key("CloudList").value(null)
.key("Arcane").value(null)
.endObject()
.key("Clyde").value("Clyde")
.endObject().toString();
} }
public String getBotToken() { public String getBotToken() {
@ -143,10 +148,6 @@ public class Config {
return config.getJSONObject("Tokens").getString("DiscordExtremeList"); return config.getJSONObject("Tokens").getString("DiscordExtremeList");
} }
public String getDiscordBotReviewsToken() {
return config.getJSONObject("Tokens").getString("DiscordBotReviews");
}
public String getDiscordBotsToken() { public String getDiscordBotsToken() {
return config.getJSONObject("Tokens").getString("DiscordBots"); return config.getJSONObject("Tokens").getString("DiscordBots");
} }
@ -163,6 +164,10 @@ public class Config {
return config.getJSONObject("Tokens").getString("CloudList"); return config.getJSONObject("Tokens").getString("CloudList");
} }
public String getArcaneToken() {
return config.getJSONObject("Tokens").getString("Arcane");
}
public String getClydeName() { public String getClydeName() {
return config.getString("Clyde"); return config.getString("Clyde");
} }

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.core; package one.bbn.hadder.core;
import com.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.commands.CommandEvent;
import net.dv8tion.jda.api.Permission; import net.dv8tion.jda.api.Permission;
public enum Perm { public enum Perm {
@ -33,12 +33,6 @@ public enum Perm {
return e.getMember().hasPermission(Permission.MESSAGE_MANAGE) || e.getConfig().getOwners().contains(e.getAuthor().getIdLong()); return e.getMember().hasPermission(Permission.MESSAGE_MANAGE) || e.getConfig().getOwners().contains(e.getAuthor().getIdLong());
} }
}, },
EMBED_MESSAGES {
@Override
public boolean check(CommandEvent e) {
return e.getMember().hasPermission(Permission.MESSAGE_EMBED_LINKS) || e.getConfig().getOwners().contains(e.getAuthor().getIdLong());
}
},
BAN_MEMBERS { BAN_MEMBERS {
@Override @Override
public boolean check(CommandEvent e) { public boolean check(CommandEvent e) {
@ -80,6 +74,12 @@ public enum Perm {
public boolean check(CommandEvent e) { public boolean check(CommandEvent e) {
return e.getMember().hasPermission(Permission.MANAGE_WEBHOOKS) || e.getConfig().getOwners().contains(e.getAuthor().getIdLong()); return e.getMember().hasPermission(Permission.MANAGE_WEBHOOKS) || e.getConfig().getOwners().contains(e.getAuthor().getIdLong());
} }
},
VOICE_MOVE_OTHERS {
@Override
public boolean check(CommandEvent e) {
return e.getMember().hasPermission(Permission.VOICE_MOVE_OTHERS) || e.getConfig().getOwners().contains(e.getAuthor().getIdLong());
}
}; };
public abstract boolean check(CommandEvent e); public abstract boolean check(CommandEvent e);

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.core; package one.bbn.hadder.core;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;

View file

@ -0,0 +1,154 @@
/*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package one.bbn.hadder.db;
import com.mongodb.BasicDBObject;
import com.mongodb.client.*;
import one.bbn.hadder.core.Config;
import org.bson.Document;
import org.json.JSONObject;
import java.lang.reflect.Field;
import java.util.NoSuchElementException;
public class Mongo {
MongoDatabase db;
Config config;
public Mongo(Config config) {
this.config = config;
}
public void connect() {
db = MongoClients.create("mongodb://" + config.getDatabaseUsername() + ":" + config.getDatabasePassword() + "@" + config.getDatabaseIP() + ":" + config.getDatabasePort() + "/?authSource=admin").getDatabase("Hadder");
}
public Object getByID(String collection_name, String where, String what, String column) {
MongoCollection<Document> collection = db.getCollection(collection_name);
BasicDBObject whereQuery = new BasicDBObject();
whereQuery.put(where, what);
FindIterable<Document> it = collection.find(whereQuery);
try {
return it.cursor().next().get(column);
} catch (NoSuchElementException ignore) {
return null;
}
}
public JSONObject getObjectByID(String collection, String id) {
BasicDBObject whereQuery = new BasicDBObject();
whereQuery.put("id", id);
try {
String response = db.getCollection(collection).find(whereQuery).cursor().next().toJson();
return new JSONObject(response);
} catch (NoSuchElementException e) {
if (collection.equals("user"))
insertUser(id);
else if (collection.equals("server"))
insertGuild(id);
String response2 = db.getCollection(collection).find(whereQuery).cursor().next().toJson();
return new JSONObject(response2);
}
}
public void remove(String table, String where, String value) {
BasicDBObject whereQuery = new BasicDBObject();
whereQuery.put(where, value);
db.getCollection(table).deleteOne(whereQuery);
}
public void insert(String table, Document doc) {
db.getCollection(table).insertOne(doc);
}
public void insertUser(String id) {
this.insert("user", new Document("id", id)
.append("prefix", "h.")
.append("language", "en")
.append("blacklisted", "none"));
}
public void insertGuild(String id) {
this.insert("server", new Document("id", id)
.append("prefix", "h.")
.append("message_id", "")
.append("role_id", "")
.append("invite_detect", false)
.append("starboard", "")
.append("neededstars", "4")
);
}
public void push(MongoServer server) {
Document object = new Document();
for (Field field : server.getClass().getDeclaredFields()) {
if (!field.getName().equals("mongo")) {
try {
object.append(field.getName(), field.get(server));
} catch (IllegalAccessException e) {
e.printStackTrace();
}
}
}
BasicDBObject whereQuery = new BasicDBObject();
whereQuery.put("id", server.getId());
BasicDBObject updateObject = new BasicDBObject();
updateObject.put("$set", object);
db.getCollection("server").updateOne(whereQuery, updateObject);
}
public void push(MongoUser user) {
Document object = new Document();
for (Field field : user.getClass().getDeclaredFields()) {
if (!field.getName().equals("mongo")) {
try {
object.append(field.getName(), field.get(user));
} catch (IllegalAccessException e) {
e.printStackTrace();
}
}
}
BasicDBObject whereQuery = new BasicDBObject();
whereQuery.put("id", user.getId());
BasicDBObject updateObject = new BasicDBObject();
updateObject.put("$set", object);
db.getCollection("user").updateOne(whereQuery, updateObject);
}
public boolean hasStarboardMessage(String message_id) {
return this.getByID("stars", "id", message_id, "guild") != null;
}
public void insertStarboardMessage(String message_id, String guild_id, String starboard_message_id) {
this.insert("stars", new Document("id", message_id).append("guild", guild_id).append("starboardmsg", starboard_message_id));
}
public String getStarboardMessage(String message_id) {
return (String) this.getByID("stars", "id", message_id, "starboardmsg");
}
public void removeStarboardMessage(String message_id) {
this.remove("stars", "id", message_id);
}
}

View file

@ -14,29 +14,29 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder; package one.bbn.hadder.db;
import org.json.JSONObject; import org.json.JSONObject;
import java.lang.reflect.Field; import java.lang.reflect.Field;
public class RethinkServer { public class MongoServer {
private Rethink rethink; private Mongo mongo;
String accept_emote = ""; public String accept_emote = "";
String decline_emote = ""; public String decline_emote = "";
String id; public String id;
boolean invite_detect = false; public boolean invite_detect = false;
String message_id = ""; public String message_id = "";
String neededstars = "3"; public String neededstars = "3";
String prefix = "h."; public String prefix = "h.";
String role_id = ""; public String role_id = "";
String starboard = ""; public String starboard = "";
public RethinkServer(JSONObject object, Rethink rethink) { public MongoServer(JSONObject object, Mongo mongo) {
for (Field field : this.getClass().getDeclaredFields()) { for (Field field : this.getClass().getDeclaredFields()) {
if (!field.getName().equals("rethink")) { if (!field.getName().equals("mongo")) {
try { try {
if (object.has(field.getName())) if (object.has(field.getName()))
field.set(this, object.get(field.getName())); field.set(this, object.get(field.getName()));
@ -45,7 +45,7 @@ public class RethinkServer {
} }
} }
} }
this.rethink = rethink; this.mongo = mongo;
} }
public String getAcceptEmote() { public String getAcceptEmote() {
@ -68,7 +68,7 @@ public class RethinkServer {
return id; return id;
} }
public boolean isInviteDetect() { public boolean hasInviteDetect() {
return invite_detect; return invite_detect;
} }
@ -116,6 +116,10 @@ public class RethinkServer {
this.starboard = starboard; this.starboard = starboard;
} }
public boolean hasStarboardChannel() {
return !"".equals(starboard);
}
public void updateRules(String message_id, String role_id, String accept_emote, String decline_emote) { public void updateRules(String message_id, String role_id, String accept_emote, String decline_emote) {
this.setMessageID(message_id); this.setMessageID(message_id);
this.setRoleID(role_id); this.setRoleID(role_id);
@ -124,6 +128,6 @@ public class RethinkServer {
} }
public void push() { public void push() {
rethink.pushServer(this); mongo.push(this);
} }
} }

View file

@ -14,24 +14,24 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder; package one.bbn.hadder.db;
import org.json.JSONObject; import org.json.JSONObject;
import java.lang.reflect.Field; import java.lang.reflect.Field;
public class RethinkUser { public class MongoUser {
private Rethink rethink; private Mongo mongo;
String id; public String id;
String prefix = "h."; public String prefix = "h.";
String language = "en"; public String language = "en";
String blacklisted = "none"; public String blacklisted = "none";
public RethinkUser(JSONObject object, Rethink rethink) { public MongoUser(JSONObject object, Mongo mongo) {
for (Field field : this.getClass().getDeclaredFields()) { for (Field field : this.getClass().getDeclaredFields()) {
if (!field.getName().equals("rethink")) { if (!field.getName().equals("mongo")) {
try { try {
if (object.has(field.getName())) if (object.has(field.getName()))
field.set(this, object.getString(field.getName())); field.set(this, object.getString(field.getName()));
@ -40,11 +40,11 @@ public class RethinkUser {
} }
} }
} }
this.rethink = rethink; this.mongo = mongo;
} }
public Rethink getRethink() { public Mongo getMongo() {
return rethink; return mongo;
} }
public String getId() { public String getId() {
@ -76,6 +76,6 @@ public class RethinkUser {
} }
public void push() { public void push() {
rethink.pushUser(this); mongo.push(this);
} }
} }

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,17 +14,18 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.listener; package one.bbn.hadder.listener;
import com.bbn.hadder.Rethink; import one.bbn.hadder.audio.AudioManager;
import com.bbn.hadder.RethinkServer; import one.bbn.hadder.core.CommandHandler;
import com.bbn.hadder.RethinkUser; import one.bbn.hadder.db.Mongo;
import com.bbn.hadder.audio.AudioManager; import one.bbn.hadder.db.MongoServer;
import com.bbn.hadder.core.CommandHandler; import one.bbn.hadder.db.MongoUser;
import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.Permission; import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.ChannelType; import net.dv8tion.jda.api.entities.ChannelType;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import net.dv8tion.jda.api.exceptions.ErrorResponseException;
import net.dv8tion.jda.api.hooks.ListenerAdapter; import net.dv8tion.jda.api.hooks.ListenerAdapter;
import java.awt.*; import java.awt.*;
@ -32,12 +33,12 @@ import java.time.Instant;
public class CommandListener extends ListenerAdapter { public class CommandListener extends ListenerAdapter {
private Rethink rethink; private final Mongo mongo;
private CommandHandler handler; private final CommandHandler handler;
private AudioManager audioManager; private final AudioManager audioManager;
public CommandListener(Rethink rethink, CommandHandler handler, AudioManager audioManager) { public CommandListener(Mongo mongo, CommandHandler handler, AudioManager audioManager) {
this.rethink = rethink; this.mongo = mongo;
this.handler = handler; this.handler = handler;
this.audioManager = audioManager; this.audioManager = audioManager;
} }
@ -47,39 +48,46 @@ public class CommandListener extends ListenerAdapter {
if (e.isFromType(ChannelType.TEXT) && !e.getAuthor().isBot()) { if (e.isFromType(ChannelType.TEXT) && !e.getAuthor().isBot()) {
if (e.getGuild().getSelfMember().hasPermission(Permission.MESSAGE_WRITE)) { if (e.getGuild().getSelfMember().hasPermission(Permission.MESSAGE_WRITE)) {
if (e.getGuild().getSelfMember().hasPermission(Permission.MESSAGE_EMBED_LINKS)) { if (e.getGuild().getSelfMember().hasPermission(Permission.MESSAGE_EMBED_LINKS)) {
RethinkUser rethinkUser = new RethinkUser(rethink.getObjectByID("user", e.getAuthor().getId()), rethink); MongoUser mongoUser = new MongoUser(mongo.getObjectByID("user", e.getAuthor().getId()), mongo);
RethinkServer rethinkServer = new RethinkServer(rethink.getObjectByID("server", e.getGuild().getId()), rethink); MongoServer mongoServer = new MongoServer(mongo.getObjectByID("server", e.getGuild().getId()), mongo);
rethinkUser.push(); mongoUser.push();
rethinkServer.push(); mongoServer.push();
String[] prefixes = { String[] prefixes = {
rethinkUser.getPrefix(), rethinkServer.getPrefix(), mongoUser.getPrefix(), mongoServer.getPrefix(),
e.getGuild().getSelfMember().getAsMention() + " ", e.getGuild().getSelfMember().getAsMention(), e.getGuild().getSelfMember().getAsMention() + " ", e.getGuild().getSelfMember().getAsMention(),
e.getGuild().getSelfMember().getAsMention().replace("@", "@!") + " ", e.getGuild().getSelfMember().getAsMention().replace("@", "@!") + " ",
e.getGuild().getSelfMember().getAsMention().replace("@", "@!") e.getGuild().getSelfMember().getAsMention().replace("@", "@!")
}; };
for (String prefix : prefixes) { for (String prefix : prefixes) {
if (e.getMessage().getContentRaw().startsWith(prefix)) { if (e.getMessage().getContentRaw().startsWith(prefix)) {
handler.handle(e, rethink, prefix, audioManager, rethinkUser, rethinkServer); handler.handle(e, mongo, prefix, audioManager, mongoUser, mongoServer);
return; return;
} }
} }
} else { } else {
try {
e.getAuthor().openPrivateChannel().complete().sendMessage(new EmbedBuilder() e.getAuthor().openPrivateChannel().complete().sendMessage(new EmbedBuilder()
.setTitle("No permission") .setTitle("No permission")
.setDescription("I need the `MESSAGE EMBED LINKS` permission in order to work!") .setDescription("I need the `MESSAGE EMBED LINKS` permission in order to work!")
.setColor(Color.RED) .setColor(Color.RED)
.setFooter("Hadder", "https://bigbotnetwork.com/images/Hadder.png") .setFooter("Hadder", "https://bbn.one/images/Hadder.png")
.setTimestamp(Instant.now()) .setTimestamp(Instant.now())
.build()).queue(); .build()).queue();
} catch (ErrorResponseException ex) {
e.getTextChannel().sendMessage("I need the `MESSAGE EMBED LINKS` permission in order to work!").queue();
}
} }
} else { } else {
try {
e.getAuthor().openPrivateChannel().complete().sendMessage(new EmbedBuilder() e.getAuthor().openPrivateChannel().complete().sendMessage(new EmbedBuilder()
.setTitle("No permission") .setTitle("No permission")
.setDescription("I need the `MESSAGE WRITE` permission in order to work!") .setDescription("I need the `MESSAGE WRITE` permission in order to work!")
.setColor(Color.RED) .setColor(Color.RED)
.setFooter("Hadder", "https://bigbotnetwork.com/images/Hadder.png") .setFooter("Hadder", "https://bbn.one/images/Hadder.png")
.setTimestamp(Instant.now()) .setTimestamp(Instant.now())
.build()).queue(); .build()).queue();
} catch (ErrorResponseException ignore) {}
} }
} }
} }

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.listener; package one.bbn.hadder.listener;
import com.bbn.hadder.Rethink; import one.bbn.hadder.core.Config;
import com.bbn.hadder.core.Config; import one.bbn.hadder.db.Mongo;
import com.bbn.hadder.utils.BotList; import one.bbn.hadder.utils.BotList;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.events.guild.GuildJoinEvent; import net.dv8tion.jda.api.events.guild.GuildJoinEvent;
import net.dv8tion.jda.api.events.guild.GuildLeaveEvent; import net.dv8tion.jda.api.events.guild.GuildLeaveEvent;
import net.dv8tion.jda.api.events.guild.member.GuildMemberJoinEvent; import net.dv8tion.jda.api.events.guild.member.GuildMemberJoinEvent;
@ -30,25 +29,17 @@ import java.time.Instant;
public class GuildListener extends ListenerAdapter { public class GuildListener extends ListenerAdapter {
private Rethink rethink; private final Mongo mongo;
private Config config; private final Config config;
public GuildListener(Rethink rethink, Config config) { public GuildListener(Mongo mongo, Config config) {
this.rethink = rethink; this.mongo = mongo;
this.config = config; this.config = config;
} }
public void onGuildJoin(GuildJoinEvent e) { public void onGuildJoin(GuildJoinEvent e) {
new Thread(() -> { mongo.insertGuild(e.getGuild().getId());
for (Member member : e.getGuild().getMembers()) { e.getJDA().getTextChannelById("759783393230979142").sendMessage(new MessageEditor(null, null).getMessage(MessageEditor.MessageType.INFO)
if (!member.getUser().getId().equals(e.getJDA().getSelfUser().getId())) {
rethink.insertUser(member.getUser().getId());
}
}
}).start();
rethink.insertGuild(e.getGuild().getId());
e.getJDA().getTextChannelById("475722540140986369").sendMessage(new MessageEditor(null, null).getMessage(MessageEditor.MessageType.INFO)
.setTitle("Joined Server") .setTitle("Joined Server")
.setThumbnail(e.getGuild().getIconUrl()) .setThumbnail(e.getGuild().getIconUrl())
.addField("Name", e.getGuild().getName(), true) .addField("Name", e.getGuild().getName(), true)
@ -63,7 +54,7 @@ public class GuildListener extends ListenerAdapter {
} }
public void onGuildLeave(GuildLeaveEvent e) { public void onGuildLeave(GuildLeaveEvent e) {
e.getJDA().getTextChannelById("475722540140986369").sendMessage(new MessageEditor(null, null).getMessage(MessageEditor.MessageType.INFO) e.getJDA().getTextChannelById("759783393230979142").sendMessage(new MessageEditor(null, null).getMessage(MessageEditor.MessageType.INFO)
.setTitle("Left Server") .setTitle("Left Server")
.setThumbnail(e.getGuild().getIconUrl()) .setThumbnail(e.getGuild().getIconUrl())
.addField("Name", e.getGuild().getName(), true) .addField("Name", e.getGuild().getName(), true)
@ -79,7 +70,7 @@ public class GuildListener extends ListenerAdapter {
public void onGuildMemberJoin(GuildMemberJoinEvent e) { public void onGuildMemberJoin(GuildMemberJoinEvent e) {
if (!e.getUser().getId().equals(e.getJDA().getSelfUser().getId())) { if (!e.getUser().getId().equals(e.getJDA().getSelfUser().getId())) {
rethink.insertUser(e.getUser().getId()); mongo.insertUser(e.getUser().getId());
} }
} }
} }

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +14,14 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.listener; package one.bbn.hadder.listener;
import com.bbn.hadder.Rethink; import one.bbn.hadder.db.Mongo;
import com.bbn.hadder.RethinkServer; import one.bbn.hadder.db.MongoServer;
import net.dv8tion.jda.api.Permission; import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.ChannelType; import net.dv8tion.jda.api.entities.ChannelType;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.Message; import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import net.dv8tion.jda.api.events.message.MessageUpdateEvent; import net.dv8tion.jda.api.events.message.MessageUpdateEvent;
@ -33,29 +35,22 @@ import javax.annotation.Nonnull;
public class InviteLinkListener extends ListenerAdapter { public class InviteLinkListener extends ListenerAdapter {
private Rethink rethink; private Mongo mongo;
public InviteLinkListener(Rethink rethink) { public InviteLinkListener(Mongo mongo) {
this.rethink = rethink; this.mongo = mongo;
} }
@Override @Override
public void onMessageReceived(@Nonnull MessageReceivedEvent e) { public void onMessageReceived(@Nonnull MessageReceivedEvent e) {
RethinkServer rethinkServer = new RethinkServer(rethink.getObjectByID("server", e.getGuild().getId()), rethink); if (e.isFromType(ChannelType.TEXT)) scanMessage(e.getGuild(), e.getMessage(), e.getMember());
if (e.isFromType(ChannelType.TEXT)) {
if (e.getMessage().getContentRaw().contains("discord.gg/") && (!e.getMember().hasPermission(Permission.ADMINISTRATOR) && rethinkServer.isInviteDetect())) {
checkInvite(e.getMessage(), "discord.gg/");
} else if (e.getMessage().getContentRaw().contains("discordapp.com/invite") && (!e.getMember().hasPermission(Permission.ADMINISTRATOR) && rethinkServer.isInviteDetect())) {
checkInvite(e.getMessage(), "discordapp.com/invite/");
}
}
} }
public void checkInvite(Message message, String regex) { public void checkInvite(Message message, String regex) {
String split = message.getContentRaw().split(regex, 10)[1]; String split = message.getContentRaw().split(regex, 10)[1];
String invite = split.split(" ")[0]; String invite = split.split(" ")[0];
OkHttpClient client = new OkHttpClient(); OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder().url("https://canary.discordapp.com/api/v6/invites/" + invite).build(); Request request = new Request.Builder().url("https://canary.discord.com/api/v8/invites/" + invite).build();
try { try {
Response response = client.newCall(request).execute(); Response response = client.newCall(request).execute();
JSONObject json = new JSONObject(response.body().string()); JSONObject json = new JSONObject(response.body().string());
@ -69,13 +64,17 @@ public class InviteLinkListener extends ListenerAdapter {
@Override @Override
public void onMessageUpdate(@Nonnull MessageUpdateEvent e) { public void onMessageUpdate(@Nonnull MessageUpdateEvent e) {
RethinkServer rethinkServer = new RethinkServer(rethink.getObjectByID("server", e.getGuild().getId()), rethink); if (e.isFromType(ChannelType.TEXT)) scanMessage(e.getGuild(), e.getMessage(), e.getMember());
if (e.isFromType(ChannelType.TEXT)) {
if (e.getMessage().getContentRaw().contains("discord.gg/") && !e.getMember().hasPermission(Permission.ADMINISTRATOR) && rethinkServer.isInviteDetect()) {
checkInvite(e.getMessage(), "discord.gg/");
} else if (e.getMessage().getContentRaw().contains("discordapp.com/invite") && !e.getMember().hasPermission(Permission.ADMINISTRATOR) && rethinkServer.isInviteDetect()) {
checkInvite(e.getMessage(), "discordapp.com/invite/");
} }
public void scanMessage(Guild guild, Message message, Member member) {
MongoServer mongoServer = new MongoServer(mongo.getObjectByID("server", guild.getId()), mongo);
if (message.getContentRaw().contains("discord.gg/") && !member.hasPermission(Permission.ADMINISTRATOR) && mongoServer.hasInviteDetect()) {
checkInvite(message, "discord.gg/");
} else if (message.getContentRaw().contains("discord.com/invite") && !member.hasPermission(Permission.ADMINISTRATOR) && mongoServer.hasInviteDetect()) {
checkInvite(message, "discord.com/invite/");
} else if (message.getContentRaw().contains("discordapp.com/invite") && !member.hasPermission(Permission.ADMINISTRATOR) && mongoServer.hasInviteDetect()) {
checkInvite(message, "discordapp.com/invite/");
} }
} }
} }

View file

@ -0,0 +1,78 @@
/*
* Copyright 2019-2021 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package one.bbn.hadder.listener;
import one.bbn.hadder.core.Config;
import one.bbn.hadder.db.Mongo;
import one.bbn.hadder.db.MongoServer;
import one.bbn.hadder.db.MongoUser;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.ChannelType;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter;
import org.kohsuke.github.GHRepository;
import org.kohsuke.github.GitHub;
import javax.annotation.Nonnull;
import java.io.IOException;
import java.util.Random;
public class MentionListener extends ListenerAdapter {
private final Mongo mongo;
private final Config config;
public MentionListener(Mongo mongo, Config config) {
this.mongo = mongo;
this.config = config;
}
@Override
public void onMessageReceived(@Nonnull MessageReceivedEvent e) {
if (!e.getAuthor().isBot() && e.isFromType(ChannelType.TEXT)) {
MongoServer mongoServer = new MongoServer(mongo.getObjectByID("server", e.getGuild().getId()), mongo);
MongoUser mongoUser = new MongoUser(mongo.getObjectByID("user", e.getAuthor().getId()), mongo);
if (e.isFromType(ChannelType.TEXT) && (e.getMessage().getContentRaw().equals(e.getGuild().getSelfMember().getAsMention()) ||
e.getMessage().getContentRaw().equals(e.getGuild().getSelfMember().getAsMention().replace("@", "@!")))) {
String version = null;
try {
GitHub connection = GitHub.connectUsingOAuth(config.getGitHubToken());
GHRepository Hadder = connection.getOrganization("BBN-Holding").getRepository("Hadder");
version = Hadder.getLatestRelease().getTagName();
} catch (IOException ioException) {
ioException.printStackTrace();
}
EmbedBuilder builder = new EmbedBuilder()
.setTitle("Hi!")
.addField("Version", version, false)
.addField("User-Prefix", mongoUser.getPrefix(), true)
.addField("Guild-Prefix", mongoServer.getPrefix(), true)
.addField("Join our Dev Server!", "[Click here!](https://discord.gg/nPwjaJk)", true)
.addField("Github", "[Click here!](https://github.com/BBN-Holding/Hadder)", false);
e.getChannel().sendMessage(builder.build()).queue();
} else if (e.getMessage().getContentRaw().equalsIgnoreCase("@someone")) {
int member = new Random().nextInt(e.getGuild().getMembers().size() - 1);
if (member > 0 && member < e.getGuild().getMembers().size()) {
e.getChannel().sendMessage(e.getGuild().getMembers().get(member).getAsMention() + " (Executed by: " + e.getAuthor().getAsTag() + ")").queue();
}
}
}
}
}

View file

@ -0,0 +1,50 @@
/*
* Copyright 2019-2021 GregTCLTK and Schlauer-Hax
*
* Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/agpl-3.0.en.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package one.bbn.hadder.listener;
import one.bbn.hadder.core.Config;
import net.dv8tion.jda.api.entities.Emote;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter;
import javax.annotation.Nonnull;
public class OwnerMessageListener extends ListenerAdapter {
Config config;
public OwnerMessageListener(Config config) {
this.config = config;
}
@Override
public void onMessageReceived(@Nonnull MessageReceivedEvent event) {
if (config.getOwners().contains(event.getAuthor().getIdLong()) && event.getMessage().getContentRaw().startsWith(":") && event.getMessage().getContentRaw().endsWith(":")) {
String emoteName = event.getMessage().getContentRaw().split(":")[1];
if (!emoteName.contains(" ")) {
Emote[] emotes = event.getJDA().getEmotesByName(emoteName, true).toArray(new Emote[0]);
StringBuilder sb = new StringBuilder();
if (emotes.length != 0) {
for (Emote emote : emotes) {
sb.append(emote.getAsMention()).append(" ");
}
event.getChannel().sendMessage(sb.toString()).queue();
}
}
}
}
}

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.listener; package one.bbn.hadder.listener;
import com.bbn.hadder.Rethink; import one.bbn.hadder.db.Mongo;
import com.bbn.hadder.RethinkUser; import one.bbn.hadder.db.MongoUser;
import com.bbn.hadder.utils.MessageEditor; import one.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.ChannelType; import net.dv8tion.jda.api.entities.ChannelType;
import net.dv8tion.jda.api.entities.PrivateChannel; import net.dv8tion.jda.api.entities.PrivateChannel;
@ -30,25 +30,26 @@ import java.time.Instant;
public class PrivateMessageListener extends ListenerAdapter { public class PrivateMessageListener extends ListenerAdapter {
private Rethink rethink; private final Mongo mongo;
public PrivateMessageListener(Rethink rethink) { public PrivateMessageListener(Mongo mongo) {
this.rethink = rethink; this.mongo = mongo;
} }
public void onMessageReceived(MessageReceivedEvent e) { public void onMessageReceived(MessageReceivedEvent e) {
if (e.isFromType(ChannelType.PRIVATE) && !e.getAuthor().getId().equals(e.getJDA().getSelfUser().getId())) { if (e.isFromType(ChannelType.PRIVATE) && !e.getAuthor().getId().equals(e.getJDA().getSelfUser().getId())) {
PrivateChannel Skidder = e.getJDA().getUserById("477141528981012511").openPrivateChannel().complete(); PrivateChannel Skidder = e.getJDA().getUserById("401817301919465482").openPrivateChannel().complete();
PrivateChannel Hax = e.getJDA().getUserById("261083609148948488").openPrivateChannel().complete(); PrivateChannel Hax = e.getJDA().getUserById("261083609148948488").openPrivateChannel().complete();
RethinkUser rethinkUser = new RethinkUser(rethink.getObjectByID("user", "261083609148948488"), rethink); MongoUser HaxUser = new MongoUser(mongo.getObjectByID("user", "261083609148948488"), mongo);
MongoUser SkidderUser = new MongoUser(mongo.getObjectByID("user", "261083609148948488"), mongo);
Skidder.sendMessage(new MessageEditor(rethinkUser, e.getJDA().getUserById("261083609148948488")).getMessage(MessageEditor.MessageType.INFO) Skidder.sendMessage(new MessageEditor(SkidderUser, e.getJDA().getUserById("401817301919465482")).getMessage(MessageEditor.MessageType.INFO)
.setTitle("New DM by " + e.getAuthor().getAsTag()) .setTitle("New DM by " + e.getAuthor().getAsTag())
.setAuthor(e.getAuthor().getName(), e.getAuthor().getAvatarUrl(), e.getAuthor().getAvatarUrl()) .setAuthor(e.getAuthor().getName(), e.getAuthor().getAvatarUrl(), e.getAuthor().getAvatarUrl())
.setDescription(e.getMessage().getContentRaw()) .setDescription(e.getMessage().getContentRaw())
.setTimestamp(Instant.now()) .setTimestamp(Instant.now())
.build()).queue(); .build()).queue();
Hax.sendMessage(new MessageEditor(rethinkUser, e.getJDA().getUserById("261083609148948488")).getMessage(MessageEditor.MessageType.INFO) Hax.sendMessage(new MessageEditor(HaxUser, e.getJDA().getUserById("261083609148948488")).getMessage(MessageEditor.MessageType.INFO)
.setTitle("New DM by " + e.getAuthor().getAsTag()) .setTitle("New DM by " + e.getAuthor().getAsTag())
.setAuthor(e.getAuthor().getName(), e.getAuthor().getAvatarUrl(), e.getAuthor().getAvatarUrl()) .setAuthor(e.getAuthor().getName(), e.getAuthor().getAvatarUrl(), e.getAuthor().getAvatarUrl())
.setDescription(e.getMessage().getContentRaw()) .setDescription(e.getMessage().getContentRaw())
@ -57,9 +58,9 @@ public class PrivateMessageListener extends ListenerAdapter {
e.getChannel().sendMessage(new EmbedBuilder() e.getChannel().sendMessage(new EmbedBuilder()
.setTitle("No DM support") .setTitle("No DM support")
.setDescription("You have to execute your commands on a guild!") .setDescription("You have to execute your commands on a guild! For further support join our Discord server [here](https://discord.gg/nPwjaJk)")
.setColor(Color.RED) .setColor(Color.RED)
.setFooter("Hadder", "https://bigbotnetwork.com/images/Hadder.png") .setFooter("Hadder", "https://bbn.one/images/Hadder.png")
.setTimestamp(Instant.now()) .setTimestamp(Instant.now())
.build()).queue(); .build()).queue();
} }

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2019-2020 GregTCLTK and Schlauer-Hax * Copyright 2019-2021 GregTCLTK and Schlauer-Hax
* *
* Licensed under the GNU Affero General Public License, Version 3.0; * Licensed under the GNU Affero General Public License, Version 3.0;
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,42 +14,25 @@
* limitations under the License. * limitations under the License.
*/ */
package com.bbn.hadder.listener; package one.bbn.hadder.listener;
import com.bbn.hadder.Rethink; import one.bbn.hadder.core.Config;
import com.bbn.hadder.core.Config;
import com.bbn.hadder.utils.BotList;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.User;
import net.dv8tion.jda.api.events.ReadyEvent; import net.dv8tion.jda.api.events.ReadyEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter; import net.dv8tion.jda.api.hooks.ListenerAdapter;
import one.bbn.hadder.utils.BotList;
import javax.annotation.Nonnull; import javax.annotation.Nonnull;
public class ReadyListener extends ListenerAdapter { public class ReadyListener extends ListenerAdapter {
private Rethink rethink; private final Config config;
private Config config;
public ReadyListener(Rethink rethink, Config config) { public ReadyListener(Config config) {
this.rethink = rethink;
this.config = config; this.config = config;
} }
@Override @Override
public void onReady(@Nonnull ReadyEvent e) { public void onReady(@Nonnull ReadyEvent e) {
rethink.setup();
new Thread(() -> {
for (User user : e.getJDA().getUsers()) {
if (!user.getId().equals(e.getJDA().getSelfUser().getId())) {
rethink.insertUser(user.getId());
}
}
for (Guild g : e.getJDA().getGuilds()) {
rethink.insertGuild(g.getId());
}
}).start();
new BotList(config).post(); new BotList(config).post();
} }
} }

Some files were not shown because too many files have changed in this diff Show more