Skip to content

DowdyJ/APCCG

Repository files navigation

APCCG

This is a simple Discord bot that interfaces with SaltyBet among other utilities.

Installation

To use the video conversion feature, you will need to have ffmpeg/ffprobe installed. Otherwise, simply run npm install in the root of the project. Then, to run the bot, run node index.js Alternatively, you can use Docker. For that, simply run ./build_image.sh and ./run_container.sh

For the bot to run you will need a file called "hmt.json" in the root folder. It should have these entries:

Key Value
APPLICATION_ID THe application id for the bot
BOT_TOKEN A Discord bot token for login
ALT_BOT_APPLICATION_ID If USE_ALT_BOT is true, you will need this field. Takes an APP id
ALT_BOT_TOKEN If USE_ALT_BOT is true, you will need this field. Takes an bot token

Currently implemented commands

Command Effect
/help Show a help message
/hello Sanity check to check bot responsiveness
/salty sign-in [email] [pass] Log-in to SaltyBet using your email and password
/salty bet [team] [amount] Place a bet for a team or player.
/salty balance Retrieve your current balance
/salty sign-out Sign-out from SaltyBet (Removes sign-in cookie)
/salty status Fetch current match details, including current bet amounts and team names.
/docker add [command_name] [docker_command] [(Optional) notes] Add a "docker run" command
/docker remove [command_name] Remove an existing command
/docker run [command_name] Run an available command
/docker stop [command_name] Stop a running container
/docker status See running containers and available commands
/docker op [user] Add permissions to a user
/docker de-op [user] Remove permissions from a user
/listenmoe play [music stream option] Join a channel and play the stream specified (jpop/kpop)
/listenmoe stop Stop playing music leave the channel

Other Utilities

It will automatically replace twitter.com and x.com links with vxtwitter.com, allowing for embeds in Discord. It will convert H265 mp4 videos to H264, also allowing for embeds.

License

This project is licensed under the GPL-3.0 license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages