8
0
Fork 0

Import from revbank fork

This commit is contained in:
polyfloyd 2025-05-07 00:20:31 +02:00
commit 30c55d21de
6 changed files with 152 additions and 0 deletions

15
bitlair_nomunnie Normal file
View file

@ -0,0 +1,15 @@
#!perl
use IO::Socket::IP;
use Net::MQTT::Simple "mqtt.bitlair.nl";
sub command { NEXT }
sub hook_user_balance {
my ($class, $user, $old, $delta, $new, $transaction_id) = @_;
return if $new >= -13.37;
return if RevBank::Users::is_hidden($user);
publish "bitlair/bank/shame" => "NO MUNNIE?";
}