Guías · Archivos
discord.yml
# ------------------------------------------------------------
# RoodyRestore · discord.yml
# Logs through webhooks (nothing to install) and an optional bot of your own with buttons
# to accept restore requests. The texts are in lang/<language>.yml under "discord".
# After a change: /rr reload
# ------------------------------------------------------------
enabled: false
webhooks:
# Server settings of a channel > Integrations > Webhooks > Copy URL.
# It is used by every event below that has no url of its own.
default-url: ""
# One entry per kind of log: on or off, and optionally another channel.
events:
# every backup made (a lot of messages); categories: [] = all of them
backup: {enabled: false, url: "", categories: [manual]}
death: {enabled: true, url: ""}
restore: {enabled: true, url: ""}
item: {enabled: true, url: ""}
export: {enabled: true, url: ""}
edit: {enabled: true, url: ""}
delete: {enabled: true, url: ""}
claim: {enabled: true, url: ""}
request: {enabled: true, url: ""}
request-result: {enabled: true, url: ""}
alert: {enabled: true, url: ""}
bot:
# Your own Discord bot. Without it the logs still work, but nothing can be accepted from Discord.
# 1. discord.com/developers/applications > New Application > Bot > Reset Token: paste it below.
# Installation: Guild Install with the "bot" scope. No privileged intents are needed.
# 2. Invite it with permission to see the channel, send messages and embed links.
# 3. Copy the channel id (developer mode, right click on the channel).
enabled: false
token: ""
# Where the requests with their Accept and Deny buttons are posted.
channel: ""
# Where the alerts with their Restore button go ("" = the same channel).
alerts-channel: ""
# Who can press the buttons: role ids and/or user ids. Nobody can if both are empty.
approver-roles: []
approver-users: []
# A role to mention in each request and alert ("" = nobody).
mention-role: ""
# In a network: true on ONE server only. That one listens to the buttons; the others just post.
listen: true