From 36278ff2a0bc563692f0b12ed3f5e81f0c4f56b1 Mon Sep 17 00:00:00 2001 From: lilyissillyyy Date: Fri, 12 Sep 2025 20:12:22 -0400 Subject: [PATCH] Remove unneeded credit --- README.md | 11 +--- commands/edit-meme/change-my-mind.js | 6 --- commands/edit-meme/dear-liberals.js | 77 ---------------------------- commands/random-seed/cuteness.js | 7 --- commands/random-seed/worth.js | 7 --- package.json | 2 +- 6 files changed, 2 insertions(+), 108 deletions(-) delete mode 100644 commands/edit-meme/dear-liberals.js diff --git a/README.md b/README.md index ab680db1..c88713b8 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ Only if you want to use the DECTalk command. 18. Start Xiao up! ## Commands -Total: 519 +Total: 518 ### Utility: @@ -531,7 +531,6 @@ Total: 519 * **chi-idea:** Sends a "Daddy, I've got an idea!" Takagi-san meme with the text of your choice. * **crush:** Draws an image or a user's avatar as Wolverine's crush. * **cursed-sponge:** Sends a cursed sponge duplicated however many times you want. -* **dear-liberals:** Sends a "Dear Liberals" meme with words of your choice. * **deep-fry:** Draws an image or a user's avatar but deep-fried. * **demotivational:** Draws an image or a user's avatar and the text you specify as a demotivational poster. * **dislike:** Sends an "Everyone Disliked That" meme with the image of your choice. @@ -829,8 +828,6 @@ Total: 519 - [SauceNAO](https://saucenao.com/) (API) * **butt:** - [iCrawl](https://github.com/iCrawl) ([Code, Concept](https://github.com/iCrawl/Tohru/blob/master/src/commands/fun/butts.js)) -* **cuteness:** - - [AzuraApple](https://github.com/AzuraApple) (Concept) * **friendship:** - [Attype Studio](https://www.dafont.com/fadli-ramadhan-iskandar.d7339) ([Pinky Cupid Font](https://www.dafont.com/pinky-cupid.font)) * **name-rater:** @@ -845,8 +842,6 @@ Total: 519 - [0vertime-dev](https://github.com/0vertime-dev) (Concept) * **think-of:** - [Attype Studio](https://www.dafont.com/fadli-ramadhan-iskandar.d7339) ([Pinky Cupid Font](https://www.dafont.com/pinky-cupid.font)) -* **worth:** - - [AzuraApple](https://github.com/AzuraApple) (Concept) * **dark-light:** - [u/LennyMcLennington](https://www.reddit.com/user/LennyMcLennington) ([Image](https://www.reddit.com/r/discordapp/comments/8t04ag/this_image_shows_different_text_depending_on/)) - [u/AelinSA](https://www.reddit.com/user/AelinSA) ([Image](https://www.reddit.com/r/discordapp/comments/9krnhr/preach_the_message_of_the_möth_with_this_magi)) @@ -1382,7 +1377,6 @@ Total: 519 - [MatthewThePrep](https://www.deviantart.com/matthewtheprep) ([Ultimate Image](https://www.deviantart.com/matthewtheprep/art/SSBU-Challenger-Approaching-meme-template-800422972)) - [Nintendo](https://www.nintendo.com/) ([Original "Super Smash Bros." Game](https://www.smashbros.com/en_US/index.html)) * **change-my-mind:** - - [Steven Crowder](https://www.youtube.com/StevenCrowder) ([Image](https://twitter.com/scrowder/status/964577508447449088)) - [Google](https://www.google.com/) ([Noto Font](https://www.google.com/get/noto/)) * **chi-idea:** - [u/THANOS_COPTER](https://www.reddit.com/user/THANOS_COPTER/) ([Image](https://www.reddit.com/r/Takagi_san/comments/gb4wdt/how_far_is_too_far/)) @@ -1392,9 +1386,6 @@ Total: 519 - [Marvel](https://www.marvel.com/) ([Image, Original "X-Men" Comic](https://www.marvel.com/teams-and-groups/x-men)) * **cursed-sponge:** - [Nickelodeon](https://www.nick.com/) ([Image, Original "Spongebob Squarepants" Show](https://www.nick.com/shows/spongebob-squarepants)) -* **dear-liberals:** - - [Turning Point USA](https://www.tpusa.com/) (Image) - - [Google](https://www.google.com/) ([Oswald Font](https://fonts.google.com/specimen/Oswald)) * **demotivational:** - [Google](https://www.google.com/) ([Noto Font](https://www.google.com/get/noto/)) * **dislike:** diff --git a/commands/edit-meme/change-my-mind.js b/commands/edit-meme/change-my-mind.js index 3a9644a0..d0703875 100644 --- a/commands/edit-meme/change-my-mind.js +++ b/commands/edit-meme/change-my-mind.js @@ -17,12 +17,6 @@ module.exports = class ChangeMyMindCommand extends Command { }, clientPermissions: [PermissionFlagsBits.AttachFiles], credit: [ - { - name: 'Steven Crowder', - url: 'https://www.youtube.com/StevenCrowder', - reason: 'Image', - reasonURL: 'https://twitter.com/scrowder/status/964577508447449088' - }, { name: 'Google', url: 'https://www.google.com/', diff --git a/commands/edit-meme/dear-liberals.js b/commands/edit-meme/dear-liberals.js deleted file mode 100644 index a3f58103..00000000 --- a/commands/edit-meme/dear-liberals.js +++ /dev/null @@ -1,77 +0,0 @@ -const Command = require('../../framework/Command'); -const { PermissionFlagsBits } = require('discord.js'); -const { createCanvas, loadImage } = require('@napi-rs/canvas'); -const path = require('path'); -const { wrapText, fillTextWithBreaks } = require('../../util/Canvas'); - -module.exports = class DearLiberalsCommand extends Command { - constructor(client) { - super(client, { - name: 'dear-liberals', - aliases: ['turning-point-usa', 'ben-shapiro'], - group: 'edit-meme', - description: 'Sends a "Dear Liberals" meme with words of your choice.', - throttling: { - usages: 2, - duration: 10 - }, - clientPermissions: [PermissionFlagsBits.AttachFiles], - credit: [ - { - name: 'Turning Point USA', - url: 'https://www.tpusa.com/', - reason: 'Image' - }, - { - name: 'Google', - url: 'https://www.google.com/', - reason: 'Oswald Font', - reasonURL: 'https://fonts.google.com/specimen/Oswald' - } - ], - args: [ - { - key: 'hashtag', - type: 'string', - max: 10, - validate: hashtag => /^[A-Z0-9]+$/i.test(hashtag) - }, - { - key: 'blueText', - label: 'blue text', - type: 'string', - max: 42, - parse: blueText => blueText.toUpperCase() - }, - { - key: 'redText', - label: 'red text', - type: 'string', - max: 24, - parse: redText => redText.toUpperCase() - } - ] - }); - } - - async run(msg, { hashtag, blueText, redText }) { - const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'dear-liberals.png')); - const canvas = createCanvas(base.width, base.height); - const ctx = canvas.getContext('2d'); - ctx.drawImage(base, 0, 0); - ctx.fillStyle = 'white'; - ctx.textBaseline = 'top'; - ctx.font = this.client.fonts.get('Oswald-SemiBold.ttf').toCanvasString(20); - ctx.rotate(12.30 * (Math.PI / 180)); - ctx.fillText(`#${hashtag}`, 200, 210); - ctx.rotate(-12.30 * (Math.PI / 180)); - ctx.fillStyle = '#002046'; - ctx.font = this.client.fonts.get('Oswald-SemiBold.ttf').toCanvasString(27); - const blueLines = wrapText(ctx, blueText, 270); - fillTextWithBreaks(ctx, blueLines.join('\n'), 207, 90); - ctx.fillStyle = '#c31a41'; - const redLines = wrapText(ctx, redText, 165); - fillTextWithBreaks(ctx, redLines.join('\n'), 326, 236); - return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'dear-liberals.png' }] }); - } -}; diff --git a/commands/random-seed/cuteness.js b/commands/random-seed/cuteness.js index de06e143..e29dc2d9 100644 --- a/commands/random-seed/cuteness.js +++ b/commands/random-seed/cuteness.js @@ -16,13 +16,6 @@ module.exports = class CutenessCommand extends Command { type: 'user', default: msg => msg.author } - ], - credit: [ - { - name: 'AzuraApple', - url: 'https://github.com/AzuraApple', - reason: 'Concept' - } ] }); } diff --git a/commands/random-seed/worth.js b/commands/random-seed/worth.js index 361d68c9..0cffa6bb 100644 --- a/commands/random-seed/worth.js +++ b/commands/random-seed/worth.js @@ -16,13 +16,6 @@ module.exports = class WorthCommand extends Command { type: 'user', default: msg => msg.author } - ], - credit: [ - { - name: 'AzuraApple', - url: 'https://github.com/AzuraApple', - reason: 'Concept' - } ] }); } diff --git a/package.json b/package.json index 069d8cf5..913aa3b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "155.3.1", + "version": "156.0.0", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {