mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-10 15:13:02 -04:00
HideAttachments, UnsupressEmbeds: Work with forwarded messages (#2928)
This commit is contained in:
parent
7ee70e831a
commit
79cbfe96c8
3 changed files with 20 additions and 4 deletions
6
src/webpack/common/types/utils.d.ts
vendored
6
src/webpack/common/types/utils.d.ts
vendored
|
@ -16,7 +16,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { Channel, Guild, GuildMember, User } from "discord-types/general";
|
||||
import { Channel, Guild, GuildMember, Message, User } from "discord-types/general";
|
||||
import type { ReactNode } from "react";
|
||||
import { LiteralUnion } from "type-fest";
|
||||
|
||||
|
@ -133,6 +133,10 @@ export type Permissions = "CREATE_INSTANT_INVITE"
|
|||
|
||||
export type PermissionsBits = Record<Permissions, bigint>;
|
||||
|
||||
export interface MessageSnapshot {
|
||||
message: Message;
|
||||
}
|
||||
|
||||
export interface Locale {
|
||||
name: string;
|
||||
value: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue