From 7b7b45cfba2c2e53057bc46ab9d6a837fd1d3602 Mon Sep 17 00:00:00 2001 From: Chris Rhodes Date: Tue, 4 Oct 2016 20:01:50 -0700 Subject: [PATCH] Fix lint warnings. --- restapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restapi.go b/restapi.go index 337a7f8..f4ffaf1 100644 --- a/restapi.go +++ b/restapi.go @@ -376,9 +376,9 @@ func (s *Session) UserGuildSettingsEdit(guildID string, settings *UserGuildSetti return } +// UserChannelPermissions returns the permission of a user in a channel. // NOTE: This function is now deprecated and will be removed in the future. // Please see the same function inside state.go -// UserChannelPermissions returns the permission of a user in a channel. // userID : The ID of the user to calculate permissions for. // channelID : The ID of the channel to calculate permission for. func (s *Session) UserChannelPermissions(userID, channelID string) (apermissions int, err error) {