execute floater command on other clients

This commit is contained in:
Ayush Saini 2022-03-24 00:53:05 +05:30 committed by GitHub
parent da7d93f4c7
commit 01f7cfb04f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,13 +44,16 @@ def ExcelCommand(command, arguments, clientid, accountid):
spaz(arguments)
elif command in ['floater','flo']:
floater(clientid)
floater(arguments,clientid)
def floater(clientid):
def floater(arguments,clientid):
try:
from .. import floater
floater.assignFloInputs(clientid)
if arguments ==[]:
floater.assignFloInputs(clientid)
else:
floater.assignFloInputs(arguments[0])
except:
pass