Skip to content

Instantly share code, notes, and snippets.

@etahn-git
etahn-git / membercount.py
Created November 17, 2022 22:25
Customizable member count channel for discord.py
import discord
import discord.utils
from discord.ext import commands
# bot token
TOKEN = ''
# bot prefix
BOT_PREFIX = '!'
# The id of the channel the bot should update
@etahn-git
etahn-git / github follower count channel.py
Last active November 17, 2022 19:09
Discord channel that counts the amount of github followers a user has.
import discord
from discord.ext import commands
import requests
# ---------------------------------------------------------
TOKEN = '' # Discord bot token
GITHUB_USERNAME = '' #github username (ex: 'etahn-git')
# Follower count channel id
CHANNEL_ID =