ree6-applications / ree6 Goto Github PK
View Code? Open in Web Editor NEWAll-in-one, open source and 100% free Discord Bot!
Home Page: https://ree6.de
License: GNU General Public License v3.0
All-in-one, open source and 100% free Discord Bot!
Home Page: https://ree6.de
License: GNU General Public License v3.0
Creating a set of tools for streamers!
Concepts:
Allowing "scripting" and access to channel internal information (redemptions for example)
Example of this would look like
Action creation:
voice-join ID
play-tts Hey!
play-url https://youtube.com/.....
voice-leave
Event listener:
redemption ID
action ACTIONID
With this concept users will be able to create actions and assign them to specific self selected listeners.
Users wont need to actualy script anything since all this is going to be handled in commands for example:
ree!stream-action create MyAction
ree!stream-action MyAction add voice-join enterId
ree!stream-action MyAction list
ree!stream-action MyAction delete LineNumber
ree!stream-action MyAction listen redemption redemptionId
Currently planned Actions:
voice-join CHANNELID -> Let the Bot join a Voicechannel.
voice-leave -> Let the Bot leave the current Voicechannel.
play-tts MESSAGE -> Plays a TTS-Message created by the given String
play-url URL -> Plays the Audio from a URL (only supported URLs, no self hosted URLs)
say CHANNELID MESSAGE -> Send a Message into the given channel.
Adding support for Streaming Elements from providers such as Stream Elements, StreamLabs and Tipeeestream
.
With this we would allow streamers to directly let them play their own Alert-Box over Ree6, without sharing any private information! (A OAuth connection is most likely required.)
Respectiv Documentation
StreamLabs
TipeeeStream
Stream Elements
Not possible since all of these hide the actual widgets since they are being run in a sanbox for security reasons
List the wanted documentations on the classes
Most of 2.0.0 classes are not documented.
Sentry Issue: REE6-JAVA-1T
Missing Language-Entry: game.description.musicquiz
Sentry Issue: REE6-JAVA-1N
Missing Language-Entry: message.music.loop.enable
Add a Ticket System similiar to TicketBot.
Allows search transcripts by user (that created or closed the transcript) (like with mentions:)
The record feature fails when sending a file with over 8MB of size.
There a multiple solutions for this Issue.
Is your feature request related to a problem? Please describe.
A Issue with using none primitiv datatyps is that it requires to set the keepOriginal to value to false and implement a converting code, which takes too much time and is annoying.
Describe the solution you'd like
Replacing the keepOriginal property with a ObjectConverter System which allows flexible Object convertion.
I tried running the .jar file but I am getting this error ava.io.FileNotFoundException: config.yml (No such file or directory)
I updated my java to version 17 but don't know what to do next
No response
When creating a Temporal Voiechannel the name of the every next one is not numerical above the last one, they at a 1 each time. Which means first one will be Temporal VC #1 next one will be Temporal VC #11 and so on. Also after leaving the temporal channel those do not delete themselfs.
v2 (Current)
No response
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Warning
Renovate failed to look up the following dependencies: Failed to look up maven package com.github.masecla22:Reddit4J
, Failed to look up maven package de.ree6:JLyrics
.
Files affected: pom.xml
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
Dockerfile
docker/dockerfile 1
maven 3.9.9-amazoncorretto-17
amazoncorretto 21-alpine3.16-full
.github/workflows/cli.yml
actions/checkout v4
actions/setup-java v4
actions/upload-artifact v4
.github/workflows/codeql-analysis.yml
actions/checkout v4
actions/setup-java v4
github/codeql-action v3
github/codeql-action v3
github/codeql-action v3
.github/workflows/dockerPush.yml
actions/checkout v4
docker/login-action v3.3.0
docker/metadata-action v5.5.1
docker/build-push-action v6.7.0
.github/workflows/sonar-analytics.yml
actions/checkout v4
actions/setup-java v4
actions/cache v4
actions/cache v4
Ree6-Installer/pom.xml
org.json:json 20240303
com.github.Carleslc.Simple-YAML:Simple-Yaml 1.8.4
org.apache.maven.plugins:maven-javadoc-plugin 3.8.0
org.projectlombok:lombok-maven-plugin 1.18.20.0
org.apache.maven.plugins:maven-compiler-plugin 3.13.0
pom.xml
net.dv8tion:JDA 5.1.0
dev.arbjerg:lavaplayer 2.2.1
dev.lavalink.youtube:v2 1.7.2
com.sedmelluq:lava-common 1.1.2
club.minnced:discord-webhooks 0.8.4
io.sentry:sentry 7.14.0
com.github.Carleslc.Simple-YAML:Simple-Yaml 1.8.4
com.github.instagram4j:instagram4j 2.0.7
com.github.masecla22:Reddit4J 74c789155d
com.github.twitch4j:twitch4j 1.21.0
io.github.redouane59.twitter:twittered 2.23
me.presti:YoutubeWrapper 1.2.1
me.presti:TikTokWrapper d9194fb3fa
com.github.jwdeveloper.TikTok-Live-Java:Client 1.8.6-Release
se.michaelthelin.spotify:spotify-web-api-java 8.4.1
de.ree6:JLyrics 765f7e0b88
de.ree6:Lavalink-Client a8e9e49a57
com.apptasticsoftware:rssreader 3.8.2
me.presti:Nekos4J 1.0.1
me.presti:Amari4Java 63f49f783b
com.lilittlecat:chatgpt 1.0.3
de.ree6:Ree6-SQL da620ec7a5
org.slf4j:slf4j-api 2.0.16
ch.qos.logback:logback-classic 1.5.7
org.projectlombok:lombok 1.18.34
commons-validator:commons-validator 1.9.0
org.apache.commons:commons-collections4 4.4
commons-io:commons-io 2.16.1
commons-codec:commons-codec 1.17.1
com.fasterxml.jackson.core:jackson-core 2.17.2
com.fasterxml.jackson.core:jackson-databind 2.17.2
com.fasterxml.jackson.core:jackson-annotations 2.17.2
org.glassfish.jersey.media:jersey-media-json-jackson 3.1.8
org.glassfish.jersey.core:jersey-client 3.1.8
org.apache.httpcomponents.client5:httpclient5 5.3.1
org.reflections:reflections 0.10.2
best.azura:Azura-Event-Bus 3.1.0
com.google.code.gson:gson 2.11.0
org.apache.maven.plugins:maven-javadoc-plugin 3.8.0
org.projectlombok:lombok-maven-plugin 1.18.20.0
io.github.git-commit-id:git-commit-id-maven-plugin 9.0.1
org.apache.maven.plugins:maven-compiler-plugin 3.13.0
Add more Logs for example Timeout.
Use Discord AuditLogging to get the user behind the log event for example who banned the user and who changed the vanity
Sentry Issue: REE6-JAVA-1Q
ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at de.presti.ree6.commands.impl.mod.Import.onPerform(Import.java:36)
at de.presti.ree6.commands.interfaces.ICommand.lambda$onASyncPerform$0(ICommand.java:28)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
...
(4 additional frame(s) were not displayed)
CompletionException: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
...
(4 additional frame(s) were not displayed)
Rework the Music System to make overall usage easier and more organized.
CloseCode(4014 / Disallowed intents. Your bot might not be eligible to request a privileged intent such as GUILD_PRESENCES or GUILD_MEMBERS.)
I get this message whenever i try to run the jar file
There currently is a bug while merging Member Role change Logs. Either only one added role will be shown and same goes for removed.
Tracking issue for:
Since Ree6 started as "a copy" of Mee6, we decided that we would try to offer all features that Mee6 offers but completly for free.
This is a major task and will take time, but please note that we started as "a copy" but we do not want to continue as one, we want to be a individual project with its own great Stuff!
๐ฒ = Paid feature on Mee6.
The list has been resorted on the 13th of September (2024) to match the priorities.
Sentry Issue: REE6-JAVA-1F
IllegalStateException: Cannot convert option of type NUMBER to long
at net.dv8tion.jda.api.interactions.commands.OptionMapping.getAsLong(OptionMapping.java:170)
at de.presti.ree6.commands.impl.level.LevelRole.onPerform(LevelRole.java:58)
at de.presti.ree6.commands.interfaces.ICommand.lambda$onASyncPerform$0(ICommand.java:28)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
...
(5 additional frame(s) were not displayed)
CompletionException: java.lang.IllegalStateException: Cannot convert option of type NUMBER to long
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
...
(4 additional frame(s) were not displayed)
FInish the code documentation on all Projects.
Describe the bug
When trying to map a Statistic Entity it fails, since it tries to map another class into Statistic which can't work.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No Error message and new data in the database
Additional context
Found out while testing Blackjack update.
Allow Users to have custom Profile Pictures for Ree6 on their Server.
Is your feature request related to a problem? Please describe.
A nice feature that Hydra has is that it has the option to create a text-channel entirely dedicated to music requests, now that Hydra no longer plays any music at all it is a highly missed feature in thousands of Discord servers.
Describe the solution you'd like
I think it'd be a great idea to implement this as it would attract potentially thousands of new bot installs.
Describe alternatives you've considered
An alternative is a web panel, but in my experience, this is a bit more finnicky to use while trying to game. (The text-channel approach is much simpler and easier for non-tech savvy users)
Additional context
N/A
Create a more simpler and faster way of setting up the ticket system!
For example its own creation command, transcripts as txt files in the log channel, a way to trace the participants of a ticket after closing to find the right transcript.
Sentry Issue: REE6-JAVA-1J
UnsupportedOperationException: JsonNull
at com.google.gson.JsonElement.getAsString(JsonElement.java:187)
at de.presti.ree6.commands.impl.fun.Manga.sendAnime(Manga.java:115)
at de.presti.ree6.commands.impl.fun.Manga.onPerform(Manga.java:56)
at de.presti.ree6.commands.interfaces.ICommand.lambda$onASyncPerform$0(ICommand.java:28)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
...
(6 additional frame(s) were not displayed)
CompletionException: java.lang.UnsupportedOperationException: JsonNull
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
...
(4 additional frame(s) were not displayed)
Add a YouTube-Notifier to Ree6
Tracking issue for:
A rework of all menus created and used in Ree6, for example the setup menu, would be something great and could help making Ree6 more accessible and "clean".
Sentry Issue: REE6-JAVA-1X
ClosedChannelException: None
at sun.nio.ch.SocketChannelImpl.ensureOpen(SocketChannelImpl.java:195)
at sun.nio.ch.SocketChannelImpl.beginConnect(SocketChannelImpl.java:760)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:848)
at jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0(PlainHttpConnection.java:183)
at java.security.AccessController.doPrivileged(AccessController.java:569)
...
(10 additional frame(s) were not displayed)
ConnectException: None
at jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1047)
at jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:198)
at jdk.internal.net.http.PlainHttpConnection.checkRetryConnect(PlainHttpConnection.java:230)
at jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$1(PlainHttpConnection.java:206)
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
...
(6 additional frame(s) were not displayed)
ConnectException: None
at jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:573)
at jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:123)
at de.presti.wrapper.YouTubeWrapper.send(YouTubeWrapper.java:123)
at de.presti.wrapper.YouTubeWrapper.getChannelVideo(YouTubeWrapper.java:89)
at de.presti.ree6.utils.apis.YouTubeAPIHandler.getYouTubeUploads(YouTubeAPIHandler.java:67)
...
(7 additional frame(s) were not displayed)
Sentry Issue: REE6-JAVA-1R
Missing Language-Entry: label.type
Sentry Issue: REE6-JAVA-1P
SQLDataException: Data type BIGINT cannot be decoded as Timestamp
at org.mariadb.jdbc.client.column.SignedBigIntColumn.decodeTimestampText(SignedBigIntColumn.java:212)
at org.mariadb.jdbc.client.result.rowdecoder.TextRowDecoder.decodeTimestamp(TextRowDecoder.java:97)
at org.mariadb.jdbc.client.result.Result.getTimestamp(Result.java:599)
at com.zaxxer.hikari.pool.HikariProxyResultSet.getTimestamp(HikariProxyResultSet.java)
at org.hibernate.type.descriptor.jdbc.TimestampJdbcType$2.doExtract(TimestampJdbcType.java:112)
...
(25 additional frame(s) were not displayed)
HibernateException: Unable to extract JDBC value for position `4`
at org.hibernate.sql.results.jdbc.internal.JdbcValuesResultSetImpl.readCurrentRowValues(JdbcValuesResultSetImpl.java:271)
at org.hibernate.sql.results.jdbc.internal.JdbcValuesResultSetImpl.advance(JdbcValuesResultSetImpl.java:244)
at org.hibernate.sql.results.jdbc.internal.JdbcValuesResultSetImpl.processNext(JdbcValuesResultSetImpl.java:85)
at org.hibernate.sql.results.jdbc.internal.AbstractJdbcValues.next(AbstractJdbcValues.java:29)
at org.hibernate.sql.results.internal.RowProcessingStateStandardImpl.next(RowProcessingStateStandardImpl.java:88)
...
(19 additional frame(s) were not displayed)
PersistenceException: Converting `org.hibernate.HibernateException` to JPA `PersistenceException` : Unable to extract JDBC value for position `4`
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:165)
at org.hibernate.query.spi.AbstractSelectionQuery.list(AbstractSelectionQuery.java:374)
at org.hibernate.query.Query.getResultList(Query.java:94)
at de.presti.ree6.sql.SQLWorker.getEntityList(SQLWorker.java:1866)
at de.presti.ree6.sql.SQLWorker.getBirthdays(SQLWorker.java:1751)
...
(7 additional frame(s) were not displayed)
Switching from our own ORM Framework to the Hibernate Framework.
Sentry Issue: REE6-JAVA-1M
Missing Language-Entry: message.instagramNotifier.list
Add an warn command
Adding daily Stats and monitoring Tools to keep track of data usage.
Describe the bug
The System throws a exception when ever you try to use the setup command to set a new audit log channel.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Setting of the channel.
It would be alot easier to users setup Ree6 as simple and fast as possible.
For this I thought about making 3 systems that can be used.
(This will make the configuration part of the Ree6-Installer unneeded and by that fully remove it)
Sentry Issue: REE6-JAVA-1K
UnsupportedOperationException: JsonNull
at com.google.gson.JsonElement.getAsString(JsonElement.java:187)
at de.presti.ree6.commands.impl.fun.Anime.sendAnime(Anime.java:115)
at de.presti.ree6.commands.impl.fun.Anime.onPerform(Anime.java:56)
at de.presti.ree6.commands.interfaces.ICommand.lambda$onASyncPerform$0(ICommand.java:28)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
...
(6 additional frame(s) were not displayed)
CompletionException: java.lang.UnsupportedOperationException: JsonNull
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
...
(4 additional frame(s) were not displayed)
The Language System has not yet been fully implemented.
The so called "LMT" Project is still in work which means there wont be a tool that makes it easier for a bit of the time.
Removing the Bot base from the main repository to create a independent bot base would be better for the open source project.
Describe the bug
The Bug prevents us of seeing who actually invited the User, since it resolved to the wrong Invite.
To Reproduce
Expected behavior
That the right Invite is being resolved.
Sentry Issue: REE6-JAVA-1V
SQLException: (conn=14870) Field 'id' doesn't have a default value
at org.mariadb.jdbc.export.ExceptionFactory.createException(ExceptionFactory.java:299)
at org.mariadb.jdbc.export.ExceptionFactory.create(ExceptionFactory.java:370)
at org.mariadb.jdbc.message.ClientMessage.readPacket(ClientMessage.java:134)
at org.mariadb.jdbc.client.impl.StandardClient.readPacket(StandardClient.java:855)
at org.mariadb.jdbc.client.impl.StandardClient.readResults(StandardClient.java:794)
...
(38 additional frame(s) were not displayed)
GenericJDBCException: could not execute statement
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:61)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:95)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:200)
at org.hibernate.dialect.identity.GetGeneratedKeysDelegate.executeAndExtract(GetGeneratedKeysDelegate.java:57)
...
(29 additional frame(s) were not displayed)
PersistenceException: Converting `org.hibernate.exception.GenericJDBCException` to JPA `PersistenceException` : could not execute statement
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:165)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:175)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:182)
at org.hibernate.internal.SessionImpl.fireMerge(SessionImpl.java:841)
at org.hibernate.internal.SessionImpl.merge(SessionImpl.java:816)
...
(10 additional frame(s) were not displayed)
The current Hibernate Implementation is not fully working.
Sentry Issue: REE6-JAVA-1G
NullPointerException: Cannot invoke "com.google.gson.JsonArray.size()" because "formats" is null
at de.presti.wrapper.entities.VideoResult.<init>(VideoResult.java:53)
at de.presti.wrapper.YouTubeWrapper.getVideo(YouTubeWrapper.java:106)
at de.presti.ree6.utils.apis.YouTubeAPIHandler.getYouTubeUploads(YouTubeAPIHandler.java:69)
at de.presti.ree6.utils.apis.Notifier.lambda$createUploadStream$16(Notifier.java:634)
at de.presti.ree6.utils.others.ThreadUtil.lambda$createThread$0(ThreadUtil.java:46)
...
(5 additional frame(s) were not displayed)
Sentry Issue: REE6-JAVA-1S
SQLSyntaxErrorException: (conn=12788) Table 'ree6.VoiceLevelAutoRoles' doesn't exist
at org.mariadb.jdbc.export.ExceptionFactory.createException(ExceptionFactory.java:282)
at org.mariadb.jdbc.export.ExceptionFactory.create(ExceptionFactory.java:370)
at org.mariadb.jdbc.message.ClientMessage.readPacket(ClientMessage.java:134)
at org.mariadb.jdbc.client.impl.StandardClient.readPacket(StandardClient.java:855)
at org.mariadb.jdbc.client.impl.StandardClient.readResults(StandardClient.java:794)
...
(29 additional frame(s) were not displayed)
SQLGrammarException: JDBC exception executing SQL [SELECT * FROM VoiceLevelAutoRoles WHERE GID=?]
at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:64)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:56)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:95)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.executeQuery(DeferredResultSetAccess.java:253)
...
(22 additional frame(s) were not displayed)
PersistenceException: Converting `org.hibernate.exception.SQLGrammarException` to JPA `PersistenceException` : JDBC exception executing SQL [SELECT * FROM VoiceLevelAutoRoles WHERE GID=?]
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:165)
at org.hibernate.query.spi.AbstractSelectionQuery.list(AbstractSelectionQuery.java:374)
at org.hibernate.query.Query.getResultList(Query.java:94)
at de.presti.ree6.sql.SQLWorker.getEntityList(SQLWorker.java:1866)
at de.presti.ree6.sql.SQLWorker.getVoiceLevelRewards(SQLWorker.java:1041)
...
(7 additional frame(s) were not displayed)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.