Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
92 lines
3.3 KiB
TypeScript
92 lines
3.3 KiB
TypeScript
import {
|
|
DISCORD_BOT_INVITE_LINK,
|
|
DISCORD_INVITE_LINK,
|
|
TRADE_TERM,
|
|
} from 'common/envs/constants'
|
|
import { Button } from 'web/components/buttons/button'
|
|
import { Col } from 'web/components/layout/col'
|
|
import { Page } from 'web/components/layout/page'
|
|
import { Row } from 'web/components/layout/row'
|
|
import { SEO } from 'web/components/SEO'
|
|
import { Title } from 'web/components/widgets/title'
|
|
|
|
export default function DiscordBot() {
|
|
return (
|
|
<Page trackPageView={'discord bot page'}>
|
|
<SEO
|
|
title={'Predikt Discord Bot'}
|
|
description={'Add the Predikt Discord Bot to your server!'}
|
|
/>
|
|
<Col className={'w-full items-center '}>
|
|
<Col className={'bg-canvas-0 gap-3 p-4'}>
|
|
<Title>Our Discord Bot</Title>
|
|
<Col className={'mx-4 gap-2'}>
|
|
<li>
|
|
Want an easy way to introduce your friends to prediction markets?
|
|
</li>
|
|
<li>Want to put skin in the game instead of just arguing?</li>
|
|
<li>
|
|
Got a discord server full of degens and want to make some money
|
|
off of them?
|
|
</li>
|
|
<Row className={'w-full justify-center'}>
|
|
<Button
|
|
className={'mt-2'}
|
|
size={'lg'}
|
|
color={'gradient-pink'}
|
|
onClick={() => {
|
|
window.open(DISCORD_BOT_INVITE_LINK)
|
|
}}
|
|
>
|
|
Add our bot to your server!
|
|
</Button>
|
|
</Row>
|
|
</Col>
|
|
<Row className={'text-primary-700 text-xl'}>What is it?</Row>
|
|
<span className={'mx-4'}>
|
|
The Predikt Discord Bot allows you to trade, search, and create
|
|
prediction markets right from your discord server. It supports
|
|
trading via Zoomer-friendly emoji reactions! This is how it looks:
|
|
</span>
|
|
<Row className={'w-full justify-center'}>
|
|
<img
|
|
src={'/discord-ss.png'}
|
|
className={'image m-2 rounded-lg object-cover'}
|
|
alt={`Discord chat message from Predikt Bot containing an embedded link to a prediction market, then four unlabeled buttons, and finally six discord reactions to ${TRADE_TERM} 5 yes, 10 yes, 25 yes, or ${TRADE_TERM} 5 no, 10 no, 25 no.`}
|
|
/>
|
|
</Row>
|
|
<Row className={'text-primary-700 text-xl'}>How can I get it?</Row>
|
|
<span className={'mx-4'}>
|
|
Easy! Just click the button below and choose your server from the
|
|
list. You'll need to have the "Manage Server" permission to add the
|
|
bot.
|
|
</span>
|
|
<Row className={'w-full justify-center'}>
|
|
<Button
|
|
color={'gradient-pink'}
|
|
size={'lg'}
|
|
onClick={() => {
|
|
window.open(DISCORD_BOT_INVITE_LINK)
|
|
}}
|
|
>
|
|
Add our bot to your server!
|
|
</Button>
|
|
</Row>
|
|
<Row className={'text-primary-700 text-xl'}>Questions?</Row>
|
|
<span className={'mx-4'}>
|
|
Come by our{' '}
|
|
<a
|
|
href={DISCORD_INVITE_LINK}
|
|
target={'_blank'}
|
|
className={'text-primary-500'}
|
|
rel="noreferrer"
|
|
>
|
|
Discord!
|
|
</a>{' '}
|
|
</span>
|
|
</Col>
|
|
</Col>
|
|
</Page>
|
|
)
|
|
}
|