Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/batteredbunny/discord_history_search
- Owner: BatteredBunny
- License: gpl-3.0
- Created: 2021-06-23T12:46:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-23T13:07:30.000Z (over 3 years ago)
- Last Synced: 2024-01-07T02:06:35.180Z (10 months ago)
- Topics: discord, search
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```