1

Extend weather command list, add !weather, !погода, !погадка, !погодка, also allow oboobs and obutts plugins in private conversation

This commit is contained in:
eleksir
2021-12-18 17:14:18 +03:00
parent 8d35bb2452
commit f223ba04ae
3 changed files with 43 additions and 16 deletions

View File

@@ -206,6 +206,11 @@ sub PluginEnabled (@) {
my $chatid = shift;
my $plugin = shift;
# seems that we have point to return always true if chat is private
if ($chatid > 0) {
return 1;
}
my $cache = CHI->new (
driver => 'BerkeleyDB',
root_dir => $cachedir,