3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 05:49:27 +01:00

Imports: disable deprecation warnings

I will be monitoring deprecations and will update PBot as necessary.
This commit is contained in:
Pragmatic Software 2024-03-15 02:48:17 -07:00
parent 19f53cde10
commit c62b4d1c35
No known key found for this signature in database
GPG Key ID: CC916B6E3C84ECCE
2 changed files with 6 additions and 2 deletions

View File

@ -29,6 +29,10 @@ sub import {
# no warnings => 'experimental'; # no warnings => 'experimental';
warnings->unimport::out_of($target, 'experimental'); warnings->unimport::out_of($target, 'experimental');
# no warnings => 'deprecated';
# note: I will be monitoring deprecations and will update PBot accordingly
warnings->unimport::out_of($target, 'deprecated');
} }
sub unimport {} sub unimport {}

View File

@ -25,8 +25,8 @@ use PBot::Imports;
# These are set by the /misc/update_version script # These are set by the /misc/update_version script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 4716, BUILD_REVISION => 4717,
BUILD_DATE => "2024-03-10", BUILD_DATE => "2024-03-15",
}; };
sub initialize {} sub initialize {}