decord/source/modules/channel/native/ChannelActionSheetUtils.tsx

22 lines
830 B
TypeScript
Raw Normal View History

2026-09-03 10:05:34 +00:00
// Module ID: 10917
// Function ID: 10918
2026-07-20 16:05:17 +00:00
// Name: copyGuildChannelOrThreadLink
2026-09-03 10:05:34 +00:00
// Dependencies: [4666, 5990, 4193, 2]
2026-07-20 16:05:17 +00:00
// Exports: copyGuildChannelOrThreadLink
2026-09-03 10:05:34 +00:00
// Module 10917 (copyGuildChannelOrThreadLink)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-01 10:26:29 +00:00
import presentAddedFriendToast from "presentAddedFriendToast" /* 4193 */;
import allowChannelAccess from "allowChannelAccess" /* 4666 */;
2026-09-03 10:05:34 +00:00
import _copy from "_copy" /* 5990 */;
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/channel/native/ChannelActionSheetUtils.tsx");
2026-07-20 16:05:17 +00:00
export const copyGuildChannelOrThreadLink = function copyGuildChannelOrThreadLink(guild_id, id) {
2026-08-24 06:08:38 +00:00
const channelPermalink = allowChannelAccess.getChannelPermalink(guild_id, id);
const obj = allowChannelAccess;
_copy.copy(channelPermalink);
const obj2 = _copy;
presentAddedFriendToast.presentLinkCopied();
2026-07-20 16:05:17 +00:00
};