-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: env file is no more a requirement
- Loading branch information
1 parent
1eb5c78
commit 1063889
Showing
4 changed files
with
39 additions
and
5 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 |
---|---|---|
|
@@ -18,7 +18,8 @@ vendor/ | |
go.work | ||
|
||
# Env files | ||
*.env | ||
fsb.env | ||
.env | ||
|
||
# Session files | ||
*.session* | ||
|
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
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
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,31 @@ | ||
# Required Variables (DO NOT SKIP THESE) | ||
|
||
API_ID= | ||
API_HASH= | ||
BOT_TOKEN= | ||
LOG_CHANNEL= | ||
|
||
# Optional Variables | ||
|
||
PORT=8080 | ||
|
||
# The length of the hash in your URLs | ||
# https://domain.tld/1254?hash=asd45a | ||
# ^^^^^^ | ||
# / | ||
# This is the hash | ||
|
||
HASH_LENGTH=6 | ||
|
||
# you can use IP address | ||
# HOST=http://<ip address>:<PORT> | ||
# Or you can also use a domain name | ||
# HOST=https://example.com | ||
|
||
# For muti token support | ||
# Refer https://github.com/EverythingSuckz/TG-FileStreamBot/tree/golang#use-multiple-bots-to-speed-up | ||
|
||
# MULTI_TOKEN1=1857821156:AAEvrINCsduhjkjhahadvHRdk7oF46KZnc | ||
# MULTI_TOKEN2=1355359001:AAF4dgddVVxDCt51FZqy1unh9h0SOTw0gU | ||
# MULTI_TOKEN3=6941936497:AAGJzfoMHXshS8gVcsefUzpwyrbfU7gKRMM | ||
# MULTI_TOKEN4=6546079247:AAF2k3uvO9Hqadfhjaskjds8jnzOAfQYUzTZ |