Skip to content

Chore/cleanup#87

Merged
crackheadakira merged 7 commits into
mainfrom
chore/cleanup
Apr 12, 2026
Merged

Chore/cleanup#87
crackheadakira merged 7 commits into
mainfrom
chore/cleanup

Conversation

@Sayykii

@Sayykii Sayykii commented Apr 10, 2026

Copy link
Copy Markdown
Collaborator

This pr fixes #86

Comment thread src/commands/recent.ts
// We try to use the one the user set
if (!interaction.alID) throw new YuukoError("You have yet to set an AniList token.", { ephemeral: true })
vars.userId = interaction.alID;
if (!interaction.aniListId) throw new YuukoError("You have yet to set an AniList token.", { ephemeral: true })
Comment thread src/commands/synclists.ts
if (subcommand === "wipe") {
interaction.reply(`Wiping your lists from DB...`);
redis.del(await redis.keys(`_user${interaction.alID}-*`))
redis.del(await redis.keys(`_user${interaction.aniListId}-*`))
@crackheadakira
crackheadakira merged commit d0a030e into main Apr 12, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Codebase cleanup

2 participants