An open API service indexing awesome lists of open source software.

https://github.com/dynow/botfordms

A discord bot to notify users trough direct messages announcements 🐱
https://github.com/dynow/botfordms

announcements discord discord-bot dms messages

Last synced: about 1 month ago
JSON representation

A discord bot to notify users trough direct messages announcements 🐱

Awesome Lists containing this project

README

        

## 😸 DM discord bot `@Bot DM#6773`
[![discord](https://img.shields.io/badge/discord-v2.2.3-blue)](https://pypi.org/project/discord/)
[![python-decouple](https://img.shields.io/badge/python_decouple-v3.8-orange)](https://pypi.org/project/python-decouple/)
### A discord bot for DM-ing users 😼

![Profile](https://raw.githubusercontent.com/DynoW/images/main/DM_bot_profile.png)

### Commands:
- /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

### How to install:
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

### For help contact: DynoW#9056. Enjoy! 🐱