put error fixes from install script into wiki #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Close issue | |
on: | |
issues: | |
types: [closed] | |
env: | |
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }} | |
CHAT_GPT_TOKEN: ${{ secrets.CHAT_GPT_TOKEN }} | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
pip install -U discord.py | |
pip install openai | |
python .github/discord_bot.py ${{ github.event.issue.number }} | |