Buckets:

Mehullll's picture
download
raw
2.12 kB
# This file is part of the AutoAnime distribution.
# Copyright (c) 2026 Kaif_00z
#
# 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, version 3.
#
# 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.
#
# License can be found in <
# https://github.com/kaif-00z/AutoAnimeBot/blob/main/LICENSE > .
# if you are using this following code then don't forgot to give proper
# credit to t.me/kAiF_00z (github.com/kaif-00z)
from decouple import config
class Var:
# Version
__version__ = "v0.2"
# Telegram Credentials
API_ID = config("API_ID", default=6, cast=int)
API_HASH = config("API_HASH", default="eb06d4abfb49dc3eeb1aeb98ae0f581e")
BOT_TOKEN = config("BOT_TOKEN", default=None)
SESSION = config("SESSION", default=None)
# Database Credentials
MONGO_SRV = config("MONGO_SRV", default=None)
# Channels Ids
BACKUP_CHANNEL = config("BACKUP_CHANNEL", default=0, cast=int)
MAIN_CHANNEL = config("MAIN_CHANNEL", cast=int)
LOG_CHANNEL = config("LOG_CHANNEL", cast=int)
CLOUD_CHANNEL = config("CLOUD_CHANNEL", cast=int)
FORCESUB_CHANNEL = config("FORCESUB_CHANNEL", default=0, cast=int)
OWNER = config("OWNER", default=0, cast=int)
# Other Configs
THUMB = config(
"THUMBNAIL", default="https://graph.org/file/ad1b25807b81cdf1dff65.jpg"
)
FFMPEG = config("FFMPEG", default="ffmpeg")
CRF = config("CRF", default="27")
SEND_SCHEDULE = config("SEND_SCHEDULE", default=False, cast=bool)
RESTART_EVERDAY = config("RESTART_EVERDAY", default=True, cast=bool)
LOG_ON_MAIN = config("LOG_ON_MAIN", default=False, cast=bool)
FORCESUB_CHANNEL_LINK = config("FORCESUB_CHANNEL_LINK", default="", cast=str)
DELETE_FILES_FROM_PMS = config("DELETE_FILES_FROM_PMS", default=True, cast=bool)

Xet Storage Details

Size:
2.12 kB
·
Xet hash:
cf192560332ee6a66fa550a45c112bd2364c0033d1196ae99e378a204cbe20e8

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.