Skip to content

Instantly share code, notes, and snippets.

View castrix's full-sized avatar
🎯
Focusing

Ihsan Fajar Ramadhan castrix

🎯
Focusing
View GitHub Profile
@castrix
castrix / bot.py
Last active August 19, 2025 06:58
bot dc
import os
import discord
TOKEN = "YOUR_DISCORD_BOT_TOKEN" # replace with your bot token
CHANNEL_ID = 123456789012345678 # replace with your channel ID
COMMAND = "!screenshot" # command trigger
intents = discord.Intents.default()
intents.message_content = True
client = discord.Client(intents=intents)
import os
import discord
TOKEN = "YOUR_DISCORD_BOT_TOKEN" # replace with your bot token
CHANNEL_ID = 123456789012345678 # replace with your channel ID
COMMAND = "!screenshot" # type this in Discord to trigger
intents = discord.Intents.default()
intents.message_content = True # needed to read messages
client = discord.Client(intents=intents)
import os
import discord
TOKEN = "YOUR_DISCORD_BOT_TOKEN" # replace with your bot token
CHANNEL_ID = 123456789012345678 # replace with your channel ID
COMMAND = "!screenshot" # type this in Discord to trigger
intents = discord.Intents.default()
intents.message_content = True # needed to read messages
client = discord.Client(intents=intents)