Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warframe Stats for Discord Profile Widgets

Experimental Discord Widgets powered by AlecaFrame

A seamless way to display your Warframe progression and in-game economy directly on your Discord profile using experimental widgets. This guide provides step-by-step instructions on how to leverage the data from AlecaFrame and integrate it into your Discord application.

Overview

Ever wanted to show off your current wealth, trading stats, or progress in Warframe? By leveraging AlecaFrame—the most advanced companion app for Warframe—you can now bridge your in-game data with your Discord presence.

This setup allows you to display live-updating stats like Platinum, Credits, Endo, Aya, Ducats, Account Stats and Trade counts directly on your Discord profile board.

Prerequisites

Before setting up the data fields, you must ensure your Discord account is prepared for experimental widgets.

Please follow this Guide here to properly set up a Discord application and unlock the necessary widget functionalities.

To run this script, you need to have Python installed on your system. Before running the script, you must install the required dependencies:

pip install requests pillow pystray

(Optional) pip install pyinstaller

Explanation of dependencies:

requests: Used to communicate with the AlecaFrame API and update your Discord profile via the Discord API.

pillow: Used to generate the system tray icon dynamically.

pystray: Enables the script to run as a background application with an icon in your system tray.

pyinstaller: (Optional, See step 5): Used to package the script into a single executable file.

Configuration Guide

Once your application is set up in the Discord Developer Portal (Games → Widget → your widget).

Widget Layout: Under the widget settings, ensure you select "Widget Bottom" and "Stats Grid" for the layout.

add the following fields. Ensure the Value Type is set to String for all entries.

Data Field name Type Explanation
Endo String 1 Your current total Endo balance
Platinum String 2 Your available Platinum balance
Credits String 3 Your current credit total
Aya String 4 Your current amount of Aya
Ducats String 5 Your current Ducat balance
Trades String 6 Total number of trades completed
Name String 7 Displays your IGN
MR String 8 Displays your Mastery Rank

Setup Instructions

Follow these steps to link your Warframe data to your Discord profile:

  1. AlecaFrame Setup:
  • Ensure AlecaFrame is installed and running on your PC. ( INFO: AlecaFrame needs to run if Warframe is open in order to update the data Otherwise it wont update )

  • In AlecaFrame, navigate to the Stats tab.

  • Click on Create Public Link. Select the following resources: Platinum, Endo, Aya, Trades, Ducats, Account Data and Credits. and then Generate Link.

  • after that go into the config.json and under alecaframe_token paste in the link

  1. Discord Application:
  • Follow the Guide mentioned above to create your Discord application.
  • In the Developer Portal, navigate to your application and open the Widget tab under Games.
  1. Connecting Data:
  • Under the Sample Data Fields section of your widget, add the fields listed in the table above.

  • Ensure the Value Type is strictly set to String. Like This:

    image
  • Once you have created the fields, click into each stat to configure the specific appearance.

  • Match the settings as shown in this screenshot: ( do this for every string )

    image

Value:

  • Set Presentation Type to Text

  • Value Type to User Data

  • and select the corresponding Data Field (e.g., Endo).

  • Enable the Fallback toggle.

Label:

  • Set Value Type to Custom String

  • and enter your desired label (e.g., ✨ Endo).

Icon:

  • Enable the Icon toggle

  • Set Value Type to Application Asset

  • And select the appropriate asset key for your icon. ( in this repo are all the icons i used )

Warframe Name and Mastery Rank Display:

To display your in-game name and Mastery Rank (MR) in the widget header, follow these steps:

  1. Configure In-game Name:

    Navigate to Widget Top > Title.

    • Set Presentation Type to Text.

    • Set Value Type to User Data.

    • Set Data Field to Name.

    • Enable Fallback.

  2. Configure Mastery Rank

    Navigate to Widget Top > Subtitle 1:

    • Set Value Type to Custom String.

    • Set Data Field to Mastery Rank.

    Navigate to the Text tab:

    • Set Presentation Type to Text.

    • Set Value Typ to User Data.

    • Set Data Field to MR.

    • Enable Fallback.

It should look like this after ( Latency and Status are just decoration)

image
  1. (Optional) Convert Script to Executable
  • Step 1: Ensure you have Python installed on your system.

  • Step 2: Install the necessary packaging tool by running pip install pyinstaller in your terminal.

  • Step 3: Navigate to your script folder and run the following command:

  • python -m PyInstaller --noconsole --onefile --name="NAME OF EXE" main.py

  • Step 5 (Important): Make sure to copy your config.json file into the dist/ folder alongside the newly created .exe. The application requires this file in the same directory to function correctly.

Show your support

Give a ⭐️ if this project helped you!

About

experimental Discord Widgets powered by AlecaFrame Bring your Warframe progress directly to your Discord profile. This project utilizes the AlecaFrame desktop app to track your in-game resources, syncing them seamlessly to Discord via experimental profile widgets.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages