Update Ultroid v0.8
--------- Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com> Co-authored-by: Aditya <me@xditya.me> Co-authored-by: Dark <darkbeamer.official@gmail.com> Co-authored-by: buddhhu <amitsharma123234@gmail.com> Co-authored-by: Kaif <88398455+kaif-00z@users.noreply.github.com> Co-authored-by: 1Danish-00 <danish@ultroid.tech> Co-authored-by: TechiError <techierror@gmail.com> Co-authored-by: Dark <59723913+DarkBeamerYT@users.noreply.github.com>
This commit is contained in:
@@ -34,20 +34,18 @@ async def _(e):
|
||||
else:
|
||||
try:
|
||||
z = ban_time(y)
|
||||
await e.client.send_message(e.chat_id, k, schedule=z)
|
||||
await e.respond(k, schedule=z)
|
||||
await e.eor(get_string("schdl_1"), time=5)
|
||||
except BaseException:
|
||||
await e.eor(get_string("schdl_2"), time=5)
|
||||
elif xx and x:
|
||||
if x.isdigit():
|
||||
await e.client.send_message(
|
||||
e.chat_id, xx, schedule=timedelta(seconds=int(x))
|
||||
)
|
||||
await e.respond(xx, schedule=timedelta(seconds=int(x)))
|
||||
await e.eor(get_string("schdl_1"), time=5)
|
||||
else:
|
||||
try:
|
||||
z = ban_time(x)
|
||||
await e.client.send_message(e.chat_id, xx, schedule=z)
|
||||
await e.respond(xx, schedule=z)
|
||||
await e.eor(get_string("schdl_1"), time=5)
|
||||
except BaseException:
|
||||
await e.eor(get_string("schdl_2"), time=5)
|
||||
|
||||
Reference in New Issue
Block a user