From 47c3f884819bac685794792f305a61f27dc41d1d Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 11 Dec 2024 17:45:16 -0500 Subject: [PATCH] Update username --- LICENSE.md | 2 +- README.md | 6 +++--- assets/json/cards-against-humanity.json | 2 +- assets/json/copyright.json | 2 +- assets/json/horse-race.json | 4 ++-- assets/json/xiao-fact.json | 20 ++++++++++---------- commands/search/anime.js | 2 +- commands/search/manga.js | 2 +- commands/util-public/changelog.js | 2 +- commands/util/generate-credit.js | 2 +- framework/Command.js | 4 ++-- package.json | 10 +++++----- structures/Client.js | 2 +- 13 files changed, 30 insertions(+), 30 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 9ab396c3..35d6e5ae 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,7 +1,7 @@ Internet Systems Consortium license =================================== -Copyright (c) 2017-2024, dragonfire535 +Copyright (c) 2017-2024, lilyissillyyy Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice diff --git a/README.md b/README.md index ecf1f225..5771ec05 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ things, I'm not taking any chances. * `NAME_RATER_EMOJI_ID` and `NAME_RATER_EMOJI_NAME` are for **name-rater**. Defaults to nothing, it just won't be there. #### API Keys, IDs, and Secrets -* `ANILIST_USERNAME` is your username for [Anilist](https://anilist.co/home). Optional, defaults to "dragonfire535". +* `ANILIST_USERNAME` is your username for [Anilist](https://anilist.co/home). Optional, defaults to "lilyissillyyy". * `BITLY_KEY` is your API key for Bit.ly. You can get one [here](https://dev.bitly.com/docs/getting-started/authentication/). * `CLEVERBOT_KEY` is your API key for Cleverbot. You can get one [here](https://www.cleverbot.com/api/). * `GITHUB_ACCESS_TOKEN` is your access token for GitHub. [Follow these steps](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic) to make one. @@ -81,7 +81,7 @@ things, I'm not taking any chances. * `THECATAPI_KEY` is your API key for The Cat API. You can get one [here](https://thecatapi.com/). * `THEDOGAPI_KEY` is your API key for The Dog API. You can get one [here](https://thedogapi.com/). * `WEBSTER_KEY` is your API key for Merriam-Webster. You can get one [here](https://dictionaryapi.com/). -* `XIAO_GITHUB_REPO_NAME` and `XIAO_GITHUB_REPO_USERNAME` are the name and username of the GitHub repo where Xiao lives. These are optional, and default to "xiao" and "dragonfire535" respectively. +* `XIAO_GITHUB_REPO_NAME` and `XIAO_GITHUB_REPO_USERNAME` are the name and username of the GitHub repo where Xiao lives. These are optional, and default to "xiao" and "lilyissillyyy" respectively. ### Run (Linux) @@ -89,7 +89,7 @@ things, I'm not taking any chances. 1. Install [Node.js](https://nodejs.org/en/). 2. Run `apt install git` to install git. -3. Clone this repository with `git clone https://github.com/dragonfire535/xiao.git`. +3. Clone this repository with `git clone https://github.com/lilyissillyyy/xiao.git`. 4. Run `cd xiao` to move into the folder that you just created. 5. Create a file named `.env` and fill it out as shown in above and in `.env.example`. 6. Run `apt update` and `apt upgrade` to install the latest dependencies of your distro. diff --git a/assets/json/cards-against-humanity.json b/assets/json/cards-against-humanity.json index 0c2b7068..a51b54af 100644 --- a/assets/json/cards-against-humanity.json +++ b/assets/json/cards-against-humanity.json @@ -13527,7 +13527,7 @@ "Yesterday's lunch, today's snack.", "Bort Sampson's catchphrase, \"eat pant\".", "The cheap Lando knock-off named Rando Cardrissian.", - "dragonfire535.", + "lilyissillyyy.", "Xiao.", "[object Object]", "The eventual release of Xiao's public source code." diff --git a/assets/json/copyright.json b/assets/json/copyright.json index a8baa73b..338b7e1d 100644 --- a/assets/json/copyright.json +++ b/assets/json/copyright.json @@ -1,5 +1,5 @@ [ - "©2017-2024 dragonfire535", + "©2017-2024 lilyissillyyy", "Rune Factory: ©2012 Marvelous Inc.", "Avatar Art: ©2018 airful" ] diff --git a/assets/json/horse-race.json b/assets/json/horse-race.json index 3eb3712e..dfba3a3f 100644 --- a/assets/json/horse-race.json +++ b/assets/json/horse-race.json @@ -244,9 +244,9 @@ "origin": "Hoarse and Horse sound similar" }, { - "name": "Dragon Fire", + "name": "Lily is Silly", "minTime": 960, - "origin": "Creator of Xiao dragonfire535" + "origin": "Creator of Xiao lilyissillyyy" }, { "name": "Long Face", diff --git a/assets/json/xiao-fact.json b/assets/json/xiao-fact.json index 1ada1b46..6f6c17f8 100644 --- a/assets/json/xiao-fact.json +++ b/assets/json/xiao-fact.json @@ -1,10 +1,10 @@ [ - "The `can-you-not` command was created to annoy one of Dragon Fire's friends, as that was their catchphrase.", - "The `hat` command was made so that Dragon Fire wouldn't have to create a new avatar for Xiao every time a holiday came around.", + "The `can-you-not` command was created to annoy one of Lily's friends, as that was their catchphrase.", + "The `hat` command was made so that Lily wouldn't have to create a new avatar for Xiao every time a holiday came around.", "The `steam-now-playing` command was created by taking a screenshot of the \"Now Playing\" message from Steam, so it has to be updated every time Steam changes the design.", - "The `glitch` command was created by accident. Dragon Fire accidently gave the `distort` command the wrong settings, and as a result created a glitchy mess, which became it's own command.", - "Dragon Fire still has no idea why the `cursed-sponge` command was added.", - "The `kyon-gun` command was what made Dragon Fire watch Haruhi, which became one of her favorite anime.", + "The `glitch` command was created by accident. Lily accidently gave the `distort` command the wrong settings, and as a result created a glitchy mess, which became it's own command.", + "Lily still has no idea why the `cursed-sponge` command was added.", + "The `kyon-gun` command was what made Lily watch Haruhi, which became one of her favorite anime.", "The `challenger` command will automatically check images for transparency, and silhouette them only if there is some.", "Several \"Meme Generator\" commands were created during a meme's prime popularity, and as a result many of them are based on long-dead memes.", "The `tebahpla` command's name is literally \"alphabet\" backwards.", @@ -24,11 +24,11 @@ "In NSFW channels, `kiss-marry-kill` turns into `fuck-marry-kill`.", "The `light-novel-title` command only exists because `light-novel-cover` often gives NSFW covers.", "The `quantum-coin` command is based on a bug that caused the `coin` command to give weird results.", - "Most \"Seeded Randomizer\" commands have a special response when used on Dragon Fire.", + "Most \"Seeded Randomizer\" commands have a special response when used on Lily.", "Xiao will not let you use \"Seeded Randomizer\" commands on her, instead giving a snarky response about how good she is.", "The `dick` command, when used on Xiao, will give your own size, plus one.", - "There are several special timezones in `time`, such as \"Discord\", \"Dragon\", and \"Neopia\".", - "The `anime` and `manga` commands have used MyAnimeList, Kitsu, and Anilist over their development. The current use of Anilist is due to Dragon Fire's status as a data mod there.", + "There are several special timezones in `time`, such as \"Discord\", \"Lily\", and \"Neopia\".", + "The `anime` and `manga` commands have used MyAnimeList, Kitsu, and Anilist over their development. The current use of Anilist is due to Lily's status as a data mod there.", "The `periodic-table` command will give Batman if you ask for Atomic Number 0.", "The `give-flower` command was the first command added to Xiao.", "Xiao is the best bot ever.", @@ -42,11 +42,11 @@ "The text in the box of the `axis-cult-sign-up` command's image reads \"ERIS PADS HER CHEST!\".", "In the `roman` command, typing \"zero\" will give you \"_nulla_\", the latin word for zero. This is because zero does not exist in roman numerals.", "The `horse-race` command contains several references: real horse names, My Little Pony characters, and various pop culture jokes. Even a few Xiao jokes are snuck in there!", - "In `horse-race`, you will occasionally encounter horses named \"Donald Trump\" and \"Dragon Fire\". Be careful, as these aren't horses, their times are based on the actual human running the race!", + "In `horse-race`, you will occasionally encounter horses named \"Donald Trump\" and \"Lily is Silly\". Be careful, as these aren't horses, their times are based on the actual human running the race!", "Numerous commands use a massive 2,000,000 entry array to check for adult sites. Some _still_ fall through the cracks.", "Numerous commands use an AI powered by Tensorflow to check for NSFW content. It is about 93% accurate.", "The `ship` command will call you a narcissist if you test yourself with yourself.", - "Whenever Dragon Fire gets a real fortune cookie, she adds the fortune to the `fortune` command.", + "Whenever Lily gets a real fortune cookie, she adds the fortune to the `fortune` command.", "The `whos-that-pokemon` command will play a sound effect and the Pokémon's cry if both you and the bot are in a voice channel when the command is used.", "The `pokedex` command will play the Pokémon's cry if both you and the bot are in a voice channel when the command is used.", "Reminders in the `remind` command have a maximum length of ~24.84 days. This is due to how JavaScript timeouts work, anything higher than this will fire early, or possibly even instantly.", diff --git a/commands/search/anime.js b/commands/search/anime.js index 882ee97a..25eedc31 100644 --- a/commands/search/anime.js +++ b/commands/search/anime.js @@ -5,7 +5,7 @@ const cheerio = require('cheerio'); const { stripIndents } = require('common-tags'); const { cleanAnilistHTML, embedURL } = require('../../util/Util'); const logos = require('../../assets/json/logos'); -const ANILIST_USERNAME = process.env.ANILIST_USERNAME || 'dragonfire535'; +const ANILIST_USERNAME = process.env.ANILIST_USERNAME || 'lilyissillyyy'; const searchGraphQL = stripIndents` query ($search: String, $type: MediaType, $isAdult: Boolean) { anime: Page (perPage: 10) { diff --git a/commands/search/manga.js b/commands/search/manga.js index 7fa1944b..2b99088f 100644 --- a/commands/search/manga.js +++ b/commands/search/manga.js @@ -5,7 +5,7 @@ const cheerio = require('cheerio'); const { stripIndents } = require('common-tags'); const { cleanAnilistHTML, embedURL } = require('../../util/Util'); const logos = require('../../assets/json/logos'); -const ANILIST_USERNAME = process.env.ANILIST_USERNAME || 'dragonfire535'; +const ANILIST_USERNAME = process.env.ANILIST_USERNAME || 'lilyissillyyy'; const searchGraphQL = stripIndents` query ($search: String, $type: MediaType, $isAdult: Boolean) { anime: Page (perPage: 10) { diff --git a/commands/util-public/changelog.js b/commands/util-public/changelog.js index b775d773..cdfb17ff 100644 --- a/commands/util-public/changelog.js +++ b/commands/util-public/changelog.js @@ -3,7 +3,7 @@ const { EmbedBuilder } = require('discord.js'); const request = require('node-superfetch'); const { shorten, embedURL } = require('../../util/Util'); const { GITHUB_ACCESS_TOKEN } = process.env; -const XIAO_GITHUB_REPO_USERNAME = process.env.XIAO_GITHUB_REPO_USERNAME || 'dragonfire535'; +const XIAO_GITHUB_REPO_USERNAME = process.env.XIAO_GITHUB_REPO_USERNAME || 'lilyissillyyy'; const XIAO_GITHUB_REPO_NAME = process.env.XIAO_GITHUB_REPO_NAME || 'xiao'; module.exports = class ChangelogCommand extends Command { diff --git a/commands/util/generate-credit.js b/commands/util/generate-credit.js index b5bc3009..6ef44b22 100644 --- a/commands/util/generate-credit.js +++ b/commands/util/generate-credit.js @@ -26,7 +26,7 @@ module.exports = class GenerateCreditCommand extends Command { if (!commands.size) return null; return commands.map(c => { const credits = c.credit - .filter(cred => cred.name !== 'Dragon Fire') + .filter(cred => cred.name !== 'Lily is Silly') .map(cred => { const reason = cred.reasonURL ? embedURL(cred.reason, cred.reasonURL) : cred.reason; return `${embedURL(cred.name, cred.url)} (${reason})`; diff --git a/framework/Command.js b/framework/Command.js index f220904d..dab8b9e1 100644 --- a/framework/Command.js +++ b/framework/Command.js @@ -23,8 +23,8 @@ module.exports = class Command { this.throttling = options.throttling || { usages: 2, duration: 5 }; this.credit = options.credit || []; this.credit.push({ - name: 'Dragon Fire', - url: 'https://github.com/dragonfire535', + name: 'Lily is Silly', + url: 'https://github.com/lilyissillyyy', reason: 'Code' }); this.uses = 0; diff --git a/package.json b/package.json index 14cead13..ab72e357 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "152.4.5", + "version": "152.4.6", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": { @@ -10,7 +10,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/dragonfire535/xiao.git" + "url": "git+https://github.com/lilyissillyyy/xiao.git" }, "keywords": [ "bot", @@ -19,12 +19,12 @@ "discord-bot", "discord-js" ], - "author": "dragonfire535 ", + "author": "lilyissillyyy", "license": "ISC", "bugs": { - "url": "https://github.com/dragonfire535/xiao/issues" + "url": "https://github.com/lilyissillyyy/xiao/issues" }, - "homepage": "https://github.com/dragonfire535/xiao#readme", + "homepage": "https://github.com/lilyissillyyy/xiao#readme", "engines": { "node": ">=15" }, diff --git a/structures/Client.js b/structures/Client.js index a5bec3d9..e61974b9 100644 --- a/structures/Client.js +++ b/structures/Client.js @@ -37,7 +37,7 @@ module.exports = class XiaoClient extends CommandClient { setTimezones() { moment.tz.link('America/Vancouver|Neopia'); moment.tz.link('America/Los_Angeles|Discord'); - moment.tz.link('America/New_York|Dragon'); + moment.tz.link('America/New_York|Lily'); } async fetchAdultSiteList(force = false) {