From 126e630a8025c750c99c33da580969efc8ed9fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wieland=20Sch=C3=B6bl?= Date: Sat, 29 May 2021 22:46:33 +0200 Subject: [PATCH] Change Webhook --- .idea/workspace.xml | 50 ++- src/main/java/org/hmcore/DiscordWebhook.java | 391 ------------------ src/main/java/org/hmcore/TwitterJob.java | 11 +- src/main/kotlin/org/hmcore/Channels.kt | 6 +- .../kotlin/org/hmcore/extensions/Color.kt | 5 +- .../kotlin/org/hmcore/extensions/Message.kt | 44 ++ .../org/hmcore/webhook/DiscordWebhookEmbed.kt | 92 +++++ .../org/hmcore/webhook/WebhookCaller.kt | 38 -- .../kotlin/org/hmcore/extensions/ColorTest.kt | 9 + .../org/hmcore/webhook/DiscordWebhookEmbed.kt | 30 ++ 10 files changed, 220 insertions(+), 456 deletions(-) delete mode 100644 src/main/java/org/hmcore/DiscordWebhook.java create mode 100644 src/main/kotlin/org/hmcore/extensions/Message.kt create mode 100644 src/main/kotlin/org/hmcore/webhook/DiscordWebhookEmbed.kt delete mode 100644 src/main/kotlin/org/hmcore/webhook/WebhookCaller.kt create mode 100644 src/test/kotlin/org/hmcore/webhook/DiscordWebhookEmbed.kt diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f9fc60c..4f6a1e4 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,9 +4,17 @@