Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
Remove admins decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivangKakkar committed Apr 11, 2022
1 parent 161327e commit 12079ea
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 147 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -34,4 +34,6 @@ site/

# Temp
pystark/helpers/requests.py
pystark/decorators/admins.py
requests.md
admins.md
10 changes: 0 additions & 10 deletions docs/decorators/admins.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/index.md
Expand Up @@ -30,7 +30,7 @@ Not convinced to use PyStark? Try it out first, using few small steps given in t
- [Command Decorator](/decorators/command) - The main decorator in pystark.
- [Callback Decorator](/decorators/callback) - Handle callback queries.
- [Inline Decorator](/decorators/inline) - Handle inline queries.
- [Admins Decorator](/decorators/admins) - Handle inline queries.
- [Admins Decorator](/admins.md) - Handle inline queries.
- [Querying Postgres Database](/databases/postgres) - Use postgres with PyStark.
- [Telegram as a Database](/databases/telegram-as-database) - Use Telegram as a Database with PyStark.
- [TinyDB](/databases/tinydb) - Use TinyDB as project database with PyStark.
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Expand Up @@ -69,7 +69,7 @@ nav:
- decorators/command.md
- decorators/callback.md
- decorators/inline.md
- decorators/admins.md
# - decorators/admins.md
- Databases:
- databases/index.md
- Using Postgres: databases/postgres.md
Expand Down
2 changes: 1 addition & 1 deletion pystark/constants.py
Expand Up @@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with PyStark. If not, see <https://www.gnu.org/licenses/>.

__version__ = "1.1.5"
__version__ = "1.1.6"
__description__ = "An add-on extension to Pyrogram for absolute beginners"
__copyright__ = "Copyright (C) 2021-2022 Stark Bots <https://github.com/StarkBotsIndustries>"
__license__ = "GNU General Public License v3 or later (GPLv3+)"
Expand Down
4 changes: 2 additions & 2 deletions pystark/decorators/__init__.py
Expand Up @@ -21,8 +21,8 @@
from .command import Command
from .inline import Inline
from .callback import Callback
from .admins import Admins
# from .admins import Admins


class Mechanism(Methods, Command, Inline, Callback, Admins):
class Mechanism(Methods, Command, Inline, Callback):
pass
132 changes: 0 additions & 132 deletions pystark/decorators/admins.py

This file was deleted.

0 comments on commit 12079ea

Please sign in to comment.