From f99a3e338df14b43fa87eb66cb8839401f40c037 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 20 Mar 2021 13:17:13 -0500 Subject: [PATCH] Open Source legacy builds, add command for links. --- commands/opensource.js | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 commands/opensource.js diff --git a/commands/opensource.js b/commands/opensource.js new file mode 100644 index 0000000..ad58721 --- /dev/null +++ b/commands/opensource.js @@ -0,0 +1,35 @@ +module.exports = { + name: "opensource", + description: "Get the source for the original Anitrox code!", + execute(client, message, args) { + const embed = { + "title": "<:AnitroxInfo:809651936831733791> Anitrox Source", + "description": "These legacy builds are **!!NOT!!** supported and are considered discontinued. Some of this legacy code may still be in use but is being replaced with more up-to-date and usable code.", + "url": "https://discordapp.com", + "color": 9442302, + "footer": { + "icon_url": "https://cdn.discordapp.com/emojis/809651936819019796.png?v=1", + "text": "Released under GPLv3 licese. " + }, + "thumbnail": { + "url": "https://cdn.discordapp.com/attachments/793537380330111028/822894433665810432/nyabotanitrox.png" + }, + "fields": [ + { + "name": "anitroxlegacy_v1/nyabotv1", + "value": "https://github.com/IDeletedSystem64/anitroxlegacy" + }, + { + "name": "anitroxlegacy_v3/projectcanary (Nyabot 3.0)", + "value": "https://github.com/IDeletedSystem64/anitroxlegacyv3" + }, + { + "name": "License Type", + "value": "This is released under the GNU Public License v3. You are allowed to modify, rewrite, expand on the code as you wish. You don't need to provide me credit on your projects involving this code. Learn more at http://www.gnu.org/licenses/gpl-3.0.html", + "inline": true + } + ] + }; + message.channel.send({ embed }); + } +} \ No newline at end of file