decord/source/modules/activities/utils/embeddedActivityLocationUtils.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

29 lines
910 B
TypeScript

// Module ID: 4189
// Function ID: 4190
// Name: getEmbeddedActivityLocationChannelId
// Dependencies: [2]
// Exports: getEmbeddedActivityLocationChannelId, getEmbeddedActivityLocationGuildId
// Module 4189 (getEmbeddedActivityLocationChannelId)
import set from "set" /* 2 */;
const result = set.fileFinishedImporting("modules/activities/utils/embeddedActivityLocationUtils.tsx");
export const getEmbeddedActivityLocationChannelId = function getEmbeddedActivityLocationChannelId(_location) {
if (null != _location) {
let channel_id;
if ("channel_id" in _location) {
channel_id = _location.channel_id;
}
return channel_id;
}
};
export const getEmbeddedActivityLocationGuildId = function getEmbeddedActivityLocationGuildId(location) {
if (null != location) {
let guild_id;
if ("guild_id" in location) {
guild_id = location.guild_id;
}
return guild_id;
}
};