21 lines
827 B
TypeScript
21 lines
827 B
TypeScript
// Module ID: 9876
|
|
// Function ID: 9877
|
|
// Name: copyGuildChannelOrThreadLink
|
|
// Dependencies: [4566, 5862, 4097, 2]
|
|
// Exports: copyGuildChannelOrThreadLink
|
|
|
|
// Module 9876 (copyGuildChannelOrThreadLink)
|
|
import set from "set" /* 2 */;
|
|
import presentAddedFriendToast from "presentAddedFriendToast" /* 4097 */;
|
|
import allowChannelAccess from "allowChannelAccess" /* 4566 */;
|
|
import _copy from "_copy" /* 5862 */;
|
|
|
|
const result = set.fileFinishedImporting("modules/channel/native/ChannelActionSheetUtils.tsx");
|
|
|
|
export const copyGuildChannelOrThreadLink = function copyGuildChannelOrThreadLink(guild_id, id) {
|
|
const channelPermalink = allowChannelAccess.getChannelPermalink(guild_id, id);
|
|
const obj = allowChannelAccess;
|
|
_copy.copy(channelPermalink);
|
|
const obj2 = _copy;
|
|
presentAddedFriendToast.presentLinkCopied();
|
|
};
|