Skip to content

Commit

Permalink
Renamed command to "prediction"
Browse files Browse the repository at this point in the history
  • Loading branch information
PieTw3lve committed Jul 31, 2024
1 parent f9884fb commit 2db108d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file removed src/assets/img/fun/poll.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/extensions/admin/bet.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ async def callback(self, ctx: miru.ModalContext) -> None:
@lightbulb.option('green', 'Outcome 2, like "No"', type=str, required=True)
@lightbulb.option('blue', 'Outcome 1, like "Yes"', type=str, required=True)
@lightbulb.option('name', 'What users will bet, like "Will I win five games in a row?"', type=str, required=True)
@lightbulb.command('start-prediction', 'Initiate a live interactive bet for users to participate in.', pass_options=True)
@lightbulb.command('prediction', 'Initiate a live interactive bet for users to participate in.', pass_options=True)
@lightbulb.implements(lightbulb.SlashCommand)
async def bet(ctx: lightbulb.Context, blue: str, name: str, green: str, timer: int) -> None:
embed = hikari.Embed(title=f'{name} (Open)', description=f'Submissions will close in {Error().format_seconds(timer)}.', color=get_setting('general', 'embed_color'), timestamp=datetime.now().astimezone())
Expand Down

0 comments on commit 2db108d

Please sign in to comment.