GithubHelp home page GithubHelp logo

anuranet / anurabot Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 236 KB

The Teamspeak Bot for the Anura network

License: MIT License

Kotlin 99.00% JavaScript 1.00%
teamspeak bot kotlin mysql http4k steam

anurabot's People

Contributors

dependabot[bot] avatar hibo98 avatar lukbukkit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

anurabot's Issues

Encrypt the unique id when usign a external web service

Is your feature request related to a problem? Please describe.
At the moment the Teamspeak unique id is just passed as a parameter to a external web service, but everyone can insert a unique id of another user and change their settings.

Describe the solution you'd like
We could encrypt the parameter uid and create a entry in the configuration for the encryption.
Another soulution could be to replace the uid parameter with a token.
This token can be saved in the database and read by the external web application.

Website

Hey, can you help me set up the website?

I set up some sample data in cfg, but now I don't know what files and where should I upload for the website to work

Wrong Steam Profile Link

The Steam profile page string is wrong concatenated.
Maybe the SteamID is wrong (because of the openid url)?

2018-06-17_15-20-16

Not all users get the groups when adding new timegroups

I added a time group with 0 seconds as the minimum time to have a default group.

One member of the total ten connected clients didn't have the group after that.

He had the exactly same groups as another user in the same channel.

When theres no connection to Steam all groups get removed

Describe the bug
When the bot can't get the games from Steam it just removes all game groups.

To Reproduce
Steps to reproduce the behavior:

  1. Kill the Steam web service
  2. Join the server
  3. All your Steam groups get removed

Expected behavior
The bot shouldn't remove the groups.

Logs / Screenshot

[WARN] de.anura.bot.teamspeak.SelectedGames - Couldn't get Steam games for 76561198103625703

Api key

Hey, I have an api problem, after generating it and entering it into config when starting the application

teamspeak@xxxx:~/anura$ java -jar web-1.0-SNAPSHOT-jar-with-dependencies.jar
[INFO] de.anura.bot.BotStartupKt - Your Steam API Key is valid

[steam] ; The Steam web api key is used for getting the games of a user ; You can get one here: http://steamcommunity.com/dev/apikey api_key = 26CC97D49BFF6C26DF37E5E80xxxxxx

Send TS 5 clients Markdown messages

Describe the bug
The next Teamspeak 5 client uses markdown for formatting the messages. The bot should also provide support for this client.

To Reproduce
Steps to reproduce the behavior:

  1. Use the new Teamspeak 5 Beta client
  2. Write a message to the bot

Expected behavior
The messages should be formatted using Markdown.

Additional context

  • It's a good to update the dependencies

Translations

I want to add translations to the bot, but I'll do this in the distant future.

Select shown games

Is your feature request related to a problem? Please describe.
When users own very many games and there're a lot of Teamspeak groups for Steam games, you can quickly lose the overview of the games.

Describe the solution you'd like
Users should be able to select the games they want to show on the Teamspeak. The number of games they can select should be limited.

Implementation

  • Add a entry to the configuration to change the maximum amount of shown games
  • Add two routes (show the page, saving the selection) on the web server
  • Create a simple web page with checkboxes and the names of the games
  • Check via Javascript that the user doesn't select too many games
  • Check this also on the server side
  • Create a table for this relation
  • Add a link to the page to the message when a joins the Connect channel
  • Add the correct groups on join

Maybe we can also cache / save the games of the user, to check for changes in their libraries.
When changes occur, we can inform them, that he/she can add this game to his/her Teamspeak groups via the webpage.
But I think, we'll need another issue for this.

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.