Is it possible to have multiple bots on a single kik account? - kik

I have one bot already on my Kik account, but can't see a way to add more bots to the same account.
Does anyone know if this is even possible?

There is a way to create additional bots! It's not possible to do it via the admin pages., you just have to ask Botsworth!

Related

discord.py | Access user's connections via an individual OAuth link

Excuse me if I missed something and this is a duplicate, other QA's still left me with some questions.
I wanted to see if it was possible for my bot to access user connections (Steam acc, Reddit, etc.) so that the user can use a command to enable notifications in a specific channel, so that it would promote when they publish a video.
I've found similar bots, but they all required manual entering and they were admin-only.
I've found that it is NOT possible to directly access them (and rightfully so):
Unfortunately this is not possible when using a "real" bot account, however it is possible if you're using a user bot account.
I'd suggest a workaround of using OAuth2. You could have users authenticate your bot with OAuth2, and then fetch their connections this way. Some more information at https://discordapp.com/developers/docs/topics/oauth2
(Link: https://stackoverflow.com/a/44265167/16255372)
But that last statement about OAuth really got me wondering.
If it is required for each user to authenticate via a link, that is an acceptable compromise for me.
On the discord developers website, I've found a connections scope which would allow the bot to access the connections of the user that authenticated via the link.
I also found a url for getting the user's connections here
Get User Connections
GET /users/#me/connections
Returns a list of connection objects. Requires the connections OAuth2 scope.
But on other sources, I've seen that the scope is inaccessible to bots.
Furthermore, I don't see connections accessible in discord.py, which is what I use.
So my question is + TL;DR:
Is it possible to access the user's connections, even if they each have to click on an oauth link
(connections scope)
Would this be possible using discord.py?
(potentially using discord.ClientUser?)
Thank you for reading, I am also a new contributor. If you feel that I missed something or could elaborate or explain things better, please let me know how I could improve my question.
Is it possible to access the user's connections, even if they each have to click on an oauth link (connections scope)
YES (only possible using OAuth).
Would this be possible using discord.py? (potentially using discord.ClientUser?)
Unfortunately, no. Discord.PY does not support OAuth. You would have to do it yourself by creating a Web Application etc.

How can I program a bot to check to see if a user is on a specific website?

I have an official Discord server for a game and I want this bot to check to see if the user is on the game's website; if they are, they are given the role 'Currently Playing'; and when they come off the site, the role is removed.
I don't know if this is possible, but this would be extremely useful for so many people.
I don't think it will be possible without asking for more information, by design. It would be a privacy issue if you could.
Theoretically you could do it by having them type their username for the game or steam or whatever into the chat like
/gamebot #myusername
Now your bot could read that and now associate the discord account with the gamer account. You would then need an API from the game that's shows who is active and the bit can now know.
My interpretation of this question is that
If a player is on OnYourWebsite.com
It would say in their roles playing OnYourWebsite
This wouldn't really be possible unless you own the website or you are developing it. You could do this by using the Discord API this will let you create a discord sign in option.
Correct me if I am wrong,
but to directly check if a User is on a Website, you need the User´s IP address.
And you can´t get a Member´s IP address on Discord.
Another way could be rich presence, I know there are Rich Presences for Websites like YouTube, but I don´t know how they work.
Here is an example:
https://github.com/PreMiD/PreMiD
You need to install a Addon and install a program.
In this case, the Server Members would have to install a Addon and download a Programm , which you would have to program.
But, I dont know more about this topic.
This is all I have got.
(I would have commented this, but I don´t have enough reputation.)

How to recover Gmail Id from the API key

I created a Gmail account for development and enabled the APIs for developer console. I generated one API key which I used in my application but now I forgot the Id that I used. I have to upgrade the plan for APIs but for this, I need the Gmail Id. Is there any way I can get the Id?
Ok, So after I have tried different options I was standing in the same position. So I dig all into my accounts and luckily my recovery email id was one of them, so I searched for all the emails from Google having the subject as Security your linked Google Account and sender as no-reply#accounts.google.com this will give you all the Ids associated with it.
The only workaround to fix the issue is to contact "Google API support team"
Just Go to the given link and raise your issue. They will assist you further steps to follow. https://support.google.com/googleapi/?hl=en#topic=7014522
I hope this will help you :)

Google-oauth2 authorization process

To can consume Gmail api, application needs to be authorized by the owner of the gmail account, providing his consent:
https://developers.google.com/gmail/api/auth/about-auth
My question is: is there any way to avoid ask the user for his consent? My aim is get the credentials to use Gmail Api just using username / password of target gmail account.
Do you mean you want your application to store the username and password and then use them to access user data? If so, then no, you must obtain authorization from the user (at least once) in order to use the API. And it's a good thing, too, for the sake of security!
Or, do you mean that you're just trying to access your own account? Even then, you need to authorize yourself, because Google doesn't know who is running your code.
Is there a reason you don't want to go through the authorization process? Knowing that might provide some insight into your question for anyone who tries to answer it.
To rephrase the question: "How can I bypass the whole process of 2 factor authorization?"
Answer: "Please do let us know if you manage it ... or report it to Google for a bug bounty, 'cause you're not supposed to be able to do so."

How to send email from noreply#mydomain.com with GAE?

mydomain.com is Google Apps linked to my GAE application (and verified). Currently only one user is allowed at custom domains, so I've registered admin#mydomain.com. Now, I would like to send emails from noreply#mydomain.com. I try to add this user as Developer in Permissions section of my GAE application, it sends the message (which I actually receive at admin#mydomain.com), I accept the invitation as admin#mydomain.com, but it doesn't help.
So, how to send emails from noreply#mydomain.com?
You can enable the trial (lasts for 30 days) and add as many users as you want. You can send emails to them to accept the invitations in GAE and after accepting them you can delete these users to fall back in the free version with only one user.
I have not been able to test the below, as I don't have the new single account Google Apps.
It all depends on if you still want the admin#domain.com user. If not I suggest the following;
For safety link a non-domain email as an owner to your App Engine application
Rename your current Google Apps user from admin to noreply
You should be able to send emails as noreply#domain.com.
If you still want admin#domain.com, maybe you can create an alias for the noreply account?

Resources