diff --git a/.tom.url b/.tom.url new file mode 100644 index 0000000..15df21b --- /dev/null +++ b/.tom.url @@ -0,0 +1 @@ +https://discord.com/api/webhooks/713532266986602617/JE-RZGCxIM-iVTxujoV-9lmlPlHGA5F_Rf8FcK6Hf6gF_PSDkDlqFQUT8rniNQQ6nfxz diff --git a/cpanfile b/cpanfile index eed466f..f63acb4 100644 --- a/cpanfile +++ b/cpanfile @@ -8,3 +8,4 @@ requires 'Mojolicious::Plugin::AssetPack'; requires 'Regexp::Common::URI'; requires 'CSS::Minifier::XS'; requires 'Number::Format'; +requires WebService::Discord::Webhook; diff --git a/example.tom.url b/example.tom.url new file mode 100644 index 0000000..0503619 --- /dev/null +++ b/example.tom.url @@ -0,0 +1 @@ +https://webhook.url.here/1337 diff --git a/guestbook-ng.pl b/guestbook-ng.pl index 3bf9f3c..4bc21f1 100755 --- a/guestbook-ng.pl +++ b/guestbook-ng.pl @@ -8,6 +8,7 @@ use Mojo::Pg; use List::Util qw{shuffle}; use Regexp::Common qw{URI}; use Number::Format qw{format_number}; +use WebService::Discord::Webhook; #use Data::Dumper; # Uncomment for debugging # Load the model