Changes of com.discord v1325
This commit is contained in:
parent
d9d9f382c9
commit
3cb9e1231d
28086 changed files with 4880345 additions and 0 deletions
59
com.discord/res/xml/actions.xml
Normal file
59
com.discord/res/xml/actions.xml
Normal file
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<actions>
|
||||
<action intentName="custom.actions.intent.JOIN_SERVER" queryPatterns="@array/actions_intent_join_server">
|
||||
<parameter name="inviteCode" type="https://schema.org/Text" />
|
||||
<fulfillment urlTemplate="https://discord.com/invite/{inviteCode}">
|
||||
<parameter-mapping intentParameter="inviteCode" required="false" urlParameter="inviteCode" />
|
||||
</fulfillment>
|
||||
</action>
|
||||
<action intentName="custom.actions.intent.SELECT_SERVER" queryPatterns="@array/actions_intent_select_server">
|
||||
<parameter name="serverName" type="https://schema.org/Text" />
|
||||
<fulfillment urlTemplate="https://discord.com/query/?type=server{&serverName}">
|
||||
<parameter-mapping intentParameter="serverName" required="false" urlParameter="serverName" />
|
||||
</fulfillment>
|
||||
</action>
|
||||
<action intentName="custom.actions.intent.SELECT_CHANNEL" queryPatterns="@array/actions_intent_select_channel">
|
||||
<parameter name="channelName" type="https://schema.org/Text" />
|
||||
<parameter name="serverName" type="https://schema.org/Text" />
|
||||
<fulfillment urlTemplate="https://discord.com/query/?type=channel{&channelName,serverName}">
|
||||
<parameter-mapping intentParameter="channelName" required="false" urlParameter="channelName" />
|
||||
<parameter-mapping intentParameter="serverName" required="false" urlParameter="serverName" />
|
||||
</fulfillment>
|
||||
</action>
|
||||
<action intentName="custom.actions.intent.SELECT_USER" queryPatterns="@array/actions_intent_select_user">
|
||||
<parameter name="userName" type="https://schema.org/Text" />
|
||||
<fulfillment urlTemplate="https://discord.com/query/?type=user{&userName}">
|
||||
<parameter-mapping intentParameter="userName" required="false" urlParameter="userName" />
|
||||
</fulfillment>
|
||||
</action>
|
||||
<action intentName="actions.intent.CREATE_MESSAGE">
|
||||
<fulfillment urlTemplate="https://discord.com/query/?type=user{&userName,messageText}">
|
||||
<parameter-mapping intentParameter="message.recipient.name" urlParameter="userName" />
|
||||
<parameter-mapping intentParameter="message.text" urlParameter="messageText" />
|
||||
</fulfillment>
|
||||
</action>
|
||||
<action intentName="actions.intent.GET_MESSAGE">
|
||||
<fulfillment urlTemplate="https://discord.com/query/?type=user{&userName,userNameAlt}">
|
||||
<parameter-mapping intentParameter="message.recipient.name" urlParameter="userNameAlt" />
|
||||
<parameter-mapping intentParameter="message.sender.name" urlParameter="userName" />
|
||||
</fulfillment>
|
||||
</action>
|
||||
<action intentName="actions.intent.OPEN_APP_FEATURE">
|
||||
<fulfillment urlTemplate="https://discord.com/feature/{feature}">
|
||||
<parameter-mapping entityMatchRequired="true" intentParameter="feature" required="true" urlParameter="feature" />
|
||||
</fulfillment>
|
||||
<parameter name="feature">
|
||||
<entity-set-reference entitySetId="FeatureEntitySet" />
|
||||
</parameter>
|
||||
</action>
|
||||
<entity-set entitySetId="FeatureEntitySet">
|
||||
<entity identifier="settings" name="@string/settings" />
|
||||
<entity identifier="account" name="@string/account" />
|
||||
<entity identifier="nitro" name="@string/premium" />
|
||||
<entity identifier="voice" name="@string/voice_settings" />
|
||||
<entity identifier="friends" name="@string/friends" />
|
||||
<entity identifier="mentions" name="@string/mentions" />
|
||||
<entity identifier="quickSwitcher" name="@string/quick_switcher" />
|
||||
<entity identifier="createServer" name="@string/create_server_button_action" />
|
||||
</entity-set>
|
||||
</actions>
|
6
com.discord/res/xml/file_paths.xml
Normal file
6
com.discord/res/xml/file_paths.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<paths>
|
||||
<external-path name="Discord" path="." />
|
||||
<external-path name="Discord-Dev" path="." />
|
||||
<files-path name="files" path="." />
|
||||
</paths>
|
4
com.discord/res/xml/image_share_filepaths.xml
Normal file
4
com.discord/res/xml/image_share_filepaths.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<paths>
|
||||
<files-path name="image_provider_images" path="image_provider/" />
|
||||
</paths>
|
8
com.discord/res/xml/shortcuts.xml
Normal file
8
com.discord/res/xml/shortcuts.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shortcuts
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<share-target android:targetClass="com.discord.app.AppActivity$AppAction">
|
||||
<data android:mimeType="*/*" />
|
||||
<category android:name="com.discord.intent.category.DIRECT_SHARE_TARGET" />
|
||||
</share-target>
|
||||
</shortcuts>
|
2
com.discord/res/xml/standalone_badge.xml
Normal file
2
com.discord/res/xml/standalone_badge.xml
Normal file
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<badge app:maxCharacterCount="2" xmlns:app="http://schemas.android.com/apk/res-auto" />
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<badge app:badgeGravity="BOTTOM_END" app:maxCharacterCount="2" xmlns:app="http://schemas.android.com/apk/res-auto" />
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<badge app:badgeGravity="BOTTOM_START" app:maxCharacterCount="2" xmlns:app="http://schemas.android.com/apk/res-auto" />
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<badge app:badgeGravity="TOP_START" app:maxCharacterCount="2" xmlns:app="http://schemas.android.com/apk/res-auto" />
|
2
com.discord/res/xml/standalone_badge_offset.xml
Normal file
2
com.discord/res/xml/standalone_badge_offset.xml
Normal file
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<badge app:horizontalOffset="10.0dip" app:maxCharacterCount="2" app:verticalOffset="5.0dip" xmlns:app="http://schemas.android.com/apk/res-auto" />
|
Loading…
Add table
Add a link
Reference in a new issue