diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-07-10 17:37:31 +0200 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-07-10 17:37:31 +0200 |
commit | 131b44f23be250aed2aeacdb51321b141d2ede4f (patch) | |
tree | ae8e4a52c6258f5e1d72c003359f7b0dd6ae2263 /src | |
parent | 40abb40269d54fcc222be551317ad1a566bd6f42 (diff) | |
download | tanzanite-131b44f23be250aed2aeacdb51321b141d2ede4f.tar.gz tanzanite-131b44f23be250aed2aeacdb51321b141d2ede4f.tar.bz2 tanzanite-131b44f23be250aed2aeacdb51321b141d2ede4f.zip |
switch the cape command to neu/neu
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/moulberry-bush/capes.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/moulberry-bush/capes.ts b/src/commands/moulberry-bush/capes.ts index c2dae4d..1db2f72 100644 --- a/src/commands/moulberry-bush/capes.ts +++ b/src/commands/moulberry-bush/capes.ts @@ -48,7 +48,7 @@ export default class CapesCommand extends BushCommand { public override async exec(message: CommandMessage | SlashMessage, args: { cape: OptArgType<'string'> }) { const { tree: neuFileTree }: GithubTreeApi = await got - .get('https://api.github.com/repos/Moulberry/NotEnoughUpdates/git/trees/master?recursive=1') + .get('https://api.github.com/repos/NotEnoughUpdates/NotEnoughUpdates/git/trees/master?recursive=1') .json(); const rawCapes = neuFileTree .map((f) => ({ @@ -63,7 +63,7 @@ export default class CapesCommand extends BushCommand { .map((c) => ({ name: c.name, url: c.custom!, index: c.index, purchasable: c.purchasable })), ...rawCapes.map((c) => { const mapCape = mappings.capes.find((a) => a.name === c.match!.groups!.name); - const url = mapCape?.custom ?? `https://github.com/Moulberry/NotEnoughUpdates/raw/master/${c.f.path}`; + const url = mapCape?.custom ?? `https://github.com/NotEnoughUpdates/NotEnoughUpdates/raw/master/${c.f.path}`; const index = mapCape?.index !== undefined ? mapCape.index : null; return { name: c.match!.groups!.name, url, index: index!, purchasable: mapCape?.purchasable }; }) |