Skip to content

Commit

Permalink
feat: api v10
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Apr 10, 2022
1 parent debfbcc commit dc2d215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/util/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { setTimeout } from 'node:timers';
import { Commands } from '../managers/CommandManager';

async function _sync(client: GClient, commands: Array<Command>, guildId?: string) {
const rest = new REST({ version: '9' }).setToken(client.token as string);
const rest = new REST({ version: '10' }).setToken(client.token as string);

await rest
.put(
Expand Down

0 comments on commit dc2d215

Please sign in to comment.