Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sswangg/the-warden
A Discord bot written in python
https://github.com/sswangg/the-warden
bot discord discord-bot discord-py discordbot discordpy
Last synced: about 1 month ago
JSON representation
A Discord bot written in python
- Host: GitHub
- URL: https://github.com/sswangg/the-warden
- Owner: sswangg
- License: mit
- Created: 2021-07-15T03:37:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-14T00:39:06.000Z (about 2 years ago)
- Last Synced: 2023-04-29T08:49:38.614Z (almost 2 years ago)
- Topics: bot, discord, discord-bot, discord-py, discordbot, discordpy
- Language: Python
- Homepage:
- Size: 3.13 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About
The Warden is a custom Discord bot who's main feature is the ability to give users a pre-set role and automatically remove it after a timer runs out, which was useful for operating a time-out system in the server The Warden was developed for. During time-out, users would be restricted to talking to the moderators.Other features:
- Join a voice channel, and play Rick Astley's "Never Gonna Give You Up"
- Webscrape for data on Covid-19 cases in Washtenaw County
- "Snipe" the most recently deleted message
- Features can be toggled on and off## Setup
Information on making a bot account can be found in the [discord.py documentation](https://discordpy.readthedocs.io/en/stable/discord.html). Once you've done that:
Clone the repo
```console
$ git clone https://github.com/sswangg/the-warden.git
$ cd the-warden
```Create a file named `.env` with your token in the same directory as main.py
```
# .env
DISCORD_TOKEN=your-bot-token
```Create a virtual environment and activate it
```console
$ python3 -m venv .
$ source bin/activate
```Install dependancies
```console
$ pip3 install -r requirements.txt
```And start The Warden
```console
$ python3 main.py
```## Contributing
List of features to implement:
- Play music from YouTube playlists
- Track covid cases in AAPS specfically
- Display the current uptime## License
[MIT](https://choosealicense.com/licenses/mit/)