Skip to content

Releases: tfasoft/bot

TFAsoft Bot 5.10.7

06 May 11:15
Compare
Choose a tag to compare

New realease of TFAsoft Bot 🎉

Bot is the client software. You can use it at t.me/tfasoft_bot.

Change logs

  • Fix minor issues.

Amirhossein Mohammadi - Mar 2023

TFAsoft Bot 5.10.6

22 Apr 12:27
Compare
Choose a tag to compare

New realease of TFAsoft Bot 🎉

Bot is the client software. You can use it at t.me/tfasoft_bot.

Change logs

  • Show my logins Now users can ses their logins that when to what happened.
  • Update buttons issues.

Amirhossein Mohammadi - Apr 2023

TFAsoft Bot 4.9.5

21 Apr 11:36
Compare
Choose a tag to compare

New realease of TFAsoft Bot 🎉

Bot is the client software. You can use it at t.me/tfasoft_bot.

Change logs

  • Return start buttons based on user status.
  • Change access token message template.
  • Change my info message template.

Amirhossein Mohammadi - Apr 2023

TFA Bot 3.7.4

09 Apr 19:03
Compare
Choose a tag to compare

TFAsoft Bot 3.7.4 🎉

Welcome to 3.7.4!

We had some changes, improvments and updates!

  • Improved performance: We've optimized the code to make the bot faster and more efficient than ever before. You should notice a significant improvement in response times and overall speed.
  • New controllers: We've added several new controllers that allow you to customize the bot's behavior and interactions with users. These include [Access, Info].
  • New features: We've added several new features to make the bot more useful and engaging..
  • Bug fixes: We've fixed several bugs that were present in version 2.7.4, so you can expect a more seamless experience with version 3.7.4.

Overall, we believe that version 3.7.4 represents a significant improvement over previous versions of the bot, and we're excited to release it to our users. Thank you for your continued support, and we hope that you'll enjoy using the new and improved bot!

Thanks a lot. Amirhossein Mohammadi.

TFA Bot 2.7.4

08 Aug 20:42
Compare
Choose a tag to compare

Summary

TFAbot 2.7.4 had some small updates in this version that you can read about them in Change logs part.

MVC

Well MVC is a great structure to write clean, read better and manage files easier. In this Update we used a kind on MVC structure.

Application
│
├── bot
│   ├── app.js
│   └── controllers
│       ├── ActionControllers.js
│       └── CommandControllers.js
└── app.js

We have app.js file that import app.js in bot directory and run bot that is created there. Like this:

const bot = require("./bot/app");

bot.launch();

Now in bot/app.js we a code like this:

const { Telegraf } = require('telegraf');

const CommandControllers = require("./controllers/CommandControllers");
const ActionControllers = require("./controllers/ActionControllers");

require('dotenv').config();
const env = process.env;

const bot = new Telegraf(env.BOT_TOKEN);

bot.start(CommandControllers.start);

bot.action('login', ActionControllers.login);
bot.action('register', ActionControllers.register);
bot.action('connect', ActionControllers.connect);
bot.action('info', ActionControllers.info);

module.exports = bot;

So, we have controllers in bot/controllers directory. If you want to see the code, head over there!

Changes log

  • Using MVC structure
  • Fix issues in Heroku
  • Fix small issues that doesn't matter a lot

TFA Bot 2.5.3

05 Aug 03:13
Compare
Choose a tag to compare

Summary

TFAsoft bot is the client part that users need to use..

Change logs

  • Integrated bot with new API endpoints.

TFA Bot 2.3.3

28 Jul 06:35
Compare
Choose a tag to compare

TFAsoft bot new release 🎉

Bot is one of TFAsoft children! Actually, Bot is the part that you use to authenticate in sites that they are providing TFAsoft as a way to authenticate.

We had a huge update for bot and the API. Today we release API 2.0.0 and Bot 2.3.3. This updates are connecting together. How!? We added bot actions inside the API!

Bot action handling

Previously all the action was happening in the Bot. We have user model there and it connected to MongoDB and create token and stuff. Bot now we deleted the models and remove all these thing in bot. Bot send post requests to API and in API the actions happens!

Now bot work even faster than before. So fast and the chance of being disconnect is really low.

Change log

List of what is changed from previous version?

  • Add API action handler
  • Remove models
  • Remove dependencies that now we are not using
  • Remove Mongoose connection
  • Faster and better performance

TFA Bot 1.2.0

27 Jul 16:39
Compare
Choose a tag to compare

TFAsoft bot first release 🎉

Bot is one of TFAsoft children! Actually, Bot is the part that you use to authenticate in sites that they are providing TFAsoft as a way to authenticate.

Change log

We had a beta version and from that version we had some small changes.

  • Update Mongoose connection
  • Update command handlers
  • Update actions
  • Faster and better performance