This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |