From 59e27d98b74f49e2519fad13ce43b60723f24d01 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Sat, 15 Jan 2022 02:23:57 +0200 Subject: [PATCH] setting reason --- src/structure/interfaces/Setting.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/structure/interfaces/Setting.js b/src/structure/interfaces/Setting.js index b85b206..4f9c30f 100644 --- a/src/structure/interfaces/Setting.js +++ b/src/structure/interfaces/Setting.js @@ -102,6 +102,10 @@ class Setting extends Component { } + reason(executor) { + return `[${this.resolveable}] Executed by ${executor.tag} (${executor.id})`; + } + /** * Should return fields with current setting values * @abstract