generated from KevinNovak/Discord-Bot-TypeScript-Template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from tresabhi/1.13.1
- Loading branch information
Showing
14 changed files
with
400 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,42 @@ | ||
# blitzkrieg | ||
|
||
A Discord bot for anything and everything related to World of Tanks Blitz. | ||
Tools for everything World of Tanks Blitz | ||
|
||
## Invite the Bot | ||
## Invite the bot | ||
|
||
Join the [Discord server](https://discord.gg/nDt7AjGJQH), click on the bot's profile, and click "Add to Server". | ||
Go to [application directory for Blitzkrieg](https://discord.com/application-directory/1097673957865443370) and click "Add to Server." Voila! You're ready to go. | ||
|
||
## Using | ||
 | ||
|
||
### Installing dependencies | ||
## Visit the website | ||
|
||
### https://blitz-krieg.vercel.app/ | ||
|
||
 | ||
|
||
## Visit the documentation website | ||
|
||
### https://tresabhi.github.io/blitzkrieg/ | ||
|
||
 | ||
|
||
## Run the bot | ||
|
||
### Install dependencies | ||
|
||
```bash | ||
yarn | ||
``` | ||
|
||
### Running | ||
### Create `.env` | ||
|
||
```env | ||
GH_TOKEN={YOUR_GITHUB_TOKEN_HERE} | ||
DISCORD_TOKEN={YOUR_DISCORD_TOKE_HERE} | ||
``` | ||
|
||
### Run the command | ||
|
||
```bash | ||
yarn start discord-token=<token> wargaming-application-id=<id> | ||
yarn dev:bot | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Blitzkrieg 1.13.1 | ||
|
||
The quickest minor update in town 🤠 | ||
|
||
## Changes | ||
|
||
- Added a title, description, and icon to the website | ||
- Added display options to the session tracker | ||
|
||
## Fixes | ||
|
||
- Center aligned stats in breakdown to work better on low width devices | ||
- Center aligned the Blitzkrieg logo in the navbar | ||
|
||
## Technical Changes | ||
|
||
- Added up-to-date information to `README.md` and embed docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
# Embeds | ||
|
||
Embeds are generated by a few commands as a URL that can be loaded in a browser/streaming software. | ||
Embeds are URLs generated by commands or tools that represent the "naked" version of the respective command or tool | ||
|
||
## Creating Embeds | ||
|
||
1. Use a command of your liking (for example, `/stats`). | ||
2. Customize the command however you like and the URL generated for the embed will match your needs. | ||
3. Send the command and when the bot is "done thinking," an "Embed" button will appear below the bot's reply. | ||
1. Use a command or tool and click on "Embed" if it's available | ||
2. Make sure to tweak the settings of the command or tool because embeds replicate everything | ||
|
||
## Using Embeds in Streaming Softwares | ||
|
||
1. Click on the "Embed" button. | ||
2. Copy the URL from your browser. | ||
3. Paste the URL into a Browser Source. | ||
4. Set the refresh rate/FPS to something very low like `0.0167` (that's 1 frame every 60 seconds). | ||
1. Click on the "Embed" button | ||
- If this was generated by a command, copy the URL from the browser | ||
- If this was generated by a tool, the URL has been copied to your clipboard already | ||
2. Paste this URL into your streaming service as a "Browser Source" | ||
- Tool embeds use local storage so data won't be transferred from you browser to your streaming software | ||
- Make sure to visit the tool's page in your streaming software (using the "Interact" feature) and then open the embed | ||
- Set your browser source refresh rate to `1Hz` because that's how fast embeds refresh | ||
|
||
## How Embeds Behave | ||
|
||
- They load like any normal website albeit with a significant delay. | ||
- They auto refresh every `60s`. | ||
- All embeds and images generated by Blitzkrieg have a width of `640px` but the height varies and must be found manually through trial and error. | ||
- It's okay to have a Browser Source that has a height larger than needed as Blitzkrieg embeds are transparent. | ||
- They load like any normal website | ||
- They auto refresh every `1s` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.