Skip to content

Commit

Permalink
Update Discourse_bot.py
Browse files Browse the repository at this point in the history
APIs cleared
  • Loading branch information
Reariuz authored Oct 24, 2024
1 parent 8f0805c commit 2963b37
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Discourse_bot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import os
DISCOURSE_API_KEY = os.getenv("DISCOURSE_API_KEY")
DISCOURSE_API_NAME = os.getenv("DISCOURSE_API_NAME")

from fluent_discourse import Discourse
client = Discourse(base_url="https://hub.diehumanisten.de", username="rene.bruns",
api_key="75e55d01584d41ebc915ee911ab9a08f2e4b992d7a2429da09dbe19b718c32b0", raise_for_rate_limit=False)
client = Discourse(base_url="https://hub.diehumanisten.de", username=DISCOURSE_API_NAME,
api_key=DISCOURSE_API_KEY, raise_for_rate_limit=False)


def Hub_POST(message):
Expand Down

0 comments on commit 2963b37

Please sign in to comment.