Merge branch 'twitter_update' into 'main'
Fix twitter_modify See merge request stark-industries/j.a.r.v.i.s.!31
This commit is contained in:
commit
f2e66df034
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ class TwitterCog(commands.Cog):
|
|||
)
|
||||
handlemap = {x.id: x.handle for x in twitters}
|
||||
for to_update in context.selected_options:
|
||||
t = Twitter.objects(guild=ctx.guild.id, id=ObjectId())
|
||||
t = Twitter.objects(guild=ctx.guild.id, id=ObjectId()).first()
|
||||
t.retweets = retweets
|
||||
t.save()
|
||||
for row in components:
|
||||
|
|
Loading…
Add table
Reference in a new issue