Commit f7b4ab67 authored by MBoretto's avatar MBoretto

increased version to all commads

parent 086f4859
......@@ -26,7 +26,7 @@ class ChatsCommand extends Command
protected $name = 'chats';
protected $description = 'List all chats stored by the bot';
protected $usage = '/chats';
protected $version = '1.0.0';
protected $version = '1.0.1';
protected $public = true;
protected $need_mysql = false;
/**#@-*/
......
......@@ -24,7 +24,7 @@ class SendtoallCommand extends Command
protected $name = 'sendtoall';
protected $description = 'Send the message to all the user\'s bot';
protected $usage = '/sendall <message to send>';
protected $version = '1.2.0';
protected $version = '1.2.1';
protected $public = true;
protected $need_mysql = true;
/**#@-*/
......
......@@ -24,7 +24,7 @@ class SendtochannelCommand extends Command
protected $name = 'sendtochannel';
protected $description = 'Send message to a channel';
protected $usage = '/sendchannel <message to send>';
protected $version = '0.1.0';
protected $version = '0.1.1';
protected $public = true;
protected $need_mysql = false;
/**#@-*/
......
......@@ -22,7 +22,7 @@ class ChannelchatcreatedCommand extends Command
*/
protected $name = 'Channelchatcreated';
protected $description = 'Channel chat created';
protected $version = '1.0.0';
protected $version = '1.0.1';
/**#@-*/
/**
......
......@@ -22,7 +22,7 @@ class ChoseninlineresultCommand extends Command
*/
protected $name = 'choseninlineresult';
protected $description = 'Chosen result query';
protected $version = '1.0.0';
protected $version = '1.0.1';
/**#@-*/
/**
......
......@@ -25,7 +25,7 @@ class DateCommand extends Command
protected $name = 'date';
protected $description = 'Show date/time by location';
protected $usage = '/date <location>';
protected $version = '1.2.0';
protected $version = '1.2.1';
protected $public = true;
/**#@-*/
......
......@@ -22,7 +22,7 @@ class DeletechatphotoCommand extends Command
*/
protected $name = 'Deletechatphoto';
protected $description = 'Delete chat photo';
protected $version = '1.0.0';
protected $version = '1.0.1';
/**#@-*/
/**
......
......@@ -24,7 +24,7 @@ class EchoCommand extends Command
protected $name = 'echo';
protected $description = 'Show text';
protected $usage = '/echo <text>';
protected $version = '1.0.0';
protected $version = '1.0.1';
protected $public = true;
/**#@-*/
......
......@@ -23,7 +23,7 @@ class GenericCommand extends Command
*/
protected $name = 'Generic';
protected $description = 'Handles generic commands or is executed by default when a command is not found';
protected $version = '1.0.0';
protected $version = '1.0.1';
/**#@-*/
/**
......
......@@ -22,7 +22,7 @@ class GenericmessageCommand extends Command
*/
protected $name = 'Genericmessage';
protected $description = 'Handle generic message';
protected $version = '1.0.0';
protected $version = '1.0.1';
/**#@-*/
/**
......
......@@ -22,7 +22,7 @@ class GroupchatcreatedCommand extends Command
*/
protected $name = 'Groupchatcreated';
protected $description = 'Group chat created';
protected $version = '1.0.0';
protected $version = '1.0.1';
/**#@-*/
/**
......
......@@ -24,7 +24,7 @@ class HelpCommand extends Command
protected $name = 'help';
protected $description = 'Show bot commands help';
protected $usage = '/help or /help <command>';
protected $version = '1.0.0';
protected $version = '1.0.1';
protected $public = true;
/**#@-*/
......
......@@ -24,7 +24,7 @@ class InlinequeryCommand extends Command
*/
protected $name = 'inlinequery';
protected $description = 'Reply to inline query';
protected $version = '1.0.0';
protected $version = '1.0.1';
/**#@-*/
/**
......
......@@ -22,7 +22,7 @@ class LeftchatparticipantCommand extends Command
*/
protected $name = 'leftchatparticipant';
protected $description = 'Left Chat Participant';
protected $version = '1.0.0';
protected $version = '1.0.1';
/**#@-*/
/**
......
......@@ -23,7 +23,7 @@ class NewchatparticipantCommand extends Command
*/
protected $name = 'Newchatparticipant';
protected $description = 'New Chat Participant';
protected $version = '1.0.0';
protected $version = '1.0.1';
/**#@-*/
/**
......
......@@ -22,7 +22,7 @@ class NewchattitleCommand extends Command
*/
protected $name = 'Newchattitle';
protected $description = 'New chat Title';
protected $version = '1.0.0';
protected $version = '1.0.1';
/**#@-*/
/**
......
......@@ -24,7 +24,7 @@ class SlapCommand extends Command
protected $name = 'slap';
protected $description = 'Slap someone with their username';
protected $usage = '/slap <@user>';
protected $version = '1.0.0';
protected $version = '1.0.1';
/**#@-*/
/**
......
......@@ -24,7 +24,7 @@ class StartCommand extends Command
protected $name = 'start';
protected $description = 'Start command';
protected $usage = '/';
protected $version = '1.0.0';
protected $version = '1.0.1';
/**#@-*/
/**
......
......@@ -23,7 +23,7 @@ class SupergroupchatcreatedCommand extends Command
*/
protected $name = 'Supergroupchatcreated';
protected $description = 'Super group chat created';
protected $version = '1.0.0';
protected $version = '1.0.1';
/**#@-*/
/**
......
......@@ -24,7 +24,7 @@ class WeatherCommand extends Command
protected $name = 'weather';
protected $description = 'Show weather by location';
protected $usage = '/weather <location>';
protected $version = '1.0.0';
protected $version = '1.0.1';
protected $public = true;
/**#@-*/
......@@ -42,14 +42,7 @@ class WeatherCommand extends Command
$ch = curl_init();
$curlConfig = [
CURLOPT_URL => $url,
//CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
//CURLOPT_HTTPHEADER => ['Content-Type: text/plain'],
//CURLOPT_POSTFIELDS => $data
//CURLOPT_VERBOSE => true,
//CURLOPT_HEADER => true,
];
curl_setopt_array($ch, $curlConfig);
......
......@@ -27,7 +27,7 @@ class WhoamiCommand extends Command
protected $name = 'whoami';
protected $description = 'Show your id, name and username';
protected $usage = '/whoami';
protected $version = '1.0.0';
protected $version = '1.0.1';
protected $public = true;
/**#@-*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment