-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also move constants to bot.env
- Loading branch information
Showing
8 changed files
with
674 additions
and
8 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#Telegram bot token of the bot | ||
VAALILAKANABOT_TOKEN= | ||
|
||
#Telegram's numeric chat id of the admin chat | ||
ADMIN_CHAT_ID= | ||
|
||
#Base URL of the Discource server | ||
BASE_URL= | ||
|
||
#Full URL of the JSON file of the Discource introduction area | ||
#Example: https://fiirumi.fyysikkokilta.fi/c/vaalipeli-2024/esittelyt/l/latest.json | ||
TOPIC_LIST_URL= | ||
|
||
#Full URL of the JSON file of the Discource questions area | ||
#Example: https://fiirumi.fyysikkokilta.fi/c/vaalipeli-2024/kysymykset/l/latest.json | ||
QUESTION_LIST_URL= | ||
|
||
#All roles in the board, separated by a comma | ||
#If some role contains a space, wrap the roles inside quotation marks | ||
BOARD= | ||
|
||
#All other elected roles, separated by a comma | ||
#If some role contains a space, wrap the roles inside quotation marks | ||
OFFICIALS= |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[129198779, 103954310] | ||
[] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"15": {"id": 15, "title": "Alueesta Vaalipeli 2019: esittele itsesi!", "slug": "alueesta-vaalipeli-2019-esittele-itsesi"}} | ||
{} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"16": {"id": 16, "title": "Alueesta Vaalipeli 2019: esit\u00e4 kysymyksi\u00e4!", "slug": "alueesta-vaalipeli-2019-esita-kysymyksia"}} | ||
{} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"Puheenjohtaja": [{"name": "Patrik Lahti", "position": "Puheenjohtaja", "fiirumi": "https://fiirumi.fyysikkokilta.fi/t/patrik-lahti-puheenjohtajaksi-2020-for-president-2020/59", "valittu": true}], "Varapuheenjohtaja": [], "Rahastonhoitaja": [], "Fuksikapteeni": [], "IE": [], "Hupimestari": [], "Viestint\u00e4vastaava": [], "Kv-vastaava": [], "Yrityssuhdevastaava": [], "Opintovastaava": [], "ISOvastaava": [], "Jatkuvuustoimikunnan puheenjohtaja": [], "Excumestari": [], "Lukkarimestari": [], "Kvantin p\u00e4\u00e4toimittaja": []} | ||
{"Puheenjohtaja": [], "Varapuheenjohtaja": [], "Rahastonhoitaja": [], "Fuksikapteeni": [], "IE": [], "Hupimestari": [], "Viestint\u00e4vastaava": [], "Kv-vastaava": [], "Yrityssuhdevastaava": [], "Opintovastaava": [], "ISOvastaava": [], "Jatkuvuustoimikunnan puheenjohtaja": [], "Excumestari": [], "Lukkarimestari": [], "Kvantin p\u00e4\u00e4toimittaja": []} |
Oops, something went wrong.