Skip to content

tera1oo4/discord-sender

 
 

Repository files navigation

##Install PIP

curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt update
sudo apt install python3-pip nodejs npm
pip install -r requirements.txt

After that you need to install Docker

##Install nodejs dependencies

npm install

##Make image

docker build -t dsender .

##Run script single

HTTPS_PROXY=https_proxy=https://login:password@ip:port docker run \
    --net=host \
    -e DISCORD_TOKEN='discord_token' \
    -e 'DISCORD_CHANNEL_ID'='912053442397212712' \
    -e 'DISCORD_MESSAGE'='Hi' \
    -it dsender

##r run script as daemon

SNOOZE_TIME=3 npm run start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.4%
  • Python 40.1%
  • Dockerfile 5.1%
  • Shell 1.4%