* Owner perms were not being calculated correctly, this is now fixed

This commit is contained in:
shockrah
2020-11-21 19:18:40 -08:00
parent 063f2c7c48
commit 13eb58ec06
3 changed files with 4 additions and 5 deletions

View File

@@ -121,7 +121,6 @@ if __name__ == '__main__':
msg_chan_id = time.time()
msg_chan_raw = worker.post('/channels/create', name=f'{msg_chan_id}', kind=TEXT_CHANNEL)
msg_chan = json.loads(msg_chan_raw)
print(f'Channel id to be used: {msg_chan["id"]}')
worker.post('/message/send', channel=msg_chan['id'], content="some random content")
worker.delete('/channels/delete', channel_id=msg_chan['id']) # finally clean up the channel we created