How to make a discord bot to auto send messages? - discord

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.

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.

Can a Discord Bot Invite Other Bots?

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!

Copy Reactions To Discord Messages

We made a mistake on our Discord server by using a free tool for managing roles. I won't mention it by name. The tool doesn't allow us to edit the original embed that contains all of the emojis and associated roles. As well, Discord doesn't seem to allow you to edit another user's messages, even if you own the server. And that makes good sense.
So what we're left with is creating a new roles message that looks like the old one and adding the reactions to it. However, we don't want everyone to have to go back and redo their reactions since moving the message wouldn't do anything to their existing roles. We still want to be able to see who reacted to the original message, and preferably be able to transfer the original reactions. I would like to know if it is possible to copy the old reactions over to the new message. I kind of think that Discord won't allow it in keeping with the model that you can't do something that a user would do for themselves. But I thought I would ask here first.
Our server management bot is built using JDA and runs on a Linux server.
No it's not possible to transfer over Discord reactions to a different message.
Use better botsite that can edit embed message or bot message
you can create here: https://botghost.com/?invite=981659393298923621
Go to embed builder and try to make a new post there and read how to edit bot post that you posted using this botghost

How are discord bots online?

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.

Resources