UNPKG

@wilcosp/rex

Version:

Rex is an automated command manager for discord js

21 lines (20 loc) 665 B
"use strict"; /*! * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.RexLinkButton = void 0; const v10_1 = require("discord-api-types/v10"); const discord_js_1 = require("discord.js"); class RexLinkButton extends discord_js_1.ButtonBuilder { constructor(label, url) { super({ label: label, url: url, style: v10_1.ButtonStyle.Link, }); } } exports.RexLinkButton = RexLinkButton;