Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ccrisc/stackoverflow-bot
A discord bot to search Stack Overflow questions
https://github.com/ccrisc/stackoverflow-bot
api bot python stackoverflow
Last synced: about 7 hours ago
JSON representation
A discord bot to search Stack Overflow questions
- Host: GitHub
- URL: https://github.com/ccrisc/stackoverflow-bot
- Owner: ccrisc
- License: other
- Created: 2022-05-05T22:39:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-14T14:16:02.000Z (about 1 year ago)
- Last Synced: 2024-11-13T04:30:55.791Z (2 months ago)
- Topics: api, bot, python, stackoverflow
- Language: Python
- Homepage:
- Size: 2.41 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
StackOverBot
A discord bot to search Stack Overflow questions written in Python.
## Preview
![](https://i.ibb.co/VWXPGW5/image-2022-05-07-202341359.png)
![](https://i.ibb.co/PG68bZm/image-2022-05-07-002807207.png)*Click the ⏭ to show the next question !*
## Built With / Interact with
* ![Py](https://img.shields.io/badge/Python-14354C?style=for-the-badge&logo=python&logoColor=white)
* ![Docker](https://img.shields.io/badge/Docker-2CA5E0?style=for-the-badge&logo=docker&logoColor=white)
* ![stack](https://img.shields.io/badge/Stack_Overflow-FE7A16?style=for-the-badge&logo=stack-overflow&logoColor=white)
* ![discord](https://img.shields.io/badge/Discord-7289DA?style=for-the-badge&logo=discord&logoColor=white)## Usage
Perform comunication with the discord API with : [Pycord](https://github.com/Pycord-Development/pycord)**Bot token can be stored in separated `.env` file in a `env` folder at the root of the repository**
## Docker 🐋
Build image using :
```
$ docker build -t stackoverbot .
```
Run container using :
```
$ docker run \
-d --restart unless-stopped \
-e DISCORD_TOKEN="your_token" \
-e DISCORD_DEBUG_GUILD="guild_debug_id" \
--name container_name \
stackoverbot
```
⚠ `DISCORD_DEBUG_GUILD` is not mandatory (This is to update the bot only in the specified server, avoiding to wait for change propagation)## Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "improvement".
Don't forget to give the project a star! Thanks again!## License
Distributed under [DBAD](https://github.com/philsturgeon/dbad). See `LICENSE` for more information.