Skip to content

AnyTimeTraveler/telegrambots.framework.TemplateModule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template Module

This is the Module Template for my Telegram Bot Framework.

Description

This module is supposed to help you get started with coding for my framework.

Setup

  1. In your src-folder, remove the folder in which language you don't want to write.
  2. Write your module
  3. Put your full package- and class-name in the file under resources/META-INF/services/
  4. Make sure it's correctly formatted, like the template classes
  5. Run gradle shadowJar
  6. Run the test-class with your IDE or run the framework manually

Run gradle shadowJar to create a jar from your module.

If you get an error during the intial run, please follow the Setup guide here

The jar will be put into a new directory called _working_directory to easily distinguish files that belong to the project from files that have been created by the bot.

You cannot run the module without the BotController, so there is a test-class that basically just proxies the BotController to make it easier to debug with IntelliJ.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published