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
- Install Python 3.7 or 3.8
- Run
pip3 install carim-discord-bot
- Run
carim-bot --setup
and follow the instructions
Update
- 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.
- Run
pip3 install carim-discord-bot -U
- Run
carim-bot --setup configuration
to see if any options have changed - Update your configuration file accordingly
- Restart the service if you have one
Project details
Release history Release notifications | RSS feed
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.4.tar.gz
(18.0 kB
view hashes)
Built Distribution
Close
Hashes for carim_discord_bot-1.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed9c17fe968237637dda69b4b720b88efd09518df807ec83e55874be0bf588b9 |
|
MD5 | 1f8d6efe0dc094c63002a5f5f4aa73b9 |
|
BLAKE2b-256 | 7b3ede69c973a8c44dfca9e43d9b2f4651c90fe06a2691f389500fce667523f1 |