citation_station
A Discord bot that will send a quote to your server every morning
Science Score: 18.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.5%) to scientific vocabulary
Keywords
discord
discord-py
poetry
python
quote
Last synced: 6 months ago
·
JSON representation
·
Repository
A Discord bot that will send a quote to your server every morning
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
discord
discord-py
poetry
python
quote
Created about 3 years ago
· Last pushed over 2 years ago
Metadata Files
Readme
Citation
README.md
Citation Station
A Discord bot that will send a quote to your server every morning
In its current form Citation Station will send a random quote to the channel specified in the env variable. It is a task that runs every 60 minutes and only fires when the current hour matches the HOUR_TO_SEND variable.
Roadmap
- Add database
- Support choosing channel
- Set timezone and time to send
/quotecommand to send a random quote- Add more quote sources
Getting started
- Make sure python is installed
- Install poetry
- Run
poetry install - Create an application through the Discord developer portal and get yourself a token
- Add this application (the bot) to your server. You need to make sure it has the
Send messagespermission
- Add this application (the bot) to your server. You need to make sure it has the
- Create an
.envfile based off.env.exampleand fill out the values - Install the depenencies with your package manager of choice
- Run either
python -m citation_stationorpoetry run python -m citation_station
Owner
- Name: James Cameron
- Login: desruc
- Kind: user
- Location: Brisbane, Australia
- Company: @OctopusDeploy
- Repositories: 4
- Profile: https://github.com/desruc
Citation (citation_station/__init__.py)
from dotenv import load_dotenv load_dotenv() # take environment variables from .env.
GitHub Events
Total
Last Year
Dependencies
.github/workflows/dockerhub.yaml
actions
- actions/checkout v3 composite
- docker/build-push-action ad44023a93711e3deb337508980b4b5e9bcdc5dc composite
- docker/login-action f054a8b539a109f9f41c372932f1ae047eff08c9 composite
- docker/metadata-action 98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 composite
Dockerfile
docker
- python 3.11.1-slim-bullseye build
poetry.lock
pypi
- aiohttp 3.8.3
- aiosignal 1.3.1
- apscheduler 3.9.1.post1
- async-timeout 4.0.2
- attrs 22.1.0
- charset-normalizer 2.1.1
- discord-py 2.1.0
- frozenlist 1.3.3
- idna 3.4
- multidict 6.0.3
- python-dotenv 0.21.0
- pytz 2022.6
- pytz-deprecation-shim 0.1.0.post0
- setuptools 65.6.3
- six 1.16.0
- tzdata 2022.7
- tzlocal 4.2
- yarl 1.8.2
pyproject.toml
pypi
- apscheduler ^3.9.1.post1
- discord-py ^2.1.0
- python ^3.11
- python-dotenv ^0.21.0
docker-compose.yml
docker