Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
9724a18
1
Parent(s):
ab7c77a
Update dev.py
Browse files- Powers/plugins/dev.py +1 -1
Powers/plugins/dev.py
CHANGED
|
@@ -31,7 +31,7 @@ async def add_dev(c: Gojo, m:Message):
|
|
| 31 |
user = reply_to.from_user.id
|
| 32 |
elif len(split) == 2:
|
| 33 |
try:
|
| 34 |
-
user = split[1]
|
| 35 |
except ValueError:
|
| 36 |
await m.reply_text("Give me id of the user")
|
| 37 |
return
|
|
|
|
| 31 |
user = reply_to.from_user.id
|
| 32 |
elif len(split) == 2:
|
| 33 |
try:
|
| 34 |
+
user = int(split[1])
|
| 35 |
except ValueError:
|
| 36 |
await m.reply_text("Give me id of the user")
|
| 37 |
return
|