This is a discord bot that will collect your daily reward by using API requests. It is an adaptation of this repository
Either join the server or invite the bot to your own server, and run the commands you want. You can even do it in DMs with the bot if you want (but you need a mutual server with it).
Clone the repo, install the dependencies below (manually for now), add token for your application, invite your application to your server, run commands.
- Python (Tested with 3.9)
- Discord.py
- Discord-py-slash-commands
- Requests
- psutil (only used for some statistics. It is not essential to the functionality of the bot and can/should be removed; but you need to remove the code that uses it yourself)
- An account with campaign access (Fortnite: Save the world)
Edit the token with your bots token (located on the last line), then run the python file.
If you dont know what a bot token is or need one, you can create an application on discord, then create a bot and copy it's token.
Alternatively, you can Use my publicly one hosted on heroku here.
You can also join my server if you would prefer to use the bot that way.
The bot's default prefix is stw
. You can change it manually at the top of the file.
The built in help commands are: stw help
and stw instruction
; the latter of which will provide more detailed instructions.
First, visit this website and sign in with your Epic Games account.
You will then be redirected to a website that will look something like this:
{"redirectUrl":"https://accounts.epicgames.com/fnauth?code=a51c1f4d35b1457c8e34a1f6026faa35","sid":null}
Copy the code (you can double click it in most browsers), and then append that to your command.
For example:
stw daily a51c1f4d35b1457c8e34a1f6026faa35
This code will expire shortly after it is issued. If you require a new code, you can simply refresh the page and it should generate a new one.
If you require assistance, just want to chat, or would prefer to use the bot in a different server to your own, you can join the STW Daily discord
Thanks to Londiuh for their code to collect daily rewards Icons are created by dippyshere ;)
An auth token can be used to do (i believe) anything to your account that is possible with an API. If you dont trust this bot, read the code, and if you still dont trust it, dont use it. No affiliation with Epic Games.