-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from martig3/cs2-refactor
Cs2 refactor
- Loading branch information
Showing
6 changed files
with
228 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "csgo-discord-scrimbot" | ||
version = "0.3.1" | ||
version = "0.4.0" | ||
authors = ["MartinWienc <[email protected]>"] | ||
edition = "2021" | ||
|
||
|
@@ -23,3 +23,4 @@ dotenvy = "0.15.6" | |
env_logger = "0.10.0" | ||
log = "*" | ||
futures = "0.3.28" | ||
steamid = { git = "https://github.com/JohnPeel/steamid" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ Discord bot for managing, automating & organizing 10 man scrims in CSGO | |
- Map Vote | ||
- Captain pick & player draft | ||
- Starting side pick | ||
- Automatically starts CSGO server & prints out connection info | ||
- Automatically starts CS2 server & prints out connection info | ||
- Custom team names | ||
- Autoclear queue | ||
- Auto assign discord role to user on queue join | ||
|
@@ -27,23 +27,20 @@ Run your platform executable with the following `config/config.yaml` file: | |
```yaml | ||
autoclear_hour: <0-24> -- optional | ||
post_setup_msg: GLHF! -- optional | ||
server: | ||
id: <your dathost server id> | ||
url: <your dathost server url> | ||
dathost: | ||
username: <your dathost username/email> | ||
password: <your dathost password> | ||
match_end_url: <your match end url> | ||
username: [email protected] | ||
password: Theemprah1122! | ||
server_id: dathost server id | ||
match_end_url: match-end webhook url | ||
discord: | ||
token: <discord bot token> | ||
admin_role_id: <a discord role id for admins> | ||
privileged_role_ids: [ string list of discord role ids ] -- optional | ||
team_a_channel_id: <a discord text channel id> -- optional | ||
team_b_channel_id: <a discord text channel id> -- optional | ||
assign_role_id: <a dicord role id to assign for user on queue join> -- optional | ||
scrimbot_api_config: -- optional, experimental section | ||
scrimbot_api_config: | ||
scrimbot_api_url: <scrimbot-api url> | ||
scrimbot_api_user: <scrimbot-api username> | ||
scrimbot_api_password: <scrimbot-api password> | ||
scrimbot_api_token: <scrimbot-api auth token> | ||
``` | ||
**Note:** Make sure to only allow the bot to listen/read messages in one channel only via the discord server settings -> integrations options. |
Oops, something went wrong.