Skip to main content

Discord bot that provides DayZ RCon capabilities and cross chat

Project description

carim-discord-bot

A simple Discord bot that responds to a few basic commands and has a RCon interface for BattlEye servers. It can also establish cross chat between Discord and inside the game.

commands:
--help                displays this usage information
--hello               says hello to the beloved user
--random [num]        generate a random number between 0 and 100
                      or num if specified
--about               display some information about the bot

admin commands:
--command [command]        send command to the server, or list
                           the available commands
--safe_shutdown [seconds]  shutdown the server in a safe manner
                           with an optional delay
--schedule_status          show current scheduled item status
--schedule_skip index      skip next run of scheduled command
--kill                     make the bot terminate
--version                  display the current version of the bot

Examples:

--command "say -1 Hello everybody!"
# this sends a message to everybody on the server
# notice the quotes around the command

--command players
# gets a list of currently connected players

Install

  1. Install Python 3.7 or 3.8
  2. Run pip3 install carim-discord-bot
  3. Run carim-bot --setup and follow the instructions

Update

  1. WARNING If updating from 1.0.1, be sure to backup your configuration. Unfortunately I made a mistake in saying to update the configuration file in the installed location. That file will be replaced during the update. Copy it someplace safe and then follow the setup instructions to fix.
  2. Run pip3 install carim-discord-bot -U
  3. Run carim-bot --setup configuration to see if any options have changed
  4. Update your configuration file accordingly
  5. Restart the service if you have one

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

carim-discord-bot-1.2.7.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

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

carim_discord_bot-1.2.7-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file carim-discord-bot-1.2.7.tar.gz.

File metadata

  • Download URL: carim-discord-bot-1.2.7.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for carim-discord-bot-1.2.7.tar.gz
Algorithm Hash digest
SHA256 7b181f7403c03aa30f51fd5185dd36c56a5e0e886f0f615d0bc728745ced5e22
MD5 8afff3df4c80b5f3cd6c7e7106c935ed
BLAKE2b-256 42f4596fb4dc6e3a74527d970383f1047628990069929a29e60029a4adc90b30

See more details on using hashes here.

File details

Details for the file carim_discord_bot-1.2.7-py3-none-any.whl.

File metadata

  • Download URL: carim_discord_bot-1.2.7-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for carim_discord_bot-1.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 01cac76b56664f5e8e1e89b1c07ac64ad0770b6a2bff6fbfbc535fe7bd5c8963
MD5 505eafa9646618b4f47f22ad831c3cc7
BLAKE2b-256 63756a37a631649052f343a8b746ec7fa9431bd9485beb1788e718f9bbfbe2df

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