Spaces:
Build error
Build error
# ===================================================================== # | |
# Copyright (c) 2022 Itz-fork # | |
# # | |
# 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 <http://www.gnu.org/licenses/> # | |
# ===================================================================== # | |
import logging | |
from pyromod import listen | |
from .client import UnzipperBot | |
from .client.caching import update_cache | |
# Logging stuff | |
logging.getLogger().setLevel(logging.INFO) | |
logging.getLogger("pyrogram").setLevel(logging.WARNING) | |
# Update cache | |
update_cache() | |
# CLient | |
unzip_client = UnzipperBot() | |
# Buttons | |
from .helpers_nexa.buttons import Unzipper_Buttons | |
Buttons = Unzipper_Buttons() | |