<commit_before><?php
namespace dash\social\telegram\commands;
// use telegram class as bot
use \dash\social\telegram\tg as bot;

class ticket
{
	public static function run($_cmd)
	{
		switch ($_cmd['command'])
		{
			case 'cb_ticket':
			case '/ticket':
			case 'ticket':
			case T_('/ticket'):
			case T_('ticket'):

				if(isset($_cmd['optional']))
				{
					$ticketNo = \dash\utility\convert::to_en_number($_cmd['optional']);
					if(is_numeric($ticketNo))
					{
						if(isset($_cmd['argument']))
						{
							switch ($_cmd['argument'])
							{
								case 'answer':
									// go to step of answer
									step_ticketAnswer::start($_cmd);
									break;

								case 'solved':
									break;

								case 'close':
									break;

								case 'open':
									break;

								case 'spam':
									break;

								default:<commit_msg>add feedback to command of feedback<commit_after><?php
namespace dash\social\telegram\commands;
// use telegram class as bot
use \dash\social\telegram\tg as bot;

class ticket
{
	public static function run($_cmd)
	{
		switch ($_cmd['command'])
		{
			case 'cb_ticket':
			case '/ticket':
			case '/feedback':
			case 'ticket':
			case T_('ticket'):
			case T_('feedback'):

				if(isset($_cmd['optional']))
				{
					$ticketNo = \dash\utility\convert::to_en_number($_cmd['optional']);
					if(is_numeric($ticketNo))
					{
						if(isset($_cmd['argument']))
						{
							switch ($_cmd['argument'])
							{
								case 'answer':
									// go to step of answer
									step_ticketAnswer::start($_cmd);
									break;

								case 'solved':
									break;

								case 'close':
									break;

								case 'open':
									break;

								case 'spam':
									break;

								default:
{'fraction_non_alphanumeric': 0.14816933638443935, 'fraction_numerical': 0.0, 'mean_word_length': 2.151351351351351, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2543292', 'n_tokens_mistral': 863, 'n_tokens_neox': 541, 'n_words': 124}