From 14a2a173e78e21d7244e0f2730562464a1ce13be Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 2 Jul 2021 23:10:12 -0400 Subject: [PATCH] additions to Route class --- src/class/Route.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/class/Route.ts b/src/class/Route.ts index 1bd8a1e..c3ed3ce 100644 --- a/src/class/Route.ts +++ b/src/class/Route.ts @@ -44,6 +44,10 @@ export default class Route { this.server.parent.client.util.handleError(error); } + get mainGuild() { + return this.server.client.guilds.get(this.server.client.config.guildID); + } + get constants() { return { codes: {