A Python Discord bot that simplifies the usage of Marzban's Panel.
pip install uuid
pip install discord
pip install marzpy
if Data is not None:
if Data == "plan1" or Data == "Plan1":
gigabytes = float(20)
bytes = gigabytes_to_bytes(gigabytes)
if Data == "plan2" or Data == "Plan2":
gigabytes = float(30)
bytes = gigabytes_to_bytes(gigabytes)
if Data == "plan3" or Data == "Plan3":
gigabytes = float(40)
bytes = gigabytes_to_bytes(gigabytes)
if Data == "plan4" or Data == "Plan4":
gigabytes = float(50)
bytes = gigabytes_to_bytes(gigabytes)
else:
gigabytes = float(Data)
bytes = gigabytes_to_bytes(gigabytes)
else:
bytes = 0
if Data is not None:
gigabytes = float(Data)
bytes = gigabytes_to_bytes(gigabytes)
else:
bytes = 0
© 2023 Imk4sra