Send private message to Discord user using bash and linux AT command

0 votes
I'm running a Discord bot written in Python nohup python3 ./bot.py &. With this bot you can schedule a task which has to run only once. I'm executing bash from Python to schedule a script to run at a certain time. This works.

I want to send the user a private message in Discord that the command has been executed. I can't think a way how to send the user a private message after the bash command has been executed. I know the username of the user because its part of the scheduled job.

My question: what is the best way to send a user a message using bash? If possible..
Apr 25, 2022 in Linux Administration by Edureka
• 13,690 points
1,293 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Linux Administration

0 votes
1 answer

redirecting stdout and stderr to file using bash

cmd >>file.txt 2>&1 Bash always executes and redirects ...READ MORE

answered Mar 19, 2019 in Linux Administration by ajs3033
• 7,300 points
22,388 views
0 votes
1 answer

How to send mail using linux shell script?

If you've already configured the server, with ...READ MORE

answered Jun 11, 2019 in Linux Administration by ajs3033
• 7,300 points
1,239 views
0 votes
1 answer

To attach a file using mail command on Linux

$ echo | mutt -a syslogs.tar.gz admin@domain.org READ MORE

answered Jun 28, 2019 in Linux Administration by Upasana
• 8,620 points
2,875 views
0 votes
1 answer

What is the linux command to find Memory and CPU usage in percent for last 30 days?

Try the following: Cat proc/meminfo top top -i less /proc/memin ...READ MORE

answered Oct 14, 2020 in Linux Administration by Kim
2,531 views
0 votes
1 answer

How to create HTTP user using htpasswd command?

Hi@akhtar, Htpasswd command is available in the Linux ...READ MORE

answered Dec 2, 2020 in Linux Administration by MD
• 95,460 points
1,251 views
0 votes
0 answers

How to create user in linux by providing uid and gid options?

I have 2 linux machines. On one ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,690 points
846 views
0 votes
0 answers

How to attach a file using mail command on Linux?

I'm on a server running a Linux ...READ MORE

Apr 26, 2022 in Linux Administration by Edureka
• 13,690 points
858 views
0 votes
1 answer

How to take input from user in bash script?

You can use if-else branch to check ...READ MORE

answered Jan 31, 2019 in Linux Administration by Omkar
• 69,220 points
1,153 views
0 votes
2 answers

how to loop through the content of a file using bash

#!/bin/bash for i in  `cat peptides.txt` do echo $i done READ MORE

answered Sep 5, 2020 in Linux Administration by Prakash K. Aithal
3,014 views
0 votes
1 answer

Access Denied to user root@localhost while using mysql

For MySQL versions < 5.7: the default root ...READ MORE

answered May 13, 2019 in Linux Administration by DareDev
• 6,890 points
3,811 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP