Change to xiaodev

This commit is contained in:
lilyissillyyy
2026-03-09 13:04:56 -04:00
parent cdd6bb0208
commit 172f13ec03
14 changed files with 29 additions and 35 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class TimeCommand extends Command {
run(msg, { timeZone }) {
const time = moment().tz(timeZone).format('h:mm A');
const location = timeZone.split('/');
const word = location[0] === 'Lily' ? 'for' : 'in';
const word = location[0] === 'Dev' ? 'for my' : 'in';
const main = firstUpperCase(location[0], /[_ ]/);
const sub = location[1] ? firstUpperCase(location[1], /[_ ]/) : null;
const subMain = location[2] ? firstUpperCase(location[2], /[_ ]/) : null;
+1 -1
View File
@@ -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 || 'lilyissillyyy';
const ANILIST_USERNAME = process.env.ANILIST_USERNAME || 'AniList';
const searchGraphQL = stripIndents`
query ($search: String, $type: MediaType, $isAdult: Boolean) {
anime: Page (perPage: 10) {
+1 -1
View File
@@ -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 || 'lilyissillyyy';
const ANILIST_USERNAME = process.env.ANILIST_USERNAME || 'AniList';
const searchGraphQL = stripIndents`
query ($search: String, $type: MediaType, $isAdult: Boolean) {
anime: Page (perPage: 10) {
+1 -1
View File
@@ -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 || 'lilyissillyyy';
const XIAO_GITHUB_REPO_USERNAME = process.env.XIAO_GITHUB_REPO_USERNAME || 'xiaobotdev';
const XIAO_GITHUB_REPO_NAME = process.env.XIAO_GITHUB_REPO_NAME || 'xiao';
module.exports = class ChangelogCommand extends Command {
+1 -1
View File
@@ -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 !== 'Lily is Silly')
.filter(cred => cred.name !== 'Xiao Dev')
.map(cred => {
const reason = cred.reasonURL ? embedURL(cred.reason, cred.reasonURL) : cred.reason;
return `${embedURL(cred.name, cred.url)} (${reason})`;