Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded #5

Closed
wants to merge 12 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/buttons.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package config
import "github.com/PaulSonOfLars/gotgbot/v2"

var Buttons map[string][][]gotgbot.InlineKeyboardButton = map[string][][]gotgbot.InlineKeyboardButton{
"START": {{aboutButton, helpButton}, {{Text: "ᴄᴏɴɴᴇᴄᴛ ʏᴏᴜʀ ᴏᴡɴ ʙᴏᴛ", Url: "https://tg-message-store.vercel.app"}}},
"ABOUT": {{homeButton, helpButton}, {{Text: "Source 🔗", Url: "https://github.com/Jisin0/TGMessageStore"}}},
"START": {{aboutButton, helpButton}, {{Text: "ᴄᴏɴɴᴇᴄᴛ ʏᴏᴜʀ ᴏᴡɴ ʙᴏᴛ", Url: "https://noob-file-store.vercel.app"}}},
"ABOUT": {{homeButton, helpButton}, {{Text: "OWNER 🍃", Url: "https://t.me/l_abani"}}},
"HELP": {{aboutButton, homeButton}},
}

Expand Down
4 changes: 2 additions & 2 deletions config/text.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ var Commands map[string]string = map[string]string{
`,
"ABOUT": `
○ <b>Language</b>: <a href='https://go.dev'>GO</a>
○ <b>Library</b>: <a href='https://github.com/PaulSonOfLars/gotgbot'>GoTgbot</a>
○ <b>Support</b>: <a href='https://t.me/FractalProjects'>@Fractal</a>
○ <b>Channel</b>: <a href='https://t.me/NOOBPrivate'>Channel</a>
○ <b>Support</b>: <a href='https://t.me/NOOBPrivate'>@l_abani</a>
`,

"HELP": `
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<button type="button"
class="btn-help shadow-2xl rounded-md px-4 py-2 bg-blue-600 font-medium text-white hover:bg-blue-500">
Guide</button></a>
<a href="tg://resolve?domain=FractalProjects">
<a href="tg://resolve?domain=l_abani">
<button type="button"
class="btn-contact shadow-2xl rounded-md px-4 py-2 bg-green-600 text-white font-medium hover:bg-green-500">
Contact</button></a>
Expand Down
6 changes: 3 additions & 3 deletions sample.config.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
BOT_TOKEN = 123456789:AATiuhBBy6oIL9r54yYLs7CSn
FSUB = -1002235842999 -1001898719761
PROTECT_CONTENT = true
BOT_TOKEN =
FSUB = -1002246016095 -1002155602635
PROTECT_CONTENT = true