-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Wargamer-Senpai edited this page May 12, 2023
·
4 revisions
Requirements:
- Python 3.5 =<
- Python module
requests
pip install requests
Setup:
- Download latest release here (direct download)
- unzip folder in your desired destination
- edit
config.py
- configure
matrix_username
andmatrix_password
, these can be retrieved with the TS5 Extractor
- configure
- open console (cmd or bash) and run
python main.py
All config paramters explained:
Paramter | Meaning | Examples |
---|---|---|
matrix_base_url | set to which homebase the bot should connect | https://chat.teamspeak.com |
matrix_username | set the username of the account you want to use | aefaefaefaefaefa354354354354=== |
matrix_password | set the password of the account you want to use | JkFpIopKKKtdf55uimne69 |
bot_admin | set yourself as admin. To get your identifier, just run the bot and execute !whoami , then it will be printed |
@rf5vjqmalallfdf48vg32420rrxlsibkrackg4j5pfquk3bt69zii===:chat.teamspeak.com |
matrix_join_rooms | sets if the bot should join other rooms he gets invited to or accept friend requests |
True |
giphy_api_key | used to get gihpy gifs, default api key is rate limited. you can request you own if wanted |
JukUjkllöpop69I134Verr694523Rinn |
status_text | set a desired status message | ✨ vibing ヾ(•ω•`)o ✨ |
presence_state | currently broken, looks like the homebase ignores this paramter | Online |
stats_visible | set if normal users or only admins can see the stats of the bot. (Nothing sensitive will be printed, just funny numbers) | public |
bad_word_checks | if some person sends a bad word (see modules/bad_words.py) the bot would respone with a gif | False |
command_prefix | set how the commands should start (every command name can be adjusted, if desired) |
! |
you can test the bot yourself, just add teampy@myteamspeak.com
to your contacts
Example 1, without custom emojis:
Example 2, with custom emojis:
(process exited on server)
(process restarted on server, should react after some seconds again)