Captain Ezio commited on
Commit
d7fcc6b
·
1 Parent(s): 1c0b62a

Update bot_class.py

Browse files
Files changed (1) hide show
  1. Powers/bot_class.py +2 -2
Powers/bot_class.py CHANGED
@@ -36,12 +36,12 @@ class Gojo(Client):
36
  """Starts the Pyrogram Client on the Bot Token when we do 'python3 -m Powers'"""
37
 
38
  def __init__(self):
39
- name = Powers
40
 
41
  super().__init__(
42
  "Gojo_Satarou",
43
  bot_token=BOT_TOKEN,
44
- plugins=dict(root=f"{name}.plugins", exclude=NO_LOAD),
45
  api_id=API_ID,
46
  api_hash=API_HASH,
47
  workers=WORKERS,
 
36
  """Starts the Pyrogram Client on the Bot Token when we do 'python3 -m Powers'"""
37
 
38
  def __init__(self):
39
+ #name = Powers
40
 
41
  super().__init__(
42
  "Gojo_Satarou",
43
  bot_token=BOT_TOKEN,
44
+ plugins=dict(root="Powers.plugins", exclude=NO_LOAD),
45
  api_id=API_ID,
46
  api_hash=API_HASH,
47
  workers=WORKERS,