Coder Social home page Coder Social logo

masonisbetter6 / stw-daily Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dippyshere/stw-daily

0.0 0.0 0.0 129 KB

Discord bot that collects Fortnite: Save the World daily rewards using an auth token.

Home Page: https://sites.google.com/view/stwdaily/home

License: MIT License

Python 100.00%

stw-daily's Introduction

Fortnite: Save the World Daily Rewards Discord

This is a discord bot that will collect your daily reward by using API requests. It is an adaptation of this repository

Important Information:

Using Public Hosted one:

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).

Self Hosting:

Clone the repo, install the dependencies below (manually for now), add token for your application, invite your application to your server, run commands.

Requirements and dependencies

  • 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)

How to start the bot

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.

Discord Banner 2

How to use the bot

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.

Support

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

Credits

Thanks to Londiuh for their code to collect daily rewards Icons are created by dippyshere ;)

Info

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.

stw-daily's People

Contributors

dippyshere avatar pro100katyt avatar stellaurora avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.