 	
 	try router.process(update: update)
 }
-fatalError("Server stopped due to error: \(bot.lastError)")
-
+print("Server stopped due to error: \(bot.lastError.unwrapOptional)")
+exit(1)

router["reverse", .slashRequired] = controller.reverseText
router["word_reverse"] = controller.reverseWords
// Default handler
router.unknownCommand = controller.reverseText
// If command has unprocessed arguments, report them:
router.partialMatch = controller.partialMatchHandler


    }

    func reverseText(context: Context) -> Bool {
        guard let chatId = context.chatId else { return false }
		guard started(in: chatId) else { return false }
		
        let text = context.args.scanRestOfString()
	
