Git Product home page Git Product logo

csgo-chat-bot_2.0's Introduction

CS:GO Chat Bot 2.0

Trying to enhance the chat bot with some functionality:

//TODO:

-show teams with average faceit elo //not possible

-show premades //function done, needs to be implemented

-show elo of each player on the server //function mostly done, needs to be implemented

/DONE:

-show premades

Rewrite of my csgo chat bot

A chatbot for CS:GO that reads the CS:GO console over telnet. The chat commands can be sent using the chat or the console.

Huge thanks to @403-Fruit for sharing this project! The project helped me a lot when figuring out how to do things.

Setup

Add the following to the CS:GO launch options:

-netconport 2121  

Add your Steam and faceit API keys to the config.py file to get the !info command to work fully:

steam_api_key = '' # Steam web API key here to get steam/game stats
faceit_api_key = '' # Faceit API key here to get faceit levels

Run the chat bot:

python csbot.py

Chat commands

!help              - Prints out the list of avaible commands to the chat

!info <name>       - Tries to get <name>'s game stats including: K/D ratio, Play time and 
                     total rounds played on the current map.

!github            - Prints a link to this repository

!dz                - Prints the current and next danger zone map

!calc <expression> - Calculates the math expression in <math> and returns the answer
                     Example:
                       !calc (5 + 5) * 2

!mute <string>     - Adds the string to the clear list
                     The bot will send a chat clear message when it detects the string in the chat name or message

!unmute <string>   - Removes the string from the clear list

Console commands

!info              - Get the info table containing all the players manually
                     This prints the whole table in easy to read format to the cmd

!dz_map            - Toggles the auto notification for dz map changes

!dz                - Echoes the current and next danger zone map

!zeus_shot         - Does the zeus shot visual bug where you can shoot the zeus wires from your currently held weapon
                     This is only visible for other players

!lowjump           - Performs the lowjump consistently for some pixelsurfs

csgo-chat-bot_2.0's People

Contributors

mikooboy avatar chinx7 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.