Fix get_many -> objects call in /star add
This commit is contained in:
parent
cd17589b9e
commit
f49b9a61ff
1 changed files with 3 additions and 3 deletions
|
@ -205,9 +205,9 @@ class StarboardCog(commands.Cog):
|
|||
)
|
||||
return
|
||||
|
||||
count = len(
|
||||
Star.get_many(guild=message.guild.id, starboard=starboard.id)
|
||||
)
|
||||
count = Star.objects(
|
||||
guild=message.guild.id, starboard=starboard.id
|
||||
).count()
|
||||
content = message.content
|
||||
|
||||
attachments = message.attachments
|
||||
|
|
Loading…
Add table
Reference in a new issue