]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
fixed a style issue by removing prantheses
authorterminaldweller <redacted>
Mon, 3 Jul 2023 20:23:33 +0000 (23:53 +0330)
committerterminaldweller <redacted>
Mon, 3 Jul 2023 20:23:33 +0000 (23:53 +0330)
scripts/tongueworm.pl

index 293ca996a8c2c3dc91e6ca12f1ede96e1cd25719..a2cb4a9784fd60cfe844323996ed16aa40e73abf 100644 (file)
@@ -38,7 +38,7 @@ Irssi::settings_add_int('misc','wormtongue_temperature', 700);
 Irssi::settings_add_bool('misc','wormtongue_debug', 0);
 Irssi::settings_add_str('misc', 'wormtongue_request', 'rephrase the sentence that comes after the question mark and dont change its language?');
 
-sub wormtongue() {
+sub wormtongue {
     my $debug = Irssi::settings_get_bool('wormtongue_debug');
     my $ua = LWP::UserAgent->new;
     my $server_endpoint = "https://api.openai.com/v1/chat/completions";
git clone https://git.99rst.org/PROJECT