id -> index, closes #75
This commit is contained in:
parent
26a8883290
commit
31a4894fdf
1 changed files with 4 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
|||
from discord import TextChannel
|
||||
from discord.ext import commands
|
||||
from discord_slash import SlashContext, cog_ext
|
||||
from discord_slash.utils.manage_commands import create_option
|
||||
|
||||
from jarvis.db.types import Star, Starboard
|
||||
from jarvis.utils import build_embed
|
||||
from jarvis.utils.permissions import admin_or_permissions
|
||||
|
||||
from discord_slash import SlashContext, cog_ext
|
||||
from discord_slash.utils.manage_commands import create_option
|
||||
|
||||
supported_images = [
|
||||
"image/png",
|
||||
"image/gif",
|
||||
|
@ -257,7 +257,7 @@ class StarboardCog(commands.Cog):
|
|||
|
||||
star = Star.get(
|
||||
starboard=starboard.id,
|
||||
id=id,
|
||||
index=id,
|
||||
guild=ctx.guild.id,
|
||||
active=True,
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue