2021-09-17 01:07:03 -07:00
|
|
|
<template>
|
|
|
|
<div class="mb-3">
|
2021-09-20 22:02:41 -07:00
|
|
|
<label for="discord-webhook-url" class="form-label">{{ $t("Discord Webhook URL") }}</label>
|
2021-09-17 01:07:03 -07:00
|
|
|
<input id="discord-webhook-url" v-model="$parent.notification.discordWebhookUrl" type="text" class="form-control" required autocomplete="false">
|
|
|
|
<div class="form-text">
|
2021-09-20 22:02:41 -07:00
|
|
|
{{ $t("wayToGetDiscordURL") }}
|
2021-09-17 01:07:03 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-3">
|
2021-09-20 22:02:41 -07:00
|
|
|
<label for="discord-username" class="form-label">{{ $t("Bot Display Name") }}</label>
|
2021-09-17 01:07:03 -07:00
|
|
|
<input id="discord-username" v-model="$parent.notification.discordUsername" type="text" class="form-control" autocomplete="false" :placeholder="$root.appName">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-3">
|
2021-09-20 22:02:41 -07:00
|
|
|
<label for="discord-prefix-message" class="form-label">{{ $t("Prefix Custom Message") }}</label>
|
|
|
|
<input id="discord-prefix-message" v-model="$parent.notification.discordPrefixMessage" type="text" class="form-control" autocomplete="false" :placeholder="$t('Hello @everyone is...')">
|
2021-09-17 01:07:03 -07:00
|
|
|
</div>
|
|
|
|
</template>
|