https://github.com/toddbirchard/shibabot
:dog2: :space_invader: Chatbot for Discord
https://github.com/toddbirchard/shibabot
chatbot discord discord-bot python python3
Last synced: 11 months ago
JSON representation
:dog2: :space_invader: Chatbot for Discord
- Host: GitHub
- URL: https://github.com/toddbirchard/shibabot
- Owner: toddbirchard
- Created: 2020-05-09T13:12:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-26T06:24:02.000Z (almost 2 years ago)
- Last Synced: 2025-04-14T09:58:02.506Z (about 1 year ago)
- Topics: chatbot, discord, discord-bot, python, python3
- Language: Python
- Homepage:
- Size: 942 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shibabot




[](https://github.com/toddbirchard/shibabot/issues)
[](https://github.com/toddbirchard/shibabot/stargazers)
[](https://github.com/toddbirchard/shibabot/network)
## Commands
* `!giphy [param]`: Fetch a gif from Giphy.
* `!stock [param]`: 30-day performance chart for a given stock ticker symbol.
* `!crypto [param]`: 60-day performance chart for a given cryptocurrency symbol.
* `!wiki [param]`: Fetch Wikipedia summary of a given topic.
* `!imdb [param]`: Fetch movie summaries, ratings, and box office performance.
* `!urban [param]`: Get definition from UrbanDictionary.
* `!weather [param]`: Return temperature and weather per city/state/zip.
## Getting Started
### Installation
Install and run this bot via simple Makefile commands:
```shell
$ git clone https://github.com/toddbirchard/shibabot.git
$ cd shibabot
$ make install
$ make run
```
### Configuration
Replace the values in **.env.example** with your values and rename this file to **.env**:
* `ENVIRONMENT`: Set to either `development` or `production` for logging purposes.
* `DISCORD_TOKEN`: Secret API token.
* `DISCORD_CHANNEL_1`: Server name for bot to join.
* `DISCORD_CHANNEL_2`: Additional server name for bot to join (optional).
* `GIPHY_API_KEY`: API key secret for fetching Giphy images.
* `IEX_API_TOKEN`: API key secret for fetching stock data.
* `ALPHA_VANTAGE_API`: API key secret for fetching crypto data.
* `PLOTLY_API_KEY`: Plotly chart studio API key.
* `PLOTLY_USERNAME`: Plotly user to generate charts via Plotly studio.
* `WEATHERSTACK_API_KEY`: API key for fetching weather data.
*Remember never to commit secrets saved in .env files to Github.*