Преглед на файлове

feat(restapi): reworded comment of GuildApplicationCommandsPermissions

Fedor Lapshin преди 3 години
родител
ревизия
e39ed2f8ce
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      restapi.go

+ 1 - 1
restapi.go

@@ -2282,7 +2282,7 @@ func (s *Session) ApplicationCommands(appID, guildID string) (cmd []*Application
 	return
 }
 
-// GuildApplicationCommandsPermissions returns permissions for all application commands in a guild.
+// GuildApplicationCommandsPermissions returns permissions for application commands in a guild.
 // appID       : The application ID
 // guildID     : Guild ID to retrieve application commands permissions for.
 func (s *Session) GuildApplicationCommandsPermissions(appID, guildID string) (permissions []*GuildApplicationCommandPermissions, err error) {