https://github.com/bpevs/tft_rollbot
A TFT Ultimate Bravery Rollbot for Discord and Terminal
https://github.com/bpevs/tft_rollbot
deno discord-bot tft
Last synced: 4 months ago
JSON representation
A TFT Ultimate Bravery Rollbot for Discord and Terminal
- Host: GitHub
- URL: https://github.com/bpevs/tft_rollbot
- Owner: bpevs
- Created: 2022-01-13T22:08:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-09T06:17:14.000Z (almost 2 years ago)
- Last Synced: 2025-04-12T14:22:31.724Z (about 1 year ago)
- Topics: deno, discord-bot, tft
- Language: TypeScript
- Homepage:
- Size: 318 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rollbot
A TFT Ultimate Bravery Rollbot for Discord and Terminal
Bot for rolling ultimate bravery for TFT.
If inputing multiple players, avoid giving people the same comps.
## Development
Uses [Deno](https://deno.land/) both for discord server, and for terminal.
| Use | Command |
| ------------------ | -------------------------------------------------- |
| Run as CLI utility | `deno run ./source/cli.ts [playerNames ...]` |
| Run Discord Bot | Create a .env file with the token, the run: `make` |
## Usage
### Discord Bot
#### Rolling for a single player
```
/roll
```
```
TFT RollBot (Season 6):
King: Graves
Team: Academy + Twinshot
```
#### Rolling for a group of players
```
/roll @player1 @player2 @player3
```
```
TFT RollBot (Season 6):
@player1
King: Quinn
Team: Sniper + Mercenary
@player2
King: DingerDonger
Team: Innovator + Socialite
@player3
King: Jinx
Team: Twinshot + Imperial
```
### CLI Utility
#### Setup
1. Install [Deno](https://deno.land/)
2. Install Rollbot:
`deno install --name=roll https://raw.githubusercontent.com/ivebencrazy/tft-rollbot/master/source/cli.ts`
You should now be able to call the `roll` command.
#### Roll for a Single Player
```
roll
```
```
TFT RollBot (Season 6):
King: Twisted Fate
Team: Arcanist + Yordle
```
#### Rolling for a group of players
```
roll @player1 @player2 @player3
```
```
TFT RollBot (Season 6):
@player1
King: Twitch
Team: Assassin + Academy
@player2
King: Caitlyn
Team: Sniper + Clockwork
@player3
King: Urgot
Team: Arcanist + Imperial
```
#### Options
NOTE: There are not currently implemented.
`--include-all` By default, we ignore 1-2 champion sets. This includes them.
`--no-dedupe` By default, we try to distribute traits and kings so that two
people don't have the same trait and don't have the same king. Adding no-dedupe
option means all traits are completely random.