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.5.tar.gz (18.0 kB view hashes)

Uploaded Source

Built Distribution

carim_discord_bot-1.2.5-py3-none-any.whl (21.6 kB view hashes)

Uploaded Python 3

Supported by

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