diff --git a/cogs/strawpoll.py b/cogs/strawpoll.py index 3edee09..a80bc46 100644 --- a/cogs/strawpoll.py +++ b/cogs/strawpoll.py @@ -125,7 +125,7 @@ class Strawpoll: 'title': title} entry = {'server_id': ctx.message.server.id, - 'polls': sub_entry} + 'polls': [sub_entry]} update = {'polls': r.row['polls'].append(sub_entry)} if not await config.update_content('strawpolls', update, r_filter): await config.add_content('strawpolls', entry, {'poll_id': poll_id})