Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,73 @@
|
||||
/* Metro module 11266; source: modules/channel_following/native/components/ChannelFollowSuccessAlert.tsx; dependencies: [31, 27, 33, 11267, 11268, 11269, 11270, 11271, 11272, 1244, 4501, 4048, 4002, 7055, 22, 4596, 4573, 2] */
|
||||
function _fun86068(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86068, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11452:6, offset: 0x01f86a0d, size: 478 bytes, params: 8, frame: 20
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const env0_3 = (require(27) /* metro dependency 27 */).Image;
|
||||
const value = require(33) /* metro dependency 33 */;
|
||||
const env0_4 = value.jsx;
|
||||
const env0_5 = value.jsxs;
|
||||
object = [require(11267) /* metro dependency 11267 */, require(11268) /* metro dependency 11268 */,
|
||||
require(11269) /* metro dependency 11269 */];
|
||||
object = [require(11270) /* metro dependency 11270 */, require(11271) /* metro dependency 11271 */,
|
||||
require(11272) /* metro dependency 11272 */];
|
||||
object = [function() {
|
||||
return require(dependencyMap[9]).intl.string(require(dependencyMap[9]).t['w2o/60']);
|
||||
}, function() {
|
||||
return require(dependencyMap[9]).intl.string(require(dependencyMap[9]).t.FiAvKg);
|
||||
}, function() {
|
||||
return require(dependencyMap[9]).intl.string(require(dependencyMap[9]).t.vKUFek);
|
||||
}, function() {
|
||||
return require(dependencyMap[9]).intl.string(require(dependencyMap[9]).t.veQl5T);
|
||||
}, function() {
|
||||
return require(dependencyMap[9]).intl.string(require(dependencyMap[9]).t.Pxb7BR);
|
||||
}, function() {
|
||||
return require(dependencyMap[9]).intl.string(require(dependencyMap[9]).t['W03w++']);
|
||||
}, function() {
|
||||
return require(dependencyMap[9]).intl.string(require(dependencyMap[9]).t['95HTb5']);
|
||||
}, function() {
|
||||
return require(dependencyMap[9]).intl.string(require(dependencyMap[9]).t['+XFelz']);
|
||||
}, function() {
|
||||
return require(dependencyMap[9]).intl.string(require(dependencyMap[9]).t.hedHel);
|
||||
}, function() {
|
||||
return require(dependencyMap[9]).intl.string(require(dependencyMap[9]).t.jgC65t);
|
||||
}];
|
||||
const env0_9 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({text: {'marginTop': 16,
|
||||
'lineHeight': 20, 'textAlign': 'center'}, header: {textAlign: 'center'}, image: {'alignSelf': 'center',
|
||||
'marginTop': -72, 'marginBottom': 16, 'width': '100%', 'resizeMode': 'contain'}});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel_following/native/components/ChannelFollowSuccessAlert.tsx');
|
||||
exports.default = ChannelFollowSuccessAlert;
|
||||
}
|
||||
|
||||
function ChannelFollowSuccessAlert(a0) { // fn#86079, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11452:844, offset: 0x01f86e6b, size: 464 bytes, params: 2, frame: 24
|
||||
const styles = useStyles();
|
||||
const value2 = (importDefault(4048) /* metro dependency 4048: useTheme */)();
|
||||
const sharedModule = require(4002) /* metro dependency 4002: shared */;
|
||||
const value3 = (require(7055) /* metro dependency 7055 */).useStableMemo(_fun86080,
|
||||
[sharedModule.isThemeDark(value2) ? env0_7 : env0_6]);
|
||||
const value4 = (require(7055) /* metro dependency 7055 */).useStableMemo(_fun86081, []);
|
||||
const Alert = importDefault(4596) /* metro dependency 4596: Alert */;
|
||||
const defaultImportProps = {...a0};
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
defaultImportProps['confirmText'] = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['+IrDzN']);
|
||||
const items2 = [<Image source={value3} style={styles.image} />];
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
items2[1] = <Text style={styles.header} variant="heading-xl/extrabold" color="mobile-text-heading-primary">{value4()}</Text>;
|
||||
items2[2] = <Text style={styles.text} variant="text-md/medium" color="text-muted">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['2QbSea'])}</Text>;
|
||||
return (
|
||||
<Alert {...defaultImportProps}>
|
||||
{items2}
|
||||
</Alert>
|
||||
);
|
||||
}
|
||||
|
||||
function _fun86080() { // fn#86080, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11452:961, offset: 0x01f8703b, size: 45 bytes, params: 1, frame: 11
|
||||
const value = environment.__proto__;
|
||||
return (importDefault(22) /* metro dependency 22 */).sample(env0_0);
|
||||
}
|
||||
|
||||
function _fun86081() { // fn#86081, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11452:1016, offset: 0x01f87068, size: 42 bytes, params: 1, frame: 12
|
||||
return (importDefault(22) /* metro dependency 22 */).sample(env1_8);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,244 @@
|
||||
/* Metro module 11262; source: modules/channel_following/native/components/NewChannelFollower.tsx; dependencies: [57, 31, 27, 1379, 1935, 1867, 3784, 4896, 661, 33, 4501, 697, 7326, 4048, 566, 4805, 4594, 4002, 11263, 11264, 6275, 6277, 6819, 1305, 6647, 4573, 1244, 4572, 6231, 6238, 4080, 9059, 1962, 11265, 7972, 6261, 4578, 11166, 6515, 2] */
|
||||
function _fun86047(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86047, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:6, offset: 0x01f85860, size: 630 bytes, params: 8, frame: 22
|
||||
var object4;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(57) /* metro dependency 57 */;
|
||||
const env0_4 = importAll(31) /* metro dependency 31 */;
|
||||
let value = require(27) /* metro dependency 27 */;
|
||||
const env0_5 = value.View;
|
||||
const env0_6 = value.ImageBackground;
|
||||
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
|
||||
const guildChannelStore = importDefault(1935) /* metro dependency 1935: GuildChannelStore */;
|
||||
const env0_9 = (require(1935) /* metro dependency 1935: GuildChannelStore */).GUILD_SELECTABLE_CHANNELS_KEY;
|
||||
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
|
||||
const permissionStore = importDefault(3784) /* metro dependency 3784: PermissionStore */;
|
||||
const sortedGuildStore = importDefault(4896) /* metro dependency 4896: SortedGuildStore */;
|
||||
value = require(661) /* metro dependency 661: Constants */;
|
||||
const env0_13 = value.AbortCodes;
|
||||
const env0_14 = value.ChannelTypes;
|
||||
const env0_15 = value.Permissions;
|
||||
value = require(33) /* metro dependency 33 */;
|
||||
const env0_16 = value.jsx;
|
||||
const env0_17 = value.jsxs;
|
||||
value = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = value.createStyles;
|
||||
object4 = {container: {'flex': 1, 'flexDirection': 'column', 'alignItems': 'stretch', 'paddingHorizontal': 16,
|
||||
'paddingVertical': 24}, header: {'flex': 1, 'flexDirection': 'row', 'justifyContent': 'center',
|
||||
'alignItems': 'center', 'height': 96}, headerGuildIcon: {'width': 40, 'marginRight': 16}};
|
||||
const object5 = {};
|
||||
object5.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.xs;
|
||||
const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
|
||||
object5.backgroundColor = BACKGROUND_SURFACE_HIGH;
|
||||
object5.height = 32;
|
||||
object4.headerChannelContainer = object5;
|
||||
const object6 = {'flex': 1, 'flexDirection': 'row', 'minWidth': 160, 'paddingHorizontal': 8, 'paddingVertical': 6};
|
||||
object6.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.xs;
|
||||
const INTERACTIVE_BACKGROUND_SELECTED = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_BACKGROUND_SELECTED;
|
||||
object6.backgroundColor = INTERACTIVE_BACKGROUND_SELECTED;
|
||||
object4.headerChannel = object6;
|
||||
object4.headerChannelIcon = {'height': 20, 'width': 20, 'marginRight': 8, 'opacity': 0.6};
|
||||
object4.ctaHeader = {'flex': 1, 'textAlign': 'center', 'marginBottom': 8};
|
||||
object4.ctaSubhead = {'flex': 1, 'textAlign': 'center', 'marginBottom': 8};
|
||||
object4.channelIcon = {'height': 16, 'width': 16, 'opacity': 0.6};
|
||||
const env0_18 = Reflect.apply(createStyles, value, [object4]);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel_following/native/components/NewChannelFollower.tsx');
|
||||
exports.default = _default_86048;
|
||||
}
|
||||
|
||||
function _default_86048({sourceGuildId, sourceChannelId, targetGuildId, targetChannelId, reopenActionSheetWithTarget, onCancel, onSuccess}) { // fn#86048, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:1127, offset: 0x01f85ad6, size: 2220 bytes, params: 2, frame: 51
|
||||
const Icon = (require(1305) /* metro dependency 1305: native */).Icon;
|
||||
const FormHint = (require(7972) /* metro dependency 7972: native */).FormHint;
|
||||
const env0_3 = targetChannelId;
|
||||
const styles = useStyles();
|
||||
const binding = reopenActionSheetWithTarget;
|
||||
let useState = binding.useState;
|
||||
const value2 = Reflect.apply(useState, binding, [false]);
|
||||
const binding2 = env0_3;
|
||||
const value3 = binding2(value2, 2);
|
||||
const property = value3[0];
|
||||
const env0_6 = value3[1];
|
||||
useState = binding.useState;
|
||||
const value5 = binding2(Reflect.apply(useState, binding, [null]), 2);
|
||||
const property2 = value5[0];
|
||||
const env0_7 = value5[1];
|
||||
const {bottomSheetRef,
|
||||
bottomSheetClose} = (require(7326) /* metro dependency 7326: useBottomSheetRef */).useBottomSheetRef();
|
||||
const value7 = (importDefault(4048) /* metro dependency 4048: useTheme */)();
|
||||
const {sourceGuild,
|
||||
targetGuild} = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([GuildStore],
|
||||
function() {
|
||||
var object = {};
|
||||
object.sourceGuild = GuildStore.getGuild(sourceGuildId);
|
||||
object.targetGuild = GuildStore.getGuild(targetGuildId);
|
||||
return object;
|
||||
});
|
||||
const {sourceChannel,
|
||||
targetChannel} = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([ChannelStore],
|
||||
function() {
|
||||
var object = {};
|
||||
object.sourceChannel = ChannelStore.getChannel(sourceChannelId);
|
||||
object.targetChannel = ChannelStore.getChannel(targetChannelId);
|
||||
return object;
|
||||
});
|
||||
const value10 = (importDefault(4805) /* metro dependency 4805: useChannelName */)(sourceChannel);
|
||||
const value11 = (importDefault(4805) /* metro dependency 4805: useChannelName */)(targetChannel);
|
||||
const r25 = targetGuildId != null && targetChannelId != null;
|
||||
(importDefault(4594) /* metro dependency 4594: useMountEffect */)(_fun86051);
|
||||
const r9 = (require(4002) /* metro dependency 4002: shared */).isThemeDark(value7) ? importDefault(11263) /* metro dependency 11263 */ : importDefault(11264) /* metro dependency 11264 */;
|
||||
const BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet;
|
||||
const BottomSheetScrollView = (require(6277) /* metro dependency 6277 */).BottomSheetScrollView;
|
||||
let object = {source: r9};
|
||||
let header = styles.header;
|
||||
object.style = header;
|
||||
header = styles.header;
|
||||
const value14 = ((Component) => <Component style={styles.headerGuildIcon} guild={sourceGuild} />)(importDefault(6819) /* metro dependency 6819: GuildIcon */);
|
||||
const Icon2 = (require(1305) /* metro dependency 1305: native */).Icon;
|
||||
const Sizes = Icon2.Sizes;
|
||||
const CUSTOM = Sizes.CUSTOM;
|
||||
const icon = <Icon size={CUSTOM} source={sourceChannel != null ? (require(6647) /* metro dependency 6647: ChannelUtils */).getChannelIcon(sourceChannel) : null} style={styles.headerChannelIcon} />;
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
const imageBackground = <ImageBackground {...object}><View style={header}>{value14}<View style={styles.headerChannelContainer}><View style={styles.headerChannel}>{icon}<Text lineClamp={1} variant="text-sm/medium">{value10}</Text></View></View></View></ImageBackground>;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
let string = intl.string;
|
||||
const items4 = [<Text style={styles.ctaHeader} variant="heading-lg/semibold" color="mobile-text-heading-primary">{Reflect.apply(string,
|
||||
intl, [(require(1244) /* metro dependency 1244: indexNative */).t.mvPFbA])}</Text>];
|
||||
items4[1] = <Text style={styles.ctaSubhead} variant="text-sm/medium" color="text-default">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.kbpkxJ)}</Text>;
|
||||
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
|
||||
const TableRowGroup = (require(6231) /* metro dependency 6231: TableRowGroupNative */).TableRowGroup;
|
||||
const tableRowGroupProps = {title: intl.string((require(1244) /* metro dependency 1244: indexNative */).t.xFn72s),
|
||||
hasIcons: true};
|
||||
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
|
||||
const tableRowGroup = <TableRowGroup {...tableRowGroupProps}><TableRow label={targetGuild != null ? targetGuild.name : intl.string((require(1244) /* metro dependency 1244: indexNative */).t.XqMe3N)} icon={targetGuild != null ? ((Component) => <Component guild={targetGuild} size={(require(6819) /* metro dependency 6819: GuildIcon */).GuildIconSizes.XSMALL} />)(importDefault(6819) /* metro dependency 6819: GuildIcon */) : null} arrow onPress={onPress_86052} /></TableRowGroup>;
|
||||
string = intl.string;
|
||||
const PDn2fR = (require(1244) /* metro dependency 1244: indexNative */).t.PDn2fR;
|
||||
items4[2] = <Stack spacing={16}>{tableRowGroup}<TableRowGroup title={Reflect.apply(string, intl,
|
||||
[PDn2fR])} hasIcons><TableRow label={value11 ?? intl.string((require(1244) /* metro dependency 1244: indexNative */).t.XqMe3N)} disabled={targetGuildId == null} icon={targetChannel != null ? <Icon size={(require(1305) /* metro dependency 1305: native */).Icon.Sizes.CUSTOM} source={(require(6647) /* metro dependency 6647: ChannelUtils */).getChannelIcon(targetChannel)} style={styles.channelIcon} /> : null} arrow onPress={onPress_86056} /></TableRowGroup></Stack>;
|
||||
string = intl.string;
|
||||
const Z0quyN = (require(1244) /* metro dependency 1244: indexNative */).t.Z0quyN;
|
||||
items4[3] = <FormHint inset>{Reflect.apply(string, intl, [Z0quyN])}</FormHint>;
|
||||
items4[4] = property2 != null ? <FormHint inset>{property2}</FormHint> : null;
|
||||
const ButtonGroup = (require(6261) /* metro dependency 6261: ButtonGroupNative */).ButtonGroup;
|
||||
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
|
||||
items4[5] = <ButtonGroup><Button text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['3aOv+h'])} disabled={!r25} loading={property} onPress={onPress_86060} /><Button text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['ETE/oC'])} variant="secondary" onPress={onCancel} /></ButtonGroup>;
|
||||
bottomSheetScrollView = <BottomSheetScrollView>{imageBackground}<View style={styles.container}>{items4}</View></BottomSheetScrollView>;
|
||||
const ActionSheetHeaderBar = (require(6515) /* metro dependency 6515: ActionSheetHeaderBarNative */).ActionSheetHeaderBar;
|
||||
return (
|
||||
<BottomSheet
|
||||
handleDisabled
|
||||
startExpanded
|
||||
scrollable
|
||||
ref={bottomSheetRef}
|
||||
>
|
||||
{bottomSheetScrollView}
|
||||
<ActionSheetHeaderBar variant="floating" onPress={bottomSheetClose} />
|
||||
</BottomSheet>
|
||||
);
|
||||
}
|
||||
|
||||
function _fun86051() { // fn#86051, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:1769, offset: 0x01f863ec, size: 39 bytes, params: 1, frame: 9
|
||||
var current;
|
||||
if (env0_10) {
|
||||
current = bottomSheetRef.current;
|
||||
if (current != null) {
|
||||
current.expandActionSheet();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function _default_86048OnPress() { // fn#86052, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3041, owner: _default_86048.onPress, offset: 0x01f86413, size: 259 bytes, params: 1, frame: 22
|
||||
var environment;
|
||||
let value = environment.__proto__;
|
||||
const value2 = undefined;
|
||||
const defaultImport = importDefault(dependencyMap[30]);
|
||||
const openLazy = defaultImport.openLazy;
|
||||
const value3 = require(dependencyMap[32])(dependencyMap[31], dependencyMap.paths);
|
||||
const object2 = {};
|
||||
const intl = require(dependencyMap[26]).intl;
|
||||
object2.title = intl.string(require(dependencyMap[26]).t.etZ9tX);
|
||||
value = SortedGuildStore.getFlattenedGuildIds();
|
||||
const reduce = value.reduce;
|
||||
const Array = global.Array;
|
||||
const value4 = Object.create(Array.prototype, {constructor: {value: Array}});
|
||||
const array = new Array();
|
||||
object2.items = Reflect.apply(reduce, value, [_fun86053, array instanceof Object ? array : value4]);
|
||||
object2.selectedItem = targetGuildId ?? value2;
|
||||
object2.onItemSelect = onItemSelect_86054;
|
||||
object2.onClose = function() {
|
||||
reopenActionSheetWithTarget(targetGuildId, targetChannelId);
|
||||
};
|
||||
object2.hasIcons = false;
|
||||
Reflect.apply(openLazy, defaultImport, [value3, 'NewChannelFollowerGuildPicker', object2]);
|
||||
return value2;
|
||||
}
|
||||
|
||||
function _default_86048OnPress_86056() { // fn#86056, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3800, owner: _default_86048.onPress, offset: 0x01f865c3, size: 126 bytes, params: 1, frame: 16
|
||||
var environment;
|
||||
var value3;
|
||||
const targetGuildIdBinding = targetGuildId;
|
||||
const value2 = null;
|
||||
if (value2 != targetGuildIdBinding) {
|
||||
value3 = environment.__proto__;
|
||||
(importDefault(11265) /* metro dependency 11265: openChannelPicker */)({guildId: targetGuildId,
|
||||
selectedChannel: value2 != targetChannel ? targetChannel : value2,
|
||||
channelType: GUILD_SELECTABLE_CHANNELS_KEY,
|
||||
filterFn: filterFn, onSelect: function(a0) {
|
||||
reopenActionSheetWithTarget(targetGuildId, a0.id);
|
||||
}, onClose: onClose_86059});
|
||||
}
|
||||
}
|
||||
|
||||
function _default_86048OnPress_86060() { // fn#86060, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:4278, owner: _default_86048.onPress, offset: 0x01f8669b, size: 107 bytes, params: 1, frame: 14
|
||||
var environment;
|
||||
var value2;
|
||||
var defaultImport;
|
||||
var channelFollower;
|
||||
if (targetChannelId != null) {
|
||||
env0_6(true);
|
||||
value2 = environment.__proto__;
|
||||
defaultImport = importDefault(11166) /* metro dependency 11166: ChannelFollowerActionCreators */;
|
||||
channelFollower = defaultImport.createChannelFollower(targetChannelId, sourceChannelId);
|
||||
channelFollower.then(onSuccess).catch(_fun86061);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun86053(a0, a1) { // fn#86053, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3212, offset: 0x01f86516, size: 94 bytes, params: 3, frame: 15
|
||||
const value = environment.__proto__.__proto__;
|
||||
const guild = GuildStore.getGuild(a1);
|
||||
if (guild != null && PermissionStore.can(Permissions.MANAGE_WEBHOOKS, guild)) {
|
||||
a0.push({label: guild.name, value: guild.id});
|
||||
}
|
||||
return a0;
|
||||
}
|
||||
|
||||
function onPressOnItemSelect_86054(a0) { // fn#86054, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3363, owner: _default_86048.onPress.onItemSelect, offset: 0x01f86574, size: 54 bytes, params: 2, frame: 15
|
||||
let value = environment.__proto__;
|
||||
const reopenActionSheetWithTargetBinding = reopenActionSheetWithTarget;
|
||||
value = environment.__proto__.__proto__;
|
||||
value = GuildChannelStore.getDefaultChannel(a0);
|
||||
const value2 = undefined;
|
||||
reopenActionSheetWithTargetBinding(a0, value == null ? value2 : value.id);
|
||||
return value2;
|
||||
}
|
||||
|
||||
function filterFn({channel}) { // fn#86057, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3894, owner: _default_86048.onPress.filterFn, offset: 0x01f86641, size: 61 bytes, params: 2, frame: 14
|
||||
const type = channel.type;
|
||||
const value = environment.__proto__.__proto__;
|
||||
const GUILD_TEXT = ChannelTypes.GUILD_TEXT;
|
||||
return type === GUILD_TEXT && PermissionStore.can(Permissions.MANAGE_WEBHOOKS, channel);
|
||||
}
|
||||
|
||||
function _fun86061({body}) { // fn#86061, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:4356, offset: 0x01f86706, size: 182 bytes, params: 2, frame: 17
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
||||
env1_6(false);
|
||||
const code = body.code;
|
||||
const TOO_MANY_WEBHOOKS = AbortCodes.TOO_MANY_WEBHOOKS;
|
||||
if (code === TOO_MANY_WEBHOOKS) {
|
||||
env1_7(intl.string(t['1eZ4aB']));
|
||||
} else {
|
||||
env1_7(intl.string(t.LgwhuN));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user