config

package
v1.5.1-0...-06e15ba Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

* This file is part of YukkiMusic. * * YukkiMusic — A Telegram bot that streams music into group voice chats with seamless playback and control. * Copyright (C) 2025 TheTeamVivek * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>.

Index

Constants

This section is empty.

Variables

View Source
var (

	// To learn more about what each variable does, see README.md
	// Required Vars
	ApiID         = int32(getInt64("API_ID"))
	ApiHash       = getString("API_HASH")
	Token         = getString("TOKEN")
	MongoURI      = getString("MONGO_DB_URI")
	StringSession = getString("STRING_SESSION") // pyro session

	// Optional Vars
	ApiKEY         = getString("FALLEN_API_KEY")
	ApiURL         = getString("FALLEN_API_URL", "https://tgmusic.fallenapi.fun")
	OwnerID        = getInt64("OWNER_ID")
	LoggerID       = getInt64("LOGGER_ID")
	DurationLimit  = int(getInt64("DURATION_LIMIT", 4200)) // in seconds
	QueueLimit     = int(getInt64("QUEUE_LIMIT", 7))
	StartImage     = getString("START_IMG_URL", "https://raw.githubusercontent.com/Vivekkumar-IN/assets/master/images.png")
	SupportChat    = getString("SUPPORT_CHAT", "https://t.me/TheTeamVk")
	SupportChannel = getString("SUPPORT_CHANNEL", "https://t.me/TheTeamVivek")
	StartTime      = time.Now()
	CookiesLink    = getString("COOKIES_LINK")
	SetCmds        = getBool("SET_CMDS", false)
	MaxAuthUsers   = int(getInt64("MAX_AUTH_USERS", 25))
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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