diff --git a/Slack Message/.env b/Slack Message/.env new file mode 100644 index 0000000..9c18c9a --- /dev/null +++ b/Slack Message/.env @@ -0,0 +1,4 @@ + +SLACK_BOT_TOKEN=xoxb-9294326441810-9634538323301-TEDMBIwZqA5VJJU1yoRFX6NF + SLACK_CHANNEL_ID=C09JKHXS9L3 +#https://bytelets.slack.com/archives/C09JKHXS9L3 \ No newline at end of file diff --git a/Slack Message/env_template.txt b/Slack Message/env_template.txt new file mode 100644 index 0000000..d0f0750 --- /dev/null +++ b/Slack Message/env_template.txt @@ -0,0 +1,16 @@ +# Slack Configuration +# Copy this file to .env and replace the placeholder values with your actual tokens + +# Slack Bot/User OAuth Token +# Get this from https://api.slack.com/apps -> Your App -> OAuth & Permissions +# Bot tokens start with 'xoxb-', User tokens start with 'xoxp-' +SLACK_BOT_TOKEN=xoxb-your-bot-token-here + +# Slack Channel ID +# Find this by right-clicking on a channel in Slack -> View channel details +# Channel IDs start with 'C' (public channels), 'D' (direct messages), or 'G' (private channels) +SLACK_CHANNEL_ID=C04ABC123 + +# Example values (replace with your actual values): +# SLACK_BOT_TOKEN=xoxb-1234567890-1234567890-abcdefghijklmnopqrstuvwx +# SLACK_CHANNEL_ID=C04ABC123DEF456