- Install NodeJS and NPM
- Clone the repo (https://github.com/humanat/takBot)
- Run
npm i
- Run
git submodule init && git submodule sync && git submodule update
- Run
pushd TPS-Ninja && npm i && popd
- Run
cp auth.json.template auth.json; cp results.db.template results.db
- Make your own application through Discord (https://discord.com/developers/applications)
- Copy the token from the Bot page and paste it in
auth.json
aftertoken
. - Copy the Application ID from the General Information page and paste it in
auth.json
afterclientId
. - Run
node deploy-commands
- Run
node bot
(Ctrl+C
to end) - Invite your bot to your own Discord server by generating an invite link from the OAuth2 page of the Discord portal
- Add redirect URL
https://discordapp.com/oauth2/authorize?&client_id=<ClientID>&scope=bot
with your client ID. - Select scopes
bot
andmessages.read
- Select the appropriate permissions
- Press the Copy button in the Scopes section
- Paste into a new browser tab
- Add redirect URL
-
Notifications
You must be signed in to change notification settings - Fork 1
humanat/takBot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A bot for playing Tak through Discord
Resources
Stars
Watchers
Forks
Packages 0
No packages published