Fix get_many -> objects call in /star add

This commit is contained in:
Zeva Rose 2021-08-05 17:28:25 -06:00
parent cd17589b9e
commit f49b9a61ff

View file

@ -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