forked from cadence/out-of-your-element
d->m: Make role mentions really pretty
This commit is contained in:
parent
44f90cbb5f
commit
d9d672bffd
3 changed files with 109 additions and 8 deletions
76
test/data.js
76
test/data.js
|
@ -119,7 +119,51 @@ module.exports = {
|
|||
}
|
||||
],
|
||||
premium_subscription_count: 14,
|
||||
roles: [],
|
||||
roles: [
|
||||
{
|
||||
version: 1696964862461,
|
||||
unicode_emoji: null,
|
||||
tags: {},
|
||||
position: 22,
|
||||
permissions: '0',
|
||||
name: 'Master Wonder Mage',
|
||||
mentionable: true,
|
||||
managed: false,
|
||||
id: '503685967463448616',
|
||||
icon: null,
|
||||
hoist: false,
|
||||
flags: 0,
|
||||
color: 0
|
||||
}, {
|
||||
version: 1696964862776,
|
||||
unicode_emoji: null,
|
||||
tags: {},
|
||||
position: 131,
|
||||
permissions: '0',
|
||||
name: '!!DLCS!!',
|
||||
mentionable: true,
|
||||
managed: false,
|
||||
id: '212762309364285440',
|
||||
icon: null,
|
||||
hoist: true,
|
||||
flags: 0,
|
||||
color: 11076095
|
||||
}, {
|
||||
version: 1696964862698,
|
||||
unicode_emoji: '🍂',
|
||||
tags: {},
|
||||
position: 102,
|
||||
permissions: '0',
|
||||
name: 'corporate overlord',
|
||||
mentionable: false,
|
||||
managed: false,
|
||||
id: '217013981053845504',
|
||||
icon: null,
|
||||
hoist: true,
|
||||
flags: 0,
|
||||
color: 16745267
|
||||
}
|
||||
],
|
||||
discovery_splash: null,
|
||||
default_message_notifications: 1,
|
||||
region: "deprecated",
|
||||
|
@ -434,6 +478,36 @@ module.exports = {
|
|||
attachments: [],
|
||||
guild_id: "112760669178241024"
|
||||
},
|
||||
simple_role_mentions: {
|
||||
id: "1162374402785153106",
|
||||
type: 0,
|
||||
content: "I'm just <@&212762309364285440> testing a few role pings <@&503685967463448616> don't mind me",
|
||||
channel_id: "160197704226439168",
|
||||
author: {
|
||||
id: "772659086046658620",
|
||||
username: "cadence.worm",
|
||||
avatar: "4b5c4b28051144e4c111f0113a0f1cf1",
|
||||
discriminator: "0",
|
||||
public_flags: 0,
|
||||
flags: 0,
|
||||
banner: null,
|
||||
accent_color: null,
|
||||
global_name: "cadence",
|
||||
avatar_decoration_data: null,
|
||||
banner_color: null
|
||||
},
|
||||
attachments: [],
|
||||
embeds: [],
|
||||
mentions: [],
|
||||
mention_roles: [ "212762309364285440", "503685967463448616" ],
|
||||
pinned: false,
|
||||
mention_everyone: false,
|
||||
tts: false,
|
||||
timestamp: "2023-10-13T13:00:53.496000+00:00",
|
||||
edited_timestamp: null,
|
||||
flags: 0,
|
||||
components: []
|
||||
},
|
||||
simple_message_link: {
|
||||
id: "1126788210308161626",
|
||||
type: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue