possible message intent alternative
I've thought about an alternative for privilege message intent, the latters being quite frightening.
What if, insteed of making a privilege intent, Discord can turn this into a permission?
Like, if you don't want the bot to read your message, turn off their view_messages permission? the bot would be no longer receive the "content" of messages. This way, you can let your trusted bot receive the "content".
it's only a suggestion which can be addapted as you like Discord ^^.
Have a nice day.
-
An intent allows you to start an activity in another app by describing a simple action you'd like to perform (such as "view a map" or "take a picture") in an
Intentobject. This type of intent is called an implicit intent because it does not specify the app component to start, but instead specifies an action and provides some data with which to perform the action.When you call
startActivity()orstartActivityForResult()and pass it an implicit intent, the system resolves the intent to an app that can handle the intent and starts its correspondingActivity. If there's more than one app that can handle the intent, the system presents the user with a dialog to pick which app to use.This page describes several implicit intents that you can use to perform common actions, organized by the type of app that handles the intent. Each section also shows how you can create an intent filter to advertise your app's ability to perform the same action. regards - TitaniumTV
Get clear guide on https://developer.android.com/guide/components/intents-common
Intents allow us to communicate data between Android apps and implicit intents can also accept actions. One of those actions is the
ACTION_SENDcommand which indicates we want to send data across apps. To send data, all you need to do is specify the data and its type, and the system will identify compatible receiving activities and display them to the user.Sending and receiving data between applications with intents is most commonly used for social sharing of content. Intents allow users to share information quickly and easily, using their favorite applications
-1
Yorum yazmak için lütfen oturum açın.
Yorumlar
1 yorum