Skip to content
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Cache CodeQL database
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.codeql
key: ${{ runner.os }}-codeql-${{ hashFiles('**/qlpack.yml') }}
restore-keys: ${{ runner.os }}-codeql-

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: 'python'

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
6 changes: 3 additions & 3 deletions .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
PEP8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: '3.10'
cache: "pip"
- name: Install Python lint libraries
run: pip install autopep8 autoflake isort black
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/stringanalysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ name: Strings Analysis
on:
pull_request:
push:
branches: dev
paths: strings/strings/*
branches: [dev]
paths: [strings/strings/*]
workflow_dispatch:

jobs:
analyze:
name: Checkout Strings
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9.x
python-version: "3.10"
- name: Install Stuff
run: pip install pyyaml
- name: dl stuff
Expand All @@ -25,8 +25,8 @@ jobs:
run: python stringizer.py && rm stringizer.py
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'Strings: Auto Count'
commit_options: '--no-verify'
commit_message: "Strings: Auto Count"
commit_options: "--no-verify"
repository: .
commit_user_name: TeamUltroid
commit_user_email: 48654350+buddhhu@users.noreply.github.com
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[![Stars](https://img.shields.io/github/stars/TeamUltroid/Ultroid?style=flat-square&color=yellow)](https://github.com/TeamUltroid/Ultroid/stargazers)
[![Forks](https://img.shields.io/github/forks/TeamUltroid/Ultroid?style=flat-square&color=orange)](https://github.com/TeamUltroid/Ultroid/fork)
[![Size](https://img.shields.io/github/repo-size/TeamUltroid/Ultroid?style=flat-square&color=green)](https://github.com/TeamUltroid/Ultroid/)
[![Python](https://img.shields.io/badge/Python-v3.10.3-blue)](https://www.python.org/)
[![Python](https://img.shields.io/badge/Python-v3.10+-blue)](https://www.python.org/)
[![CodeFactor](https://www.codefactor.io/repository/github/teamultroid/ultroid/badge/main)](https://www.codefactor.io/repository/github/teamultroid/ultroid/overview/main)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/TeamUltroid/Ultroid/graphs/commit-activity)
[![Docker Pulls](https://img.shields.io/docker/pulls/theteamultroid/ultroid?style=flat-square)](https://img.shields.io/docker/pulls/theteamultroid/ultroid?style=flat-square)
Expand Down
2 changes: 1 addition & 1 deletion assistant/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/callbackstuffs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/games.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/initial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/inlinestuff.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/localization.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/_help.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/_on_adds.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/admins.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/afk.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/misc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/stickermanager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/pmbot.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/start.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/ytdl.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion install-termux
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.
Expand Down
24 changes: 12 additions & 12 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ check_dependencies() {
# check dependencies if installed
echo -e "Root access not found. Checking if dependencies are installed." >&2
if ! [ -x "$(command -v python3)" ] || ! [ -x "$(command -v python)" ]; then
echo -e "Python3 isn't installed. Please install python3.8 or higher to run this bot." >&2
echo -e "Python3 isn't installed. Please install python3.10 or higher to run this bot." >&2
exit 1
fi
if [ $(python3 -c "import sys; print(sys.version_info[1])") -lt 8 ] || [ $(python -c "import sys; print(sys.version_info[1])") -lt 8 ]; then
echo -e "Python 3.8 or higher is required to run this bot." >&2
if [ $(python3 -c "import sys; print(sys.version_info[1])") -lt 10 ] || [ $(python -c "import sys; print(sys.version_info[1])") -lt 10 ]; then
echo -e "Python 3.10 or higher is required to run this bot." >&2
exit 1
fi
# check if any of ffmpeg, mediainfo, neofetch, git is not installed
Expand All @@ -63,11 +63,11 @@ check_dependencies() {
else
echo -e "Unknown OS. Checking if dependecies are installed" >&2
if ! [ -x "$(command -v python3)" ] || ! [ -x "$(command -v python)" ]; then
echo -e "Python3 isn't installed. Please install python3.8 or higher to run this bot." >&2
echo -e "Python3 isn't installed. Please install python3.10 or higher to run this bot." >&2
exit 1
fi
if [ $(python3 -c "import sys; print(sys.version_info[1])") -lt 8 ] || [ $(python -c "import sys; print(sys.version_info[1])") -lt 8 ]; then
echo -e "Python 3.8 or higher is required to run this bot." >&2
if [ $(python3 -c "import sys; print(sys.version_info[1])") -lt 10 ] || [ $(python -c "import sys; print(sys.version_info[1])") -lt 10 ]; then
echo -e "Python 3.10 or higher is required to run this bot." >&2
exit 1
fi
if ! command -v ffmpeg &>/dev/null || ! command -v mediainfo &>/dev/null || ! command -v neofetch &>/dev/null || ! command -v git &>/dev/null; then
Expand All @@ -80,18 +80,18 @@ check_dependencies() {
check_python() {
# check if python is installed
if ! command -v python3 &>/dev/null; then
echo -e "Python3 isn't installed. Please install python3.8 or higher to run this bot."
echo -e "Python3 isn't installed. Please install python3.10 or higher to run this bot."
exit 1
elif ! command -v python &>/dev/null; then
echo -e "Python3 isn't installed. Please install python3.8 or higher to run this bot."
echo -e "Python3 isn't installed. Please install python3.10 or higher to run this bot."
exit 1
fi
if [ $(python3 -c "import sys; print(sys.version_info[1])") -lt 8 ]; then
echo -e "Python 3.8 or higher is required to run this bot."
if [ $(python3 -c "import sys; print(sys.version_info[1])") -lt 10 ]; then
echo -e "Python 3.10 or higher is required to run this bot."
exit 1
elif [ $(python -c "import sys; print(sys.version_info[1])") -lt 3 ]; then
if [ $(python -c "import sys; print(sys.version_info[1])") -lt 8 ]; then
echo -e "Python 3.8 or higher is required to run this bot."
if [ $(python -c "import sys; print(sys.version_info[1])") -lt 10 ]; then
echo -e "Python 3.10 or higher is required to run this bot."
exit 1
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion plugins/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/_chatactions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/_help.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/_inline.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/_ultroid.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/_userlogs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/_wspr.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/admintools.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/afk.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/aiwrapper.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/antiflood.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/asstcmd.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/audiotools.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/autoban.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/autopic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/beautify.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/blacklist.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/bot.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion plugins/broadcast.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2025 TeamUltroid
# Copyright (C) 2021-2026 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
Loading
Loading