Skip to content

Instantly share code, notes, and snippets.

View jerzabek's full-sized avatar

Ivan Jeržabek jerzabek

View GitHub Profile
package ga.jarza.dreamworldboye.chat.commands;
import ga.jarza.dreamworldboye.chat.ChatEvents;
import ga.jarza.dreamworldboye.chat.Command;
import ga.jarza.dreamworldboye.database.Database;
import ga.jarza.dreamworldboye.database.LogItem;
import ga.jarza.dreamworldboye.database.buffer.BanBuffer;
import ga.jarza.dreamworldboye.main.AccessLevel;
import ga.jarza.dreamworldboye.main.MainBot;
import ga.jarza.dreamworldboye.util.Utility;
[elastic-20] ERROR com.jarza.peepocop.main.PeepoCop - error in rulebreakerchain
ClientException[status=404 Not Found, headers=DefaultHttpHeaders[Date: Sat, 05 Jan 2019 17:36:04 GMT, Content-Type: application/json, Content-Length: 42, Connection: keep-alive, Set-Cookie: __cfduid=deb2bb645cc4ebcdee3695c18819a382b1546709764; expires=Sun, 05-Jan-20 17:36:04 GMT; path=/; domain=.discordapp.com; HttpOnly, Strict-Transport-Security: max-age=31536000; includeSubDomains, X-RateLimit-Limit: 5, X-RateLimit-Remaining: 1, X-RateLimit-Reset: 1546709766, Via: 1.1 google, Alt-Svc: clear, Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct", Server: cloudflare, CF-RAY: 4947b47d5f8e2b4c-AMS], errorResponse=ErrorResponse{fields={code=10013, message=Unknown User}}]
at discord4j.rest.http.client.DiscordWebClient.clientException(DiscordWebClient.java:130)
at discord4j.rest.http.client.DiscordWebClient.lambda$null$7(DiscordWebClient.java:109)
at reactor.core.publ
// I call this in the main method
rulebreakerChain() // this is a function that returns a flux<message>
.onErrorContinue((err, object) -> logger.error("error in rulebreakerchain", err))
.onErrorResume(err -> {
logger.error("Error in rulebreaker chain", err);
return Mono.empty();
})
.subscribe();
// this is the aforementioned funciton
[main] INFO com.jarza.peepocop.main.PeepoCop - peepoCop v3.0.0
[main] INFO com.jarza.peepocop.main.PeepoCop -
[main] INFO discord4j.core.DiscordClientBuilder - Shard 0 with Discord4J (https://discord4j.com)
[main] INFO discord4j.core.DiscordClientBuilder - Shard 0 with Discord4J (https://discord4j.com)
[main] INFO com.zaxxer.hikari.HikariDataSource - PeepoCopDBPool - Starting...
[main] INFO com.zaxxer.hikari.HikariDataSource - PeepoCopDBPool - Start completed.
[reactor-http-nio-4] INFO discord4j.gateway.client.0 - Connected to Gateway
[elastic-2] INFO com.jarza.peepocop.main.PeepoCop - Guild ready: Snowflake{334657301862547456} isAvailable: true
[elastic-2] INFO com.jarza.peepocop.main.PeepoCop - Guild ready: Snowflake{327892735963037696} isAvailable: true
[elastic-2] INFO com.jarza.peepocop.main.PeepoCop - Guild ready: Snowflake{357827314555420675} isAvailable: true
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="authors" content="Nino Nogić, Ivan Jeržabek, Alberto Kerim">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="The goal of the webpage is to approximately calculate the presence of Hearth Disease in human">
<link rel="icon" href="Pictures/favicon.png">
<link rel="stylesheet" href="css/izgled.css"> <!-- Main CSS -->
22:18:48.458 [reactor-http-nio-4] TRACE discord4j.rest.response.9e43e273 - | cancel()
22:18:48.458 [parallel-2] TRACE discord4j.rest.request.9e43e273 - Ready to consume next request
22:18:48.458 [elastic-8] TRACE discord4j.rest.request.DefaultRouter - Creating RequestStream with key f4f6242 for request: /guilds/{guild.id}/bans/{user.id} -> /guilds/451928530461130775/bans/352169634545270784
22:18:48.458 [elastic-8] TRACE discord4j.rest.request.f4f6242 - Accepting request: DiscordRequest{route=Route{method=PUT, uriTemplate='/guilds/{guild.id}/bans/{user.id}', responseType=class java.lang.Void}, completeUri='/guilds/451928530461130775/bans/352169634545270784', body=null, queryParams={delete-message-days=1, reason=this is one hell of a test
}, headers={x-audit-log-reason=[this is one hell of a test
]}}
22:18:48.458 [elastic-8] ERROR reactor.core.publisher.Operators - Operator called default onErrorDropped
java.lang.IllegalArgumentException: a header value must not end with '\r' or '\n':this is one hell of a
2019-05-18 08:35:41.427 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$$$$$
2019-05-18 08:35:41.433 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$__ $$
2019-05-18 08:35:41.433 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ | $$ \__/ /$$$$$$ /$$$$$$
2019-05-18 08:35:41.433 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$__ $$ /$$__ $$ /$$__ $$ /$$__ $$ /$$__ $$| $$ /$$__ $$ /$$__ $$
2019-05-18 08:35:41.433 [main] INFO com.jarza.peepocop.main.PeepoCop : | $$ \ $$| $$$$$$$$| $$$$$$$$| $$ \ $$| $$ \ $$| $$ | $$ \ $$| $$ \ $$
2019-05-18 08:35:41.434 [main] INFO com.jarza.peepocop.main.PeepoCop : | $$ | $$| $$_____/| $$_____/| $$ | $$| $$ | $$| $$ $$| $$ | $$| $$ | $$
2019-05-18 08:35:41.434 [main] INFO com.jarza.peepocop.ma
2019-05-19 14:44:38.156 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$$$$$
2019-05-19 14:44:38.174 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$__ $$
2019-05-19 14:44:38.174 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ | $$ \__/ /$$$$$$ /$$$$$$
2019-05-19 14:44:38.174 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$__ $$ /$$__ $$ /$$__ $$ /$$__ $$ /$$__ $$| $$ /$$__ $$ /$$__ $$
2019-05-19 14:44:38.174 [main] INFO com.jarza.peepocop.main.PeepoCop : | $$ \ $$| $$$$$$$$| $$$$$$$$| $$ \ $$| $$ \ $$| $$ | $$ \ $$| $$ \ $$
2019-05-19 14:44:38.174 [main] INFO com.jarza.peepocop.main.PeepoCop : | $$ | $$| $$_____/| $$_____/| $$ | $$| $$ | $$| $$ $$| $$ | $$| $$ | $$
2019-05-19 14:44:38.174 [main] INFO com.jarza.peepocop.ma
2019-05-20 18:36:25.789 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$$$$$
2019-05-20 18:36:25.795 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$__ $$
2019-05-20 18:36:25.795 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ | $$ \__/ /$$$$$$ /$$$$$$
2019-05-20 18:36:25.795 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$__ $$ /$$__ $$ /$$__ $$ /$$__ $$ /$$__ $$| $$ /$$__ $$ /$$__ $$
2019-05-20 18:36:25.795 [main] INFO com.jarza.peepocop.main.PeepoCop : | $$ \ $$| $$$$$$$$| $$$$$$$$| $$ \ $$| $$ \ $$| $$ | $$ \ $$| $$ \ $$
2019-05-20 18:36:25.796 [main] INFO com.jarza.peepocop.main.PeepoCop : | $$ | $$| $$_____/| $$_____/| $$ | $$| $$ | $$| $$ $$| $$ | $$| $$ | $$
2019-05-20 18:36:25.796 [main] INFO com.jarza.peepocop.ma
2019-05-27 13:58:10.610 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$$$$$
2019-05-27 13:58:10.618 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$__ $$
2019-05-27 13:58:10.618 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ | $$ \__/ /$$$$$$ /$$$$$$
2019-05-27 13:58:10.619 [main] INFO com.jarza.peepocop.main.PeepoCop : /$$__ $$ /$$__ $$ /$$__ $$ /$$__ $$ /$$__ $$| $$ /$$__ $$ /$$__ $$
2019-05-27 13:58:10.620 [main] INFO com.jarza.peepocop.main.PeepoCop : | $$ \ $$| $$$$$$$$| $$$$$$$$| $$ \ $$| $$ \ $$| $$ | $$ \ $$| $$ \ $$
2019-05-27 13:58:10.621 [main] INFO com.jarza.peepocop.main.PeepoCop : | $$ | $$| $$_____/| $$_____/| $$ | $$| $$ | $$| $$ $$| $$ | $$| $$ | $$
2019-05-27 13:58:10.622 [main] INFO com.jarza.peepocop.main.PeepoCop : | $$$$$$$/| $$$$$$$