AcountLandBot

command module
v0.0.0-...-3c37a66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 4 Imported by: 0

README

AcountLandBot

An exclusively made Telegram Bot for AcountLand (Aryaat)

This bot is able to generate the images split into multiple tabs of Fortnite's Item Shop customized with their preferences.

The rewritten version of this bot is built using the tgo framework; a ⭐️ would be appreciated.

20231123_172918

Commands:

  • /itemshop Generates the tabs' images and sends them to you one by one.
  • /setpp It updates the primary price rate and rewrites the config.yaml file for you.
  • /setsp It updates the secondary price rate and rewrites the config.yaml file for you.

Usage:

  1. Copy or rename config.example.yaml to config.yaml and modify with your requirements.
  2. Update the background image in generator/assets/images/background.png if you want to. (you should)
  3. Build the app using go build .
  4. Run the app! (using ./AcountLandBot)

Acknowledges:

  • There's an issue with some Farsi letters for primary and secondary titles; in that case, it is recommended to use Arabic letters if you can.

    • It's caused by the lack of support for RTL letters, and the upstream package garabic doesn't handle some Farsi letters.
  • If you want to use an English title, you'll need to do some code or asset modifications.

    • Font files are at generator/assets/fonts
    • Fonts are loaded at generator/loaders.go in loadFonts
    • Fonts and Titles are generated here
  • It only generate images with Outfits and bundles; you can modify it here

Clarification:

This project was initially private-source (December 2021–November 2023), but as priorities changed and time passed, I and the customer (MR. Arya) talked a little and decided to open-source this project after a rewrite. And here is the result!

Thanks to:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL