Skip to content

Instantly share code, notes, and snippets.

View Galaxy-Coding's full-sized avatar

Galaxy-Coding Galaxy-Coding

View GitHub Profile
GeneralSadaf / List of all bots owned by
Last active October 14, 2023 15:49
All official Discord bots I am aware of. This is an unofficial list and may not be kept completely up to date.

Bots for Discord owned servers

Username Description ID Invite
GearBoat#3958 Used for moderation purposes, GearGoat is a custom instance of the public GearBot made by AEntherprise#4693 (106354106196570112) and used in Discord Townhall, Discord Developers, etc. Public instance can be found at: 520953716610957312 Invite
Discord DevBot#9425 This bot is used in Discord Developers server, answers to frequently asked questions and has some public commands. 545364944258990091 Invite
Developers Role Bot#0397 This bot is used in Discord Developers server to give out roles. 976907566334484590 Invite
DBug#8485 This bot is
// —— This corresponds to the message that was sent by the user to trigger the command
async run(message) {
// —— At the beginning, we are on the first page
let position = 0;
// —— Array of all our pages, a page is an object (an embed)
const pages = [{
title: "This is page 1",
description: "This is an example of a pagination system",
color: "#fcba03"
}, {
Galaxy-Coding / Rickroll
Last active August 28, 2021 08:38
Rickroll Prevention


Made by galaxy#4815

This bot will instantly remove all rickrolls. Sounds simple, right? Are you worried that the bot will be bypassed? That isn't a problem as well. The bot supports redirects and over 50 links! Watch the bot demo

How it works

When you send a rickroll, the bot automatically checks all links. Every link is checked if it redirects to a rickroll. If it redirects to a rickroll, the message will be deleted. Then, the person who sent the rickroll will receive a DM from the bot, including when and where the rickroll was recieved. The bot can't moderate rickrolls in channels that it doesn't have permissions to delete messages in. Therefore, if you don't want the bot to delete messages in rules, just deny the bot's pemission to manage messages in that channel. The bot will also log the attempted rickroll in

<!DOCTYPE html>
<title>Page Title</title>
<!--code goes here-->
stevecondylios /
Last active July 9, 2024 20:12
How to Resize an Image in a Github Issue (e.g. Github flavored Markdown)

How to Resize an Image in Github (i.e. Github Flavored Markdown)


<img src="" width=50% height=50%>


<img src="" width="150" height="280">

// Discord all events!
// A quick and dirty fleshing out of the discord.js event listeners (not tested at all!)
// listed here ->
// Learn from this, do not just copy it mofo!
// Saved to ->
// Last Updated -> Halloween 2022
jagrosh / Github Webhook
Last active July 23, 2024 22:30
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings