Is there a way to delete notifications from Discord when deleting a message? I have an "anonymous" command that lets a user type a message and deletes that message instantly, after which the bot sends the message. The problem is that a notification is still sent and everyone on mobile or active on pc will be able to see the author. Can I delete the notification or prevent it?
No, I'm pretty sure that notifications can not be deleted.
You cannot delete the notification, but you can configure the server so that by default users will not receive a notification if they are not explicitly mentioned in that message.
Your server> Server settings> Overview> Default notification settings> Only #mentions
Related
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.)
I am getting 412 Gmail_API: Request had insufficient authentication scopes while trying to configure service in Email JS. Also, receiving the same error while sending email using React.js library.
Below is the screenshot of the error.
Image displaying error while adding service
I had the same and submitted the question, their answer was:
"To solve this problem, you need to go to EmailJS dashboard -> Services, click on the Gmail service in your list, and reconnect your account. Please click on the checkbox "Send email on your behalf" to allow us to send the emails through your Gmail account. The new Gmail access popup leaves all permissions disabled by default."
Had to disconnect and re-connect my email address:
Go to emailJS dashboard and select "Email Services" on the top left
Clicked on the service that is getting the error in your list of email services and select "Disconnect" next to your connected email address
Then select "Connect Account" to reconnect your email address (I'm using gmail) and finish by clicking "Update Service"
That solved the issue for me, best of luck!
Piggy backing off of what abo mentioned, the error may also arise because it was your first operation via EmailJs.
I also got the 412 status code. I logged error.text from the emailJS.sendForm() call and got this:
"Gmail_API: Invalid grant. Please reconnect your Gmail account"
Ksenia's answer was the fix for me as well. If you're curious as to why it's happening see this post.
In my case it was due to my account being inactive for 6 months.
Just repeat the process, when you get the notification that emailjs has found n-number services with your email already click done then proceed and click continue. this worked for me.
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
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.
If i set up a nagios alert notification escalation definition, is it possible to somehow tell nagios to pause escalation while someone who's notified earlier tries to fix the problem?
e.g. if the web server starts flapping but someone tries to fix it, there's no need to notify people further up the chain.
Thanks
You can use Acknowledge this service problem command on the service's page.
This command is used to acknowledge a
service problem. When a service
problem is acknowledged, future
notifications about problems are
temporarily disabled until the service
changes from its current state. If you
want acknowledgement to disable
notifications until the service
recovers, check the 'Sticky
Acknowledgement' checkbox. Contacts
for this service will receive a
notification about the
acknowledgement, so they are aware
that someone is working on the
problem. Additionally, a comment will
also be added to the service. Make
sure to enter your name and fill in a
brief description of what you are
doing in the comment field. If you
would like the service comment to
remain once the acknowledgement is
removed, check the 'Persistent
Comment' checkbox. If you do not want
an acknowledgement notification sent
out to the appropriate contacts,
uncheck the 'Send Notification'
checkbox.
For more information, see http://www.bulletproof.net.au/Tutorials/How-to-acknowledge-an-alert.aspx