C# Class qtbot.Modules.YouTube

Exibir arquivo Open project: stepperman/HB-Discord-Bot

Public Properties

Property Type Description
FindYouTubeVideo Task>.Func

Public Methods

Method Description
ReceivedMessageAsync ( IMessage message ) : System.Threading.Tasks.Task

Private Methods

Method Description
FindUser ( ulong userID ) : YouTubeSelector
UpdateList ( ) : void

Clear the list for users that haven't messaged longer than the waiting time.

WaitingOnUser ( ulong userID ) : bool

Check to see if already waiting on the user to send a message..

Method Details

ReceivedMessageAsync() public static method

public static ReceivedMessageAsync ( IMessage message ) : System.Threading.Tasks.Task
message IMessage
return System.Threading.Tasks.Task

Property Details

FindYouTubeVideo public_oe static_oe property

Find a YouTube video.
public static Func FindYouTubeVideo
return Task>.Func