<commit_before># Telegram Bot Java Library
A simple to use library to create Telegram Bots in Java.
This library uses the [Telegram Bot API](https://core.telegram.org/bots/api)

## Example
This program re-sends messages.
```java
  package test;
  
  import io.github.ageofwar.telejam.Bot;
  import io.github.ageofwar.telejam.LongPollingBot;
  
  import java.io.IOException;
  
  public class RepeaterBot extends LongPollingBot {
    
    public static void main(String... args) throws IOException {
      if (args.length != 1) {
        System.err.println("Pass the bot token as unique program argument");
        System.exit(1);
      }
      Bot bot = Bot.fromToken(args[0]);
      ExampleBot exampleBot = new ExampleBot(bot);
      exampleBot.run();
    }
    
    public ExampleBot(Bot bot) {
      super(bot);
      events.registerTextMessageHandler(new MessageRepeater(bot));<commit_msg>Fix README example<commit_after># Telegram Bot Java Library
A simple to use library to create Telegram Bots in Java.
This library uses the [Telegram Bot API](https://core.telegram.org/bots/api)

## Example
This program re-sends messages.
```java
  package test;
  
  import io.github.ageofwar.telejam.Bot;
  import io.github.ageofwar.telejam.LongPollingBot;
  
  import java.io.IOException;
  
  public class RepeaterBot extends LongPollingBot {
    
    public static void main(String... args) throws IOException {
      if (args.length != 1) {
        System.err.println("Pass the bot token as unique program argument");
        System.exit(1);
      }
      Bot bot = Bot.fromToken(args[0]);
      RepeaterBot repeaterBot = new RepeaterBot(bot);
      repeaterBot.run();
    }
    
    public ExampleBot(Bot bot) {
      super(bot);
      events.registerTextMessageHandler(new MessageRepeater(bot));
{'fraction_non_alphanumeric': 0.10027855153203342, 'fraction_numerical': 0.003342618384401114, 'mean_word_length': 3.1864801864801864, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4750850', 'n_tokens_mistral': 554, 'n_tokens_neox': 542, 'n_words': 151}