mirror of
https://github.com/sern-handler/cli
synced 2026-06-06 01:16:53 +00:00
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:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user