Skip to main content

A bot that announces new itch.io jam entries to a discord channel

Project description

Jam Bottle

by Natalie Fearnley

A bot that announces new itch.io jam entries to a discord channel

Requirements

python >= 3.8

Installation

pip install jambottle

Configuration

Configuration file location: "C:\Users\[username]\AppData\Local\Natalie Fearnley\jambottle\conf.json" on Windows /home/[username]/.local/share/jambottle/conf.json on Linux

Open the file and add a jamurl and webhookurl.

Optionally you can set a delay to the number of minutes you want jambottle to wait between checking for new entries.

An example conf.json is available in the examples directory.

Running

To run the bot just type jambottle in the command line.

The bot will check for new entries (by default, every 5 minutes) and then post any new entries in the webhook channel you have provided.

When the bot first runs, it will skip any previous entries, and start posting entries as they are added.

If you stop and restart the bot, it will keep track of where it last left off and continue posting entries from there.

If you'd like to repost all entries from the beginning, just run jambottle --catchup to reset the entry tracking.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jambottle-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jambottle-1.0.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file jambottle-1.0.0.tar.gz.

File metadata

  • Download URL: jambottle-1.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for jambottle-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ad20c6956c1be0dd8a9fd55528ce4b74cfdf9ec4f432e318696957b4f2347aaa
MD5 f7a154bc4af38cad521fe733ebf633a0
BLAKE2b-256 b846fa91d58bab9bbba5b2fc54656f900f016d798b651238b7689bd8e1f08262

See more details on using hashes here.

File details

Details for the file jambottle-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: jambottle-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for jambottle-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4587796c4c0979e40baea87aee4367a09cdf1ee84f790f7382f8421e64679fa4
MD5 f9d631f48d8275d1a5facc65cff927de
BLAKE2b-256 28f72e85315234b4341dd9ccb7a42ca02572255775474821ab93782869e5d21b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page