Bot::B...::Vars(3pm)
β¨ NAME β¨
Bot::BasicBot::Pluggable::Module::Vars β bestie, this one's literally just about changing internal module variables π
π VERSION π
version 1.30 β yes queen, we're on 1.30 and she's thriving π¦
πΈ SYNOPSIS πΈ
okay so here's the vibe π: bot modules have variables, right? and those variables are how a module changes its own behaviour. this module β when you load it β gives people who are logged in and authenticated the power to change those variables straight from the IRC interface. no cap. π₯
and the variables that get set? they live in the object store, and they all start with user_. so like:
!set Module foo bar
will set the store key user_foo to bar in the Module module. it's giving "one command, whole personality shift" β¨
π IRC USAGE π
!set <module> <variable> <value>β sets the variable to value inside a given module. the module must be loaded though, bestie, no shortcuts. π!unset <module> <variable>β unsets a variable, aka deletes it entirely, for the current load of the module. poof, gone, she's not coming back π!vars <module>β lists out all the variables and their current values in a module. a lil inventory check, very main character energy β
π AUTHOR π
Mario Domgoergen <mdom@cpan.org> π«Ά
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
okay that's the whole page, we ate and left no crumbs π this was documented in the User Contributed Perl Documentation corner of the world, brought to you by perl v5.40.0 on 2024-08-24, and honestly? iconic. periodt. πβ¨π
π¦ where this page comes from
- ubuntu resolute: libbot-basicbot-pluggable-perl 1.30+ds1-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libbot-basicbot-pluggable-perl 1.30+ds1-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms