moved to d.js 14.3.0, started fixing errors
Co-authored-by: PineappleFan <pineapplefanyt@gmail.com>
diff --git a/src/utils/generateEmojiEmbed.ts b/src/utils/generateEmojiEmbed.ts
index 69058ae..a7926df 100644
--- a/src/utils/generateEmojiEmbed.ts
+++ b/src/utils/generateEmojiEmbed.ts
@@ -1,4 +1,4 @@
-import { MessageEmbed } from "discord.js";
+import { EmbedBuilder } from "discord.js";
import getEmojiByName from "./getEmojiByName.js";
const colors = {
@@ -7,7 +7,7 @@
Success: 0x68d49e
};
-class EmojiEmbed extends MessageEmbed {
+class EmojiEmbed extends EmbedBuilder {
_title = "";
_emoji: string | null = null;
@@ -18,10 +18,6 @@
return `${getEmojiByName(this._emoji)} ${this._title}`;
}
- override set title(title: string) {
- this._title = title;
- }
-
override setTitle(title: string) {
this._title = title;
return this;