From 47ab29f9014f48e1e9ccb0b184eac4c10fe25cf8 Mon Sep 17 00:00:00 2001 From: Navy Date: Sun, 26 Jul 2020 23:09:25 +0300 Subject: [PATCH] prefix getter --- structure/client/DiscordClient.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/structure/client/DiscordClient.js b/structure/client/DiscordClient.js index 4d842c6..9d755e2 100644 --- a/structure/client/DiscordClient.js +++ b/structure/client/DiscordClient.js @@ -87,6 +87,10 @@ class DiscordClient extends Client { return def; } + get prefix() { + return this._options.prefix; + } + } module.exports = DiscordClient;