21 lines
830 B
TypeScript
21 lines
830 B
TypeScript
// Module ID: 10913
|
|
// Function ID: 10914
|
|
// Name: copyGuildChannelOrThreadLink
|
|
// Dependencies: [4666, 5989, 4193, 2]
|
|
// Exports: copyGuildChannelOrThreadLink
|
|
|
|
// Module 10913 (copyGuildChannelOrThreadLink)
|
|
import set from "set" /* 2 */;
|
|
import presentAddedFriendToast from "presentAddedFriendToast" /* 4193 */;
|
|
import allowChannelAccess from "allowChannelAccess" /* 4666 */;
|
|
import _copy from "_copy" /* 5989 */;
|
|
|
|
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();
|
|
};
|