Discord direct message limit rate - discord

I just used discord API (discord.js) to send 45 direct messages to 45 users. Then I got this message from my developer panel:
Bot Quarantined
Your bot has been flagged by our anti-spam system for abusive behavior. While your bot is quarantined, it is unable to join any more guilds, or send any direct messages to users it has not messaged before. If you believe this to be in error, click here and select "Appeal an Action Trust and Safety took on my bot" as the Report Type to submit an appeal.
How can I fix this issue and make my bot normal again? And I want to know how to queue my direct messages for not getting ban by discord. something like 2 messages per minute or ...? Thanks

Related

No discord bot status

How can I make a discord bot have no status like not be in online, idle, invisible, do not disturb just no status some bots have that and I'm curious how its done my bots also in discord.js
I keep trying multiple times but it doesn't work I also can't find any way in the guides to do this.
These bots run through the application webhook and do not connect through the main Discord gateway. You must therefore respond to slash commands or other interactions exclusively through the application webhook - note that this excludes the events from being sent to the gateway. If your bot responds to events such as messages, reactions, or members joining, you have to set your status to offline.
See the following tutorial from the Discord API docs: https://github.com/discord/discord-api-docs/blob/main/docs/tutorials/Hosting_on_Cloudflare_Workers.md

Discord.js - My bot is unable to send messages in one specific channel, and has no problem in other channels

I have a Discord bot programmed in Discord.js and it works absolutely fine for sending messages in any channel it can access.
However, on one specific channel on one specific server, it is unable to send messages, react, or do anything at all. The bot has Administrator-level access and I have gone in and checked every single permission on, and yet it still doesn't work.
Any ideas on how to troubleshoot this?
So, based on what's provided, I can't really give a concrete answer -- especially without an error message. However, I can take guesses. So here's my biggest guess:
How are you fetching the channel? Are you using the GuildChannelManager#fetch() method, or are you using the GuildChannelManager#cache.get() method (guild.channels.fetch or guild.channels.cache.get)?
Are you getting it by name, ID, etc.? If by name, ensure you've got only one channel with that name, and that you're fetching the channel from the guild, not the client. If by ID, ensure you're using the correct ID.

Can Discord Bot have a notification SFX?

I created a Discord Bot that sends a reminder for the team every hour or so. I want it to produce a new message SFX just like the tone for when someone in the channel sends a message.
Do you know if I can code a notification SFX to my Discord Bot? If yes, can you send me the link to a source code.
From my knowledge I do not think you can do that, I am not sure if it against TOS or not but yeah, if you want to do it just from the bot then no.

How to make a discord bot to auto send messages?

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.

Make it so that a someone cannot react to a discord message until a channel has been deleted

So basically I have a support bot that creates a channel when someone reacts that only staff have access to. In order to prevent abuse I want to make it so that a new channel channel cannot be created by the same person unless the a previously open channel is deleted.
Give your bot access to the AuditLogs will allow you to see who is creating the channels but I suspect that's not gonna help because the bot will be the one creating and deleting the channels, for the discord server he is the owner of the action.
Maybe the only way is to store in the bot code a map of the channel id and his owner (user that typed the command). With this every time a user try to create a new channel you can check on your map if there is any channel active for that user and if there is show some kind of error message.

Resources