chore: git stash changelog.md license.md readme.md dist node_modules package-lock.json package.json renovate.json src templates tsconfig.json tsup.config.ts

permalink: http://whatthecommit.com/7ad7c71289d30791e2f20c54465142aa
This commit is contained in:
EvolutionX
2023-08-10 11:14:40 +05:30
parent f12d541dfe
commit 0a3fedd1d8

View File

@@ -29,7 +29,7 @@ export const create = (appid: string, token: string) => {
return fetch(guildCommandURL, { headers }); return fetch(guildCommandURL, { headers });
}, },
putGuildCommands: (guildId: string, guildCommand: any) => { putGuildCommands: (guildId: string, guildCommand: unknown) => {
const guildCommandURL = new URL(`${appid}/guilds/${guildId}/commands`, baseURL); const guildCommandURL = new URL(`${appid}/guilds/${guildId}/commands`, baseURL);
return fetch(guildCommandURL, { return fetch(guildCommandURL, {
method: 'PUT', method: 'PUT',