mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
* feat: support webhook * feat: bot webhook * types: add enums for webhook * feat: update webhook status by param * feat: send webhook of server count change * feat: send webhook of vote * chore: add desc of faulty webhook * chore: set initial value * feat: add collection of clients * chore: simplify * feat: set webhook status dynamically * feat: webhook for discord * refactor: rename WebhookStatus.Paused * refactor: make webhookClients to one object * feat: webhook with fetch * feat: add warning prop to input component * feat: display red when warning * feat: check server count properly * feat: handle status codes * refactor: remove double fetch * chore: typo * feat: send failed message * fix: missing id on query * feat: limit response body * feat: use severlist bot to dm * feat: webhook for servers * feat: use env for ids * refactor: remove variables * fix: send discord log * fix: message * feat: include koreanbots in footer * fix: typo * refactor: export function as non default * feat: add verification * feat: add columns * feat: verify bot webhook * feat: verify server webhook * chore: rename key to secret * fix: stringify * chore: remove webhook related columns * refactor: use separate object for webhook * type: add webhook prop to bot / server * fix: implement webhook status * refactor: rename webhook to webhookURL * feat: select webhook props * feat: remove bot's private props * feat: remove server private fields * chore: use makeURLs * type: fix faildSince is type as string * refactor: rename to updateWebhook * chore: make props optional * feat: failedSince * feat: remove failedSince when success * fix: missing import * fix: typo * fix: convert missing prop * fix: typo * chore: remove unnecessary select * fix: missing systax * feat: sort docs * feat: use relay * fix: check status properly * chore: handle relay server error * remove awaits * fix: add base url * fix: typo * chore: remove red highlights * chore: change emoji --------- Co-authored-by: SKINMAKER <skinmaker@SKINMAKERs-iMac.local> Co-authored-by: skinmaker1345 <me@skinmaker.dev>
34 lines
819 B
Plaintext
34 lines
819 B
Plaintext
KOREANBOTS_URL=http://localhost:3000
|
|
MYSQL_HOST=mysql
|
|
MYSQL_USER=root
|
|
MYSQL_PASSWORD=YOUSHALLNOTPASS
|
|
MYSQL_DATABASE=discordbots
|
|
|
|
MONGO_HOST=mongo
|
|
MONGO_USER=discordbots
|
|
MONGO_PASSWORD=YOUSHALLNOTPASS
|
|
MONGO_DATABASE=discordbots
|
|
|
|
DISCORD_CLIENT_ID=CLIENT_ID
|
|
DISCORD_CLIENT_SECRET=CLIENT_SECRET
|
|
DISCORD_SCOPE=SCOPE
|
|
DISCORD_TOKEN=BOT_TOKEN
|
|
DISCORD_CLIENT_INTENTS=32767
|
|
|
|
GUILD_ID=653083797763522580
|
|
REVIEW_GUILD_ID=906537041326637086
|
|
REPORT_CHANNEL_ID=813255797823766568
|
|
LOGGING_CHANNEL_ID=844006379823955978
|
|
STATS_LOGGING_CHANNEL_ID=653227346962153472
|
|
REVIEW_LOG_CHANNEL_ID=906551334063439902
|
|
OPEN_REVIEW_LOG_CHANNEL_ID=1008376563731013643
|
|
|
|
GITHUB_CLIENT_ID=GH_CLIENT_ID
|
|
GITHUB_CLIENT_SECRET=GH_CLIENT_SECRET
|
|
|
|
CSRF_SECRET=CSRF_SECRET
|
|
|
|
DD_TRACE_DEBUG=true
|
|
DD_TRACE_ENABLED=true
|
|
|
|
NEXT_PUBLIC_HCAPTCHA_SITEKEY=HCAPTCHA_SITEKEY |