Added webhook URL dotfiles and module for the webhook requests
This commit is contained in:
parent
cb029962c5
commit
83205cdb00
1
.tom.url
Normal file
1
.tom.url
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://discord.com/api/webhooks/713532266986602617/JE-RZGCxIM-iVTxujoV-9lmlPlHGA5F_Rf8FcK6Hf6gF_PSDkDlqFQUT8rniNQQ6nfxz
|
1
cpanfile
1
cpanfile
|
@ -8,3 +8,4 @@ requires 'Mojolicious::Plugin::AssetPack';
|
||||||
requires 'Regexp::Common::URI';
|
requires 'Regexp::Common::URI';
|
||||||
requires 'CSS::Minifier::XS';
|
requires 'CSS::Minifier::XS';
|
||||||
requires 'Number::Format';
|
requires 'Number::Format';
|
||||||
|
requires WebService::Discord::Webhook;
|
||||||
|
|
1
example.tom.url
Normal file
1
example.tom.url
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://webhook.url.here/1337
|
|
@ -8,6 +8,7 @@ use Mojo::Pg;
|
||||||
use List::Util qw{shuffle};
|
use List::Util qw{shuffle};
|
||||||
use Regexp::Common qw{URI};
|
use Regexp::Common qw{URI};
|
||||||
use Number::Format qw{format_number};
|
use Number::Format qw{format_number};
|
||||||
|
use WebService::Discord::Webhook;
|
||||||
#use Data::Dumper; # Uncomment for debugging
|
#use Data::Dumper; # Uncomment for debugging
|
||||||
|
|
||||||
# Load the model
|
# Load the model
|
||||||
|
|
Loading…
Reference in a new issue