Added webhook URL dotfiles and module for the webhook requests

This commit is contained in:
swagg boi 2022-07-21 23:45:03 -04:00
parent cb029962c5
commit 83205cdb00
4 changed files with 4 additions and 0 deletions

1
.tom.url Normal file
View file

@ -0,0 +1 @@
https://discord.com/api/webhooks/713532266986602617/JE-RZGCxIM-iVTxujoV-9lmlPlHGA5F_Rf8FcK6Hf6gF_PSDkDlqFQUT8rniNQQ6nfxz

View file

@ -8,3 +8,4 @@ requires 'Mojolicious::Plugin::AssetPack';
requires 'Regexp::Common::URI';
requires 'CSS::Minifier::XS';
requires 'Number::Format';
requires WebService::Discord::Webhook;

1
example.tom.url Normal file
View file

@ -0,0 +1 @@
https://webhook.url.here/1337

View file

@ -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