aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-02-05 11:15:03 -0500
committerGravatar sco1 <[email protected]>2019-02-05 11:15:03 -0500
commitbd6f42ab1a5810be81e79de7223ea0067097e09e (patch)
tree2186a321e7f441fd73da2c924335ac605d087d65
parentMerge pull request #95 from python-discord/add-valentines-season (diff)
Add Lovefest configuration, update project documents
Add Lovefest role & channel IDs to bot constants Update environment variable name for seasonalbot (was hacktoberbot) Update Contributor doc to reference pipenv guide rather than the deprecated Seasonalbot GH wiki
-rw-r--r--CONTRIBUTING.md2
-rwxr-xr-xREADME.md2
-rw-r--r--bot/constants.py5
3 files changed, 7 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 58513c03..4161715e 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -34,7 +34,7 @@ All projects evolve over time, and this contribution guide is no different. This
## Supplemental Information
### Developer Environment
-Seasonalbot utilizes [Pipenv](https://pipenv.readthedocs.io/en/latest/) for installation and dependency management. For users unfamiliar with the Pipenv workflow, a [Pipenv Primer](https://github.com/python-discord/seasonalbot/wiki/Hacktoberbot-and-Pipenv) is provided in Seasonalbot's Wiki.
+Seasonalbot utilizes [Pipenv](https://pipenv.readthedocs.io/en/latest/) for installation and dependency management. For users unfamiliar with the Pipenv workflow, Pipenv's documentation provides a [Basic Usage](https://pipenv.readthedocs.io/en/latest/basics/) tutorial, along with some of the more advanced workflows.
### Logging levels
The project currently defines [`logging`](https://docs.python.org/3/library/logging.html) levels as follows:
diff --git a/README.md b/README.md
index 6227a36d..921e567f 100755
--- a/README.md
+++ b/README.md
@@ -56,7 +56,7 @@ We are going to want to choose a python config as below:
The first setting we need to change is script path as below (the start script may have changed from bot.py so be sure to click the right one
![](https://i.imgur.com/napKLar.png)
Now we need to add an enviroment variable - what this will do is allow us to set a value without it affact the main repository.
-To do this click the folder icon to the right of the text, then on the new window the plus icon. Now name the var `HACKTOBERBOT_TOKEN` and give the value the token we kept for safe keeping earilier.
+To do this click the folder icon to the right of the text, then on the new window the plus icon. Now name the var `SEASONALBOT_TOKEN` and give the value the token we kept for safe keeping earilier.
![](https://i.imgur.com/nZFWNaQ.png)
Now hit apply on that window and your ready to get going!
#### 5. Git in PyCharm
diff --git a/bot/constants.py b/bot/constants.py
index 4e09b448..9cb425f0 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -72,6 +72,11 @@ class Emojis:
check = "\u2611"
+class Lovefest:
+ channel_id = int(environ.get("LOVEFEST_CHANNEL_ID", 542272993192050698))
+ role_id = int(environ.get("LOVEFEST_ROLE_ID", 542313670223331329))
+
+
class Hacktoberfest(NamedTuple):
channel_id = 498804484324196362
voice_id = 514420006474219521