Got a fancy new Discord Activity but found that your Launch button went missing? Here's a patch for that!
Make sure you have Node.js installed and download (or copy) the script below, then run this in your terminal:
Got a fancy new Discord Activity but found that your Launch button went missing? Here's a patch for that!
Make sure you have Node.js installed and download (or copy) the script below, then run this in your terminal:
// Set this to true if you run into issues or want to see app data logged. | |
const Debug = false | |
// Set this as your Discord Bot Token and Client ID if you don't want to pass them as arguments. | |
const BotToken = '' | |
const ClientId = '' | |
// Runs this script. | |
start().then(console.log).catch(console.error) |
import android.support.annotation.IntDef; | |
import android.support.annotation.StringRes; | |
import android.widget.Toast; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import static android.widget.Toast.LENGTH_LONG; | |
import static android.widget.Toast.LENGTH_SHORT; |
import android.text.Layout; | |
import android.text.Selection; | |
import android.text.Spannable; | |
import android.text.method.LinkMovementMethod; | |
import android.text.style.ClickableSpan; | |
import android.view.MotionEvent; | |
import android.widget.TextView; | |
/** | |
* Created on 2/17/2017 |
package com.pkmmte.widget; | |
import android.annotation.TargetApi; | |
import android.content.Context; | |
import android.os.Build; | |
import android.util.AttributeSet; | |
import android.view.WindowInsets; | |
import android.widget.FrameLayout; | |
/** |
package co.nowl.view; | |
import android.annotation.SuppressLint; | |
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.graphics.Canvas; | |
import android.graphics.Paint; | |
import android.graphics.PixelFormat; | |
import android.graphics.Rect; | |
import android.graphics.drawable.Drawable; |