- /msg [user] [message]
Send someone a message. example: !msg @DynoW You are the best!
- /msg @Bot DM [message]
(Admin only) Announce everyone on the server about something. example: !msg all Ntza
Requirements: python3
Dependencies: discord, python-decouple
> Clone repo: git clone https://github.com/DynoW/botfordms.git
> Change directory: cd botfordms
> Intall dependencies: pip install -r requirements.txt
> Create a .env file (example file: .env_sample): echo "DM_BOT_TOKEN=YOUR_TOKEN_HERE" > .env
> (Optional) Additionally create a venv: python3 -m venv venv
and activate: . venv/bin/activate
(Linux) or . venv/bin/Activate.ps1
(Windows)
> Run! python3 Bot.py
or nohup python3 Bot.py >> log.txt 2>&1 &
for background use