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
Related
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.
Can a Discord bot invite other bots? Can Discord bots automatically accept invites they get in a DM? How would one go about doing this?
Is it possible to make a bot that accepts invites, or do bots have to be invited themselves.
No, this is not possible.
Users must invite the bot themselves to join the server. I'm not sure I understand the use case here, because users can get similar functionality by simply inviting the bot.
To generate an invite link, start by heading to the Discord developer portal.
Then, head to the "OAuth2" tab:
Scroll down and find the URL generator. You'll need to select the following:
Generally you'll want to calculate the permissions, but this will work for now.
Now, if you want users to invite your bot, you just need to share them this link!
Is it possible to make a bot to automatically message people in my friends list or everyone from a specific server where i'm not an administrator? Where would i start, i know some Python but never worked with Discord bots, i was thinking this shouldn't be too hard as a first one?
I know i've received various messages / adveritsements from people on discord that i wouldn't think are admin on any server i'm on. Unless its done manually?
If you are wanting to write your own Discord bot in python, have a look at discord.py, follow the tutorial which will show you how to write simple commands and automated responses.
Is it possible to make a bot to automatically message people in my friends list or everyone from a specific server where i'm not an administrator?
You must have the required permissions to add the bot to the discord server. A role with 'regular' permissions will typically not allow you to do this. Additionally you can only have discord bots bound to a server, so a 'personal' bot that follows you around different servers is not really feasible.
I think what you're talking about is a self bot, which is against the Discord TOS and will likely get your account banned. If you want to get a bot on a Discord Server you'll have to ask an administrator.
How are discord bots online? Is there any API call I need to do to make my bot online? I just want to use the API, I don't want to use any libraries.
As far as I know about the Discord bot, I know this is not possible.
When you make a disc bot, it looks like a member. The only difference is that a series of features such as having a bot verification and having a dedicated roll.
Discord gives you a bot token that can be used to control the bot and enter the bot. You can write a code that keeps the bot online.
This was my information about the Discord bot. I may be wrong and someone may have more accurate and useful information.
I am an admin for a small group discord server we use for among us. when playing between games we need to batch mute a whole voice channel as a lot of users in the voice channel cannot use push to talk. would it be possible to create a bot to batch mute all users in a voice channel, without affecting other channels (we sometimes have 2 simultaneous games) without having to go in, right-click a user & select server mute?
As a side note, I do not want to use any mute roles as a solution because any new role permissions only come into effect after a user leaves and rejoins a voice channel (which would not be possible for users on phones, needing to stay on the among us app)
I am very new to discord adminning (is that a word?) and have no prior bot experience but if there is any simple bots to add to the server it would help.
Thanks for any help!
This is indeed possible. You will first need to narrow down what
language you're interested in working with for this bot (I recommend
Python, Javascript also works well)
The documentation for Discord.py is extremely good. If you're
comfortable with Python, I'd say just jump right into it.
discordpy.readthedocs.io/en/latest/#documentation-contents You can
just skip the "Migrating to v1" section because it's not applicable to
you. You'll also want to actually make the Bot account:
discordpy.readthedocs.io/en/latest/discord.html
There are also no shortage of youtube tutorials for Discord.py. I've
never seen one I thought did well but they might help you understand
the basic structure of a bot script before you start searching the
API.
– Allister