Telegram Bots Framework

An application designed to make java bot development quicker, share server ressources.

Лицензия

Лицензия

Группа

Группа

org.simonscode
Идентификатор

Идентификатор

telegrambots.framework
Последняя версия

Последняя версия

3.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

Telegram Bots Framework
An application designed to make java bot development quicker, share server ressources.
Ссылка на сайт

Ссылка на сайт

https://github.com/AnyTimeTraveler/telegrambots-framework
Система контроля версий

Система контроля версий

https://github.com/AnyTimeTraveler/telegrambots-framework

Скачать telegrambots.framework

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.simonscode/telegrambots.framework/ -->
<dependency>
    <groupId>org.simonscode</groupId>
    <artifactId>telegrambots.framework</artifactId>
    <version>3.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.simonscode/telegrambots.framework/
implementation 'org.simonscode:telegrambots.framework:3.0.2'
// https://jarcasting.com/artifacts/org.simonscode/telegrambots.framework/
implementation ("org.simonscode:telegrambots.framework:3.0.2")
'org.simonscode:telegrambots.framework:jar:3.0.2'
<dependency org="org.simonscode" name="telegrambots.framework" rev="3.0.2">
  <artifact name="telegrambots.framework" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.simonscode', module='telegrambots.framework', version='3.0.2')
)
libraryDependencies += "org.simonscode" % "telegrambots.framework" % "3.0.2"
[org.simonscode/telegrambots.framework "3.0.2"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.telegram : telegrambots jar 3.6
com.google.code.gson : gson jar 2.8.2

Модули Проекта

Данный проект не имеет модулей.

TelegramBotFramework

This is my Telegram Bot Framework.

It can currently run multiple bots and loads modules from a nearby folder. Modules can be added as seperate jar-files. With this, you can have multiple people add their own functionality to a bot. In the future, this framework should make it easier to share a server to run bots around the clock. I hope this will enable many programmers to run their bots on the same server to save computing resoucres.

Intended workflow:

  • Clone the template module

  • Add you bot's api-key or request access to someone else's bot

  • Test module via the integrated TestRunner

  • Create account via telegram

    If you are hosting the framework yourself:

    • Download the jar from maven
    • Run the jar
  • Upload your module via Telegram

  • Add module to bot via Telegram

  • Start the bot via Telegram

##In progress:

  • Managed Menus
  • AdminModule
  • Module upload via Telegram

TODO:

  • Finalize statefulness system (Currently reliant on JSON Serialisation)
  • Implement database (probably sqlite) backend for larger datasets
  • Implement global permission-system

##Done:

  • Upload to maven central
  • Make modules loadable during runtime (not just when the bot starts)
  • Implement universal help function
  • Implement uploading of new modules through telegram
  • Make modules stateful
  • Implement modules
  • Run multiple bots at the same time

Contributing

Simple:

  1. Fork/Clone this repository
  2. Implement your changes
  3. Submit a pull request

Modules that are already available (outdated due to structural changes)

NanoWriMoTracker

Tracks and compares the progress https://nanowrimo.org/

URL: https://github.com/Simon70/telegrambots.framework.NaNoWriMoTracker

Template Module

A good basis to start your module from

https://github.com/Simon70/telegrambots.framework.TemplateModule

Версии библиотеки

Версия
3.0.2
3.0.1
3.0