If a friend has had too much to drink and wants to ride their motorcycle, you should:

Never let someone ride if they have had too much to drink. Do whatever you can to prevent them from riding, including taking their keys, if necessary. Arrange an alternative way for them to get home.
DMV Writen Test