Skip to content

Comments

Update readme#3

Merged
catchingstrays merged 1 commit intomainfrom
addourbot
Oct 21, 2025
Merged

Update readme#3
catchingstrays merged 1 commit intomainfrom
addourbot

Conversation

@catchingstrays
Copy link
Owner

No description provided.

@catchingstrays
Copy link
Owner Author

catchingstrays commented Oct 21, 2025

Code Review: PR #3 - "Update readme"

📋 Overview

This PR adds two important improvements:

  1. Bot invite link in README for easy server addition
  2. Claude Code folder added to .gitignore

Lines Changed: +7 / -0
Files Modified: 2


✅ What's Good

1. Bot Invite Link (README.md)

## Add to Your Server
**[Add CS2 Roast Bot to Your Discord Server](https://discord.com/oauth2/authorize?scope=bot+applications.commands&client_id=1430077771920441387)**

Excellent placement - Right after description, before features
Clear call-to-action - Makes it easy for users to add the bot
Proper OAuth scopes - Includes bot+applications.commands
Client ID exposed - This is fine, client IDs are public by design

2. Gitignore Update (.gitignore)

# Claude files
.claude/

Correct - Claude Code configuration should not be committed
Good practice - Keeps repository clean from IDE/tool configs


⚠️ Minor Issues Found

1. Missing Newline at End of File (.gitignore)

Current:

# Claude files
.claude/

(no newline at EOF)

Should be:

# Claude files
.claude/

(with newline)

Why: ESLint rule eol-last requires final newline. The linter will flag this.

Fix: Add a newline at the end of .gitignore


2. Missing Setup Instructions (README.md)

Current: Only shows the invite link

Suggestion: Add brief setup note:

## 🤖 Add to Your Server

**[Add CS2 Roast Bot to Your Discord Server](https://discord.com/oauth2/authorize?scope=bot+applications.commands&client_id=1430077771920441387)**

After adding, use `!setup #channel` to configure where roasts will be posted.

This helps new users know what to do after adding the bot.


🔍 Security Considerations

Client ID is public - Safe to expose (required for OAuth)
No tokens/secrets exposed - Bot token remains in .env
OAuth scopes appropriate - Only requests necessary permissions

Note: The OAuth URL should work correctly. The scopes requested are:

  • bot - Adds bot to server
  • applications.commands - Enables slash commands (though this bot uses prefix commands)

📝 Suggestions

1. Add Emoji to Section Header

Make it more visually appealing:

## 🤖 Add to Your Server

2. Consider Adding Permissions

Show what permissions the bot needs:

**Required Permissions**: Send Messages, Read Message History, Embed Links

3. Fix .gitignore Line Ending

Add final newline to comply with ESLint rules.


🧪 Testing Checklist

  • Verify OAuth link works (test in browser)
  • Check that .claude/ folder is properly ignored
  • Run npm run lint to catch the missing newline
  • Confirm README renders correctly on GitHub

✅ Recommendation

APPROVE with minor fix needed

Action Items:

  1. Merge-blocking: Add newline at end of .gitignore (will fail linting)
  2. 💡 Optional: Add setup instructions after invite link
  3. 💡 Optional: Add emoji to section header

Quick Fix:

# Fix the newline issue
echo '' >> .gitignore

📊 Overall Assessment

Good PR! The bot invite link is essential for public usage, and the .gitignore update is correct.

✅ Adds important functionality (invite link)
✅ Proper .gitignore hygiene
⚠️ One linting issue to fix (missing newline)
💡 Could benefit from setup instructions

Status: Approve after fixing the newline issue to pass CI/CD checks.

Great work! 🎉

@catchingstrays catchingstrays merged commit fcb15e8 into main Oct 21, 2025
3 checks passed
@catchingstrays catchingstrays deleted the addourbot branch October 21, 2025 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant