Upvote Upvoted 24 Downvote Downvoted
logs.tf Discord Bot
posted in Projects
1
#1
0 Frags +

Hi,
I created a logs.tf Discord Bot script. So if you have a Discord Server and a pc/server/rapsberry pi you can run the script.

For more information
Bot on GitHub

Wiki on GitHub

Commands
!logs
and this will show your latest log with a bit of your performance details
!logs profile
will show your profile

!logs @mention
you can look up other players latest logs
!logs @mention profile
and the profile of other players

!logs match <teamname>
will show the latest match of a team
...
full list of commands

I made it pretty easy to create/delete teams, add/remove players to a team and also add/remove players with their SteamID64 to the bot. For those commands check out the command list (https://github.com/callFEELD/logs.tf-discord-bot/blob/master/docs/Commands.md). Important: only moderators can use these kind of commands. A moderator has to be inserted manually into the users file. (tutorial: https://github.com/callFEELD/logs.tf-discord-bot/wiki/insert-your-Discord-ID-and-Steam-ID-into-the-users.json-file)

Disclaimer: It's not possible to get the SteamID via the data of Discord itself so the moderator of this script has to add the players with their SteamID64 first.

Check it out, I will continue working on this bot
Last edit: 14.02.2018

Hi,
I created a logs.tf Discord Bot script. So if you have a Discord Server and a pc/server/rapsberry pi you can run the script.

[b]For more information[/b]
[url=https://github.com/callFEELD/logs.tf-discord-bot]Bot on GitHub[/url]

[url=https://github.com/callFEELD/logs.tf-discord-bot/wiki]Wiki on GitHub[/url]

[b]Commands[/b]
!logs
and this will show your latest log with a bit of your performance details
!logs profile
will show your profile

!logs @mention
you can look up other players latest logs
!logs @mention profile
and the profile of other players

!logs match <teamname>
will show the latest match of a team
...
[url=https://github.com/callFEELD/logs.tf-discord-bot/blob/master/docs/Commands.md]full list of commands[/url]

I made it pretty easy to create/delete teams, add/remove players to a team and also add/remove players with their SteamID64 to the bot. For those commands check out the command list (https://github.com/callFEELD/logs.tf-discord-bot/blob/master/docs/Commands.md). Important: only moderators can use these kind of commands. A moderator has to be inserted manually into the users file. (tutorial: https://github.com/callFEELD/logs.tf-discord-bot/wiki/insert-your-Discord-ID-and-Steam-ID-into-the-users.json-file)

[b]Disclaimer:[/b] It's not possible to get the SteamID via the data of Discord itself so the moderator of this script has to add the players with their SteamID64 first.


[u]Check it out, I will continue working on this bot[/u]
Last edit: 14.02.2018
2
#2
5 Frags +

You can get on the server to test the Script:
https://discord.gg/3UzxYVX

The script won't the whole time, so if you want to test the script just shoot a message in the discord server.

You can get on the server to test the Script:
https://discord.gg/3UzxYVX

The script won't the whole time, so if you want to test the script just shoot a message in the discord server.
3
#3
-3 Frags +

Awesome Job!

It would be awesome if you could create some kind of ELO system based on the logs.tf api, like those rank bots that base their ranks on how much the person has been chatting on the server, but with log.tf stats

Awesome Job!

It would be awesome if you could create some kind of ELO system based on the logs.tf api, like those rank bots that base their ranks on how much the person has been chatting on the server, but with log.tf stats
4
#4
2 Frags +
AisekAwesome Job!

It would be awesome if you could create some kind of ELO system based on the logs.tf api, like those rank bots that base their ranks on how much the person has been chatting on the server, but with log.tf stats

http://logs.tf/1390775

[quote=Aisek]Awesome Job!

It would be awesome if you could create some kind of ELO system based on the logs.tf api, like those rank bots that base their ranks on how much the person has been chatting on the server, but with log.tf stats[/quote]
http://logs.tf/1390775
5
#5
3 Frags +
ICLhttp://logs.tf/1390775

the greatest match ever played

[quote=ICL]http://logs.tf/1390775[/quote]
the greatest match ever played
6
#6
5 Frags +

Version 1.2
check out the new update on GitHub
I updated the bot, here are the latest changes:

  • new command !logs addme <SteamID64>. This command will add yourself to the bot.
  • fixed commands that were unable to use
  • performance on '!logs' commands now shows also: assists, ka/d, dmg,
    heals in percent, airshots and classes played
  • minor changes in styling of the output
  • added more tips. Its now easier to navigate through the bot

For devs or server hoster:

  • console output now shows errors if files are missing, wrong token added or no token added
  • more comments in the code
  • added a config file to easier change options

I am also working on improving installing guides
Check out the ReadMe of the GitHub site and the wiki site of GitHub

[b]Version 1.2[/b]
[url=https://github.com/callFEELD/logs.tf-discord-bot]check out the new update on GitHub[/url]
I updated the bot, here are the latest changes:
[list]
[*] new command [b]!logs addme <SteamID64>[/b]. This command will add yourself to the bot.
[*] fixed commands that were unable to use
[*] performance on '!logs' commands now shows also: assists, ka/d, dmg,
heals in percent, airshots and classes played
[*]minor changes in styling of the output
[*]added more tips. Its now easier to navigate through the bot
[/list]
For devs or server hoster:
[list]
[*] console output now shows errors if files are missing, wrong token added or no token added
[*] more comments in the code
[*] added a config file to easier change options
[/list]

[b]I am also working on improving installing guides[/b]
Check out the ReadMe of the GitHub site and the [url=https://github.com/callFEELD/logs.tf-discord-bot/wiki]wiki site of GitHub[/url]
7
#7
1 Frags +

WIP - Version 1.2 Server Edition preview
better scale able:
- works now with multiple servers
- using a database instead of a file and therefore

improvements:
- increased speed by focusing on faster code
- reworked visible command output, that has the same structure
- players in teams are now stored with their individual class
- removed !logs user command since every user has to add themselves only once and also for security reasons

fixes:
- fixed Bug: !logs not showing output if there wasn't any heals

Most importing thing:
This upcomming update enables me only run one Bot that handles multiple servers. This means I can finally host one bot and you only need to add the bot via a normal discod bot invite link.

[b]WIP - Version 1.2 Server Edition preview[/b]
better scale able:
- works now with multiple servers
- using a database instead of a file and therefore

improvements:
- increased speed by focusing on faster code
- reworked visible command output, that has the same structure
- players in teams are now stored with their individual class
- removed !logs user command since every user has to add themselves only once and also for security reasons

fixes:
- fixed Bug: !logs not showing output if there wasn't any heals

[b]Most importing thing:[/b]
This upcomming update enables me only run one Bot that handles multiple servers. This means I can finally host one bot and you only need to add the bot via a normal discod bot invite link.
8
#8
3 Frags +

Public Beta
I made it possible to host the bot 24/7 now.

You can invite him with this link to your server: https://discordapp.com/oauth2/authorize?client_id=463788571040677888&scope=bot

Disclaimer be aware that there could be small downtimes or errors. If you find them please report them here or on the discord server (https://discord.gg/3UzxYVX).

Invite the bot and start by connecting your discord user with your steamid64. Just type !logs for more info.

[b]Public Beta[/b]
I made it possible to host the bot 24/7 now.

You can invite him with this link to your server: https://discordapp.com/oauth2/authorize?client_id=463788571040677888&scope=bot

[i]Disclaimer[/i] be aware that there could be small downtimes or errors. If you find them please report them here or on the discord server (https://discord.gg/3UzxYVX).

Invite the bot and start by connecting your discord user with your steamid64. Just type [b]!logs[/b] for more info.
Please sign in through STEAM to post a comment.