Skip to content

Commit

Permalink
fix: _bot attribute for vcClient
Browse files Browse the repository at this point in the history
  • Loading branch information
New-dev0 committed May 17, 2024
1 parent 2d95dfb commit 86fb9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyUltroid/startup/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def load_other_plugins(addons=None, pmbot=None, manager=None, vcbot=None):
Loader(path="assistant/pmbot.py").load(log=False)

# vc bot
if vcbot and not vcClient._bot:
if vcbot and (vcClient and not vcClient.me.bot):
try:
import pytgcalls # ignore: pylint

Expand Down

0 comments on commit 86fb9b7

Please sign in to comment.