Skip to content

Instantly share code, notes, and snippets.

View papiforcex's full-sized avatar
💭
https://papiforcex.com

Fayad papiforcex

💭
https://papiforcex.com
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Rebane's Discord Colored Text Generator</title>
<meta charset="UTF-8">
<meta name="description" content="Rebane's Discord Colored Text Generator">
<meta name="author" content="rebane2001">
<style>
/*
@DorianAarno
DorianAarno / How to grow your discord bot.md
Last active August 22, 2024 21:56
A guide on Bot Development and growth.

Hey there. During the time of bot development, I've learnt a lot, there are several things which I wish I could change and several things which I'm glad I did. I wish to share my experience which may help some beginners or even some experts.

Transfer your bot to team.

Before you reach verification, you must transfer your bot to a team and include a secured alt in the team. Many developers regret not doing it before their application reaches verification. This essentially provides a ray of hope of not losing your bot if you ever lose your main account.

Raise an epic centre of your project.

An epic centre is the core of your bot, your bot could be known for it. Take Dyno for example, we all know it for it's moderation capabilities. In a similar way, your bot must be known for something. You need to avoid being a sheep in the flock.

Effective Advertisement.

In my opinion advertising can prove out to be effective when you build something unique and let them know your goal behind it along

@advaith1
advaith1 / intents.md
Last active September 19, 2024 18:15
Discord Gateway Intents Explainer

Intents Explainer

If you're wondering what Gateway Intents are, what Privileged Intents are, why your bot can't see statuses, or why your bot can't see member joins anymore, then this page should explain it to you!

if you do not know what intents are, please read this entire page

Intro

First, a short explanation of how bots work: bots can make requests over the REST (HTTP) API to retreive information and do actions, and they get real-time updates from Discord in the form of websocket gateway events. They can also fetch server members via the gateway.

Examples of gateway events you are probably familiar with are Message Create (a message was sent) and Guild Member Add (a user joined a server).

@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active September 22, 2024 02:25
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();