mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 22:30:23 +00:00
feat: disable invite for private bots
This commit is contained in:
parent
a13256242c
commit
a4bbca6c3e
@ -86,8 +86,11 @@ const BotCard = ({ manage = false, bot }: BotProps): JSX.Element => {
|
|||||||
관리하기
|
관리하기
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
) : (
|
) : bot.state !== 'ok' ? <a
|
||||||
<Link
|
className='py-3 w-full text-center text-discord-blurple text-sm font-bold rounded-br-2xl hover:shadow-lg transition duration-100 ease-in opacity-50 cursor-default select-none'
|
||||||
|
>
|
||||||
|
초대하기
|
||||||
|
</a> : <Link
|
||||||
href={
|
href={
|
||||||
bot.url ||
|
bot.url ||
|
||||||
`https://discordapp.com/oauth2/authorize?client_id=${bot.id}&scope=bot&permissions=0`
|
`https://discordapp.com/oauth2/authorize?client_id=${bot.id}&scope=bot&permissions=0`
|
||||||
@ -100,8 +103,7 @@ const BotCard = ({ manage = false, bot }: BotProps): JSX.Element => {
|
|||||||
>
|
>
|
||||||
초대하기
|
초대하기
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</Link>}
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user