performs the given discord request and then returns the value of its return . handles missingpermissionsexception and discordexception concode_field_sep IDiscordClient client concode_elem_sep Logger LOGGER concode_field_sep IMessage sendFile concode_elem_sep List<IMessage> getPinnedMessages concode_elem_sep IChannel createChannel concode_elem_sep void pinMessage concode_elem_sep IMessage sendMessage concode_elem_sep IMessage sendMessage concode_elem_sep List<IMessage> sendMessage concode_elem_sep void deleteMessage concode_elem_sep void deleteMessage concode_elem_sep void changeTopic concode_elem_sep MessageBuilder getMessageBuilder concode_elem_sep boolean isAuthorOfMessage concode_elem_sep IMessage updateMessage concode_elem_sep List<IMessage> updateMessage concode_elem_sep void deleteChannel
T function ( DiscordRequest < T > arg0 , String arg1 , T arg2 ) { return RequestBuffer . arg0 ( ( ) -> { try { return arg0 . perform ( ) ; } catch ( MissingPermissionsException | DiscordException | NullPointerException loc0 ) { LOGGER . warn ( arg1 , loc0 ) ; return arg2 ; } } ) . get ( ) ; }