Unity C# discord SDK how to get use guilds - discord

I am struggling with something that I thought would be basic. I am using Unity Discord SDK.
I am able to get user information... from there I can not get the guilds "server" that user belongs too.. no where I can find the property guilds.. see what I have:

Related

Cannot find discord bot after successfully authorizing

I am new to creating a discord bot. I hope you can all give me a good solution to my problem.
I tried to create a bot for a company's server and followed a free guide. I had one problem when adding the bot to the server.
I got a message that the authorization succeeded but I cannot find the bot on the server. The guide clearly mentioned that I can find an offline bot. So I created my own discord server and tried again. OMG, it went well.
What's the problem?
Should I change the discord server setting? If yes, which option?
I think that the server settings are done in the way that the bot does not have a permissions to be in the channel you are trying to find it in. If you have admin permissions take a look into User management in server settings if the bot did or did not join and if it did, give it some permissions so that it has an access to the channel you want to see it in.
(On the right panel you see member of the channel you are currently clicked onto not the entire server.)

Can I create an app or a bot in discord that send messages as it was me?

I want an app/bot that reads the last message that were sent to a specific channel on a server that I participate and depending on the text I want to send a message to that same channel. The thing is, I want to do it in my name, not using a bot id. I know that you can create a bot using your own name and avatar but what I really want is to send a message using my own account. Is that possible? Could not find anything like that in the docs, maybe a missed something?
I do not think you are even allowed to do this so I doubt the discord API would have support for this
Discord Guidelines
"Do not use self-bots or user-bots. Each account must be associated with a human, not a bot. Self-bots put strain on Discord’s infrastructure and our ability to run our services. For more information, you can read our Developer Policies"
However, if you really wanted to do this you could use a macro at the risk of getting your account banned by discord if they found out. You could create a macro in python using the pyautogui module.

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.)

Kik bot able to join a group

I've been playing with the REST API for writing kik bots and it seems very straightforward to do powerful things.
The kik bot I'm familiar with is RAGE, and that has a feature that when talking to it you send it 'friend' command and it responds by being your friend, which makes it able to be invited into a group you're in.
My question is, what API call is being made by the bot when it receives a 'friend' command. My test bot can't be invited to a group and I'd like it to be able to.
Feels like I'm missing a bunch of logic but not sure what - anyone assist?
Rage bot does not use official kik api Rage bot is not a bot account from kik, It's an user account. Hence It's a self bot. There is an open source python library that allows you to turn an user account into a Bot and Rage bot uses that exact same api you can find the github page here

Giving access to others on new GAE console

With old GAE console you could invite others to join a project as owner or developer. Recently this option is moved to the new cloud console.
I used to use the old console to get access to client's so I can deploy application and make changes to it. The process involved with login into the project and inviting the new user. Then an email was sent to the new user and after he/she accepts the invite he/she could access this application directly from his/her console at appengine.google.com.
I tried the same process with the new changes couple of days ago, logged in into the new project and from the permission menu added myself to the project. However no email was sent to me and I still don't see this new application in my console!
Interestingly enough if I go to https://console.developers.google.com/project I see this new project there is no logs or data-objects listed. If I go to appengine.google.com I won't see this project and that's where I can go to application's console!
Not sure what's going on, has anyone seen this? Is there something I'm doing wrong?
Amir
I found the issue!
If you add a new project via appengine.google.com (old way) the application won't show up under Compute/App Engnie section of console.developers.google.com as simple as that.
The proper way to get all functionality is to add the new project using the console and then use the permission to add others.
It's strange and I couldn't find any documentation that explains it but I've tested and resolved my own issue this way. Hope this helps others.
Amir

Resources