Skip to content

Commit ecc057a

Browse files
test commit
1 parent d5356ea commit ecc057a

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

docs/src/user-guide/permissions.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,50 @@
11
# Permissions
2+
3+
GitCord uses Discord's permission system. You need different permissions for different commands.
4+
5+
## Permission Levels
6+
7+
### No Permissions Needed
8+
Anyone can use these commands:
9+
- `!hello` - Say hello
10+
- `!ping` / `/slashping` - Check if bot works
11+
- `!help` / `/help` - Show help
12+
13+
### Manage Channels
14+
You need "Manage Channels" permission for:
15+
- `!createchannel` - Create channels
16+
- `!createcategory` / `/createcategory` - Create categories
17+
18+
### Administrator
19+
You need "Administrator" permission for:
20+
- `!fetchurl` / `/fetchurl` - Get text from websites
21+
- `!synccommands` / `/synccommands` - Update slash commands
22+
23+
## Setting Up Permissions
24+
25+
### For Server Admins
26+
1. Create roles for different permission levels
27+
2. Give "Manage Channels" to moderators
28+
3. Give "Administrator" only to trusted admins
29+
4. Test with different user accounts
30+
31+
### Recommended Roles
32+
```
33+
Server Owner (Administrator)
34+
├── Bot Admin (Administrator)
35+
├── Moderator (Manage Channels)
36+
└── Member (No special permissions)
37+
```
38+
39+
## Security Tips
40+
41+
- Only give permissions that are needed
42+
- Regularly check who has what permissions
43+
- Remove permissions when people don't need them
44+
- Use roles instead of individual permissions
45+
46+
## Common Issues
47+
48+
- **"Permission denied"**: You need the right permission
49+
- **"Bot can't do that"**: Bot needs the right permissions
50+
- **"Role hierarchy"**: Bot's role must be above roles it manages

0 commit comments

Comments
 (0)