Skip to content

3: Running

tarrynt whitty edited this page Jan 25, 2024 · 4 revisions

Running the application

At this point the Config for the application and the required library's should be set up. we can run the application now

ether enter the application folder on the terminal and enter python ./app.py

or run the start.bat file

upon first run it will create a DB file for your channel. it will contain all the data it records of you channel in side and will be named [your channel name].db this is a sqlite file can is not encrypted so can be read with any standard sqlite reader

it will also attempt to gain auth for you account so it can run

image

a list of all the functions it requires will be shown. if you agree click accept. if not you will not be able to use the bot. the bot does not connect back to me in anyway and will not attempt to give me any data.

once you have completed auth it will say "thank you for completing auth" and create a oauth.json file. This is also not encrypted and contains the auth token for the bot.

DO NOT SHARE THIS OR YOUR ACCOUNT COULD BE STOLEN. YOU HAVE BEEN WARNED.

At this point the terminal will simply say

image

this means it is setting up.

if you took too long to accept auth it will time out the application and you will need to close the terminal and start again

after a little bit of setting up a webpage will load at the address shown in the terminal. this is the front end for the bot. it is now running

image

next steps.

Learn the Front end controls https://github.com/riskdoe/Project-Tada/wiki/4:-Front-End

Learn the bot functions https://github.com/riskdoe/Project-Tada/wiki/5:-ChatBot-functions

Learn how to customize the minigame's https://github.com/riskdoe/Project-Tada/wiki/6:-Minigame-settings

Clone this wiki locally