mirror of
https://github.com/artiemis/artemis.js.git
synced 2026-02-14 10:21:54 +00:00
fix rest type, remove presence
This commit is contained in:
parent
b50e0a1a80
commit
0a866b17f3
@ -1,12 +1,7 @@
|
|||||||
import {
|
import { Client, Collection, GatewayIntentBits, Partials } from "discord.js";
|
||||||
Client,
|
import { REST } from "@discordjs/rest";
|
||||||
Collection,
|
|
||||||
GatewayIntentBits,
|
|
||||||
Partials,
|
|
||||||
REST,
|
|
||||||
} from "discord.js";
|
|
||||||
import { env } from "./env";
|
import { env } from "./env";
|
||||||
import { ActivityType, API } from "@discordjs/core";
|
import { API } from "@discordjs/core";
|
||||||
import type { Command } from "./types/command";
|
import type { Command } from "./types/command";
|
||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import fs from "node:fs/promises";
|
import fs from "node:fs/promises";
|
||||||
@ -31,9 +26,6 @@ export class ArtemisClient extends Client {
|
|||||||
allowedMentions: {
|
allowedMentions: {
|
||||||
parse: [],
|
parse: [],
|
||||||
},
|
},
|
||||||
presence: {
|
|
||||||
activities: [{ name: "🩷", type: ActivityType.Custom }],
|
|
||||||
},
|
|
||||||
partials: [Partials.Channel],
|
partials: [Partials.Channel],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user