Comparing version 0.0.7 to 0.0.8
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GencordMap = exports.ApplicationCommandOptionType = exports.Client = exports.ActivityTypes = exports.colors = exports.User = exports.GuildMember = exports.MessageEmbed = exports.Message = void 0; | ||
exports.GencordMap = exports.ApplicationCommandOptionType = exports.Guild = exports.TextChannel = exports.Client = exports.ActivityTypes = exports.colors = exports.User = exports.GuildMember = exports.MessageEmbed = exports.Message = void 0; | ||
var Message_1 = require("./structures/Message"); | ||
@@ -18,2 +18,6 @@ Object.defineProperty(exports, "Message", { enumerable: true, get: function () { return Message_1.Message; } }); | ||
Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return Client_1.Client; } }); | ||
var TextChannel_1 = require("./structures/TextChannel"); | ||
Object.defineProperty(exports, "TextChannel", { enumerable: true, get: function () { return TextChannel_1.TextChannel; } }); | ||
var Guild_1 = require("./structures/Guild"); | ||
Object.defineProperty(exports, "Guild", { enumerable: true, get: function () { return Guild_1.Guild; } }); | ||
var SlashCommandsManager_1 = require("./managers/SlashCommandsManager"); | ||
@@ -23,2 +27,2 @@ Object.defineProperty(exports, "ApplicationCommandOptionType", { enumerable: true, get: function () { return SlashCommandsManager_1.ApplicationCommandOptionType; } }); | ||
Object.defineProperty(exports, "GencordMap", { enumerable: true, get: function () { return GencordMap_1.GencordMap; } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsZ0RBQStDO0FBQXRDLGtHQUFBLE9BQU8sT0FBQTtBQUNoQiwwREFBeUQ7QUFBaEQsNEdBQUEsWUFBWSxPQUFBO0FBQ3JCLHdEQUF1RDtBQUE5QywwR0FBQSxXQUFXLE9BQUE7QUFDcEIsMENBQXlDO0FBQWhDLDRGQ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cmVzL1VzZXJcIjtcbmV4cG9ydCB7IGNvbG9ycyB9IGZyb20gXCIuL2NvbnN0YW50cy9jb2xvcnNcIjtcbmV4cG9ydCB7IEFjdGl2aXR5VHlwZXMgfSBmcm9tIFwiLi9jb25zdGFudHMvQWN0aXZpdHlUeXBlc1wiO1xuZXhwb3J0IHsgQ2xpZW50IH0gZnJvbSBcIi4vY2xpZW50L0NsaWVudFwiO1xuZXhwb3J0IHsgVGV4dENoYW5uZWwgfSBmcm9tIFwiLi9zdHJ1Y3R1cmVzL1RleHRDaGFubmVsXCI7XG5leHBvcnQgeyBHdWlsZCB9IGZyb20gXCIuL3N0cnVjdHVyZXMvR3VpbGRcIjtcblxuLy9PcHRpb24gSW50ZXJmYWNlc1xuZXhwb3J0IHsgTWVzc2FnZUVtYmVkT3B0aW9ucyB9IGZyb20gXCIuL3N0cnVjdHVyZXMvTWVzc2FnZUVtYmVkXCI7XG5leHBvcnQge1xuICBBcHBsaWNhdGlvbkNvbW1hbmRPcHRpb24sXG4gIEFwcGxpY2F0aW9uQ29tbWFuZE9wdGlvblR5cGUsXG59IGZyb20gXCIuL21hbmFnZXJzL1NsYXNoQ29tbWFuZHNNYW5hZ2VyXCI7XG5leHBvcnQgeyBHZW5jb3JkTWFwIH0gZnJvbSBcIi4vbGliL0dlbmNvcmRNYXBcIjtcbiJdfQ== |
{ | ||
"name": "gencord", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "A simple, beginner friendly, and easy to use library for interacting with the Discord API, with minimal syntax", | ||
"main": "dist/src/ndex.js", | ||
"typings": "dist/typings/typings.d.ts", | ||
"typings": "dist/src/index.d.ts", | ||
"scripts": { | ||
@@ -8,0 +8,0 @@ "docs": "typedoc --out docs src", |
@@ -8,2 +8,3 @@ <p align="center"> | ||
## About | ||
[Support Server](https://discord.gg/Bh9cGjum) | ||
@@ -69,17 +70,7 @@ | ||
if (message.content === "!embed") { | ||
const embed = new MessageEmbed(client); | ||
const embed = new MessageEmbed(); | ||
embed.setColor(colors.BLUE); | ||
embed.setTitle("My Title"); | ||
embed.send(message.channel.id, { | ||
title: "Title", | ||
description: "My description", | ||
footer: { | ||
text: "this is the footer", | ||
}, | ||
color: colors.BLUE, | ||
url: "https://google.com", | ||
image: { | ||
url: | ||
"https://static.toiimg.com/photo/msid-67586673/67586673.jpg?3918697", | ||
}, | ||
}); | ||
message.channel.send(embed); | ||
} | ||
@@ -86,0 +77,0 @@ }); |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
194301
68
1235
0
85