Traceback (most recent call last):


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/discord/ext/commands/core.py", line 50, in wrapped

ret = yield from coro(*args, **kwargs)


 "/Users/adautopinheiro/Desktop/discord-cuck-bot/main.py", line 65, in level

await client.remove_roles(ctx.message.author, rolesToRemove)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/discord/client.py", line 2946, in remove_roles

new_roles.remove(role.id)
AttributeError: 'list' object has no attribute 'id'

Traceback (most recent call last):


 "/usr/bin/salt-call", line 11, in <module>

salt_call()


 "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 400, in salt_call

client.run()


 "/usr/lib/python2.7/dist-packages/salt/cli/call.py", line 57, in run

caller.run()


 "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 134, in run

ret = self.call()


 "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 212, in call

ret['return'] = func(*args, **kwargs)


 "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 748, in apply_

return sls(mods, **kwargs)


 "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 1261, in sls

high_, errors = st_.render_highstate({opts['saltenv']: mods})


 "/usr/lib/python2.7/dist-packages/salt/state.py", line 3770, in render_highstate

sls, saltenv, mods, matches)


 "/usr/lib/python2.7/dist-packages/salt/state.py", line 3424, in render_state

state_data = self.client.get_state(sls, saltenv)


 "/usr/lib/python2.7/dist-packages/salt/fileclient.py", line 411, in get_state

dest = self.cache_file(path, saltenv, cachedir=cachedir)


 "/usr/lib/python2.7/dist-packages/salt/fileclient.py", line 193, in cache_file

path, '', True, saltenv, cachedir=cachedir, source_hash=source_hash)


 "/usr/lib/python2.7/dist-packages/salt/fileclient.py", line 515, in get_url

result = self.get_file(url, dest, makedirs, saltenv, cachedir=cachedir)


 "/usr/lib/python2.7/dist-packages/salt/fileclient.py", line 1127, in get_file

rel_path, saltenv, cachedir=cachedir) as cache_dest:


 "/usr/lib/python2.7/contextlib.py", line 17, in __enter__

return self.gen.next()


 "/usr/lib/python2.7/dist-packages/salt/fileclient.py", line 144, in _cache_loc

path)


 "/usr/lib/python2.7/dist-packages/salt/utils/path.py", line 301, in join

parts = [pathlib.normpath(p) for p in parts]


 "/usr/lib/python2.7/posixpath.py", line 335, in normpath

initial_slashes = path.startswith('/')
AttributeError: 'float' object has no attribute 'startswith'
