Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/batteredbunny/discord_history_search

Searches discord server for mention of keywords
https://github.com/batteredbunny/discord_history_search

discord search

Last synced: 21 days ago
JSON representation

Searches discord server for mention of keywords

Awesome Lists containing this project

README

        

# Discord History Search
Searches discord server for mention of keywords

# How to use?

First install required python modules

```
python -m pip install -r requirements.txt
```

You also need [geckodriver (firefox)](https://github.com/mozilla/geckodriver/releases) installed

```
from discord_search import search
```

```
search(1234567891234567891, 'Example search', 'months', '2018-2-1', '2021-6-23')
```

You can also search by days, so that would be

```
search(1234567891234567891, 'Example search', 'days', '2018-2-1', '2021-6-23')
```

# .env
.env should have all of your discord login information and ratelimit time

```
LOGIN="[email protected]"
PASSWORD="password"
RATELIMIT=0.01
```