Skip to content

Commit 7b41791

Browse files
committed
Added clouds special command.
1 parent 0deae8f commit 7b41791

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Beef/Application.cs

+6
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ private Boolean IsLeader(SocketUser socketUser) {
6363
}
6464

6565
private void HandleCommand(SocketMessage userInput) {
66+
// This is for Cloud...
67+
if (userInput.Content.StartsWith("I love you Beef bot!", StringComparison.CurrentCultureIgnoreCase)) {
68+
MessageChannel(userInput.Channel, "I love you too babe.").GetAwaiter().GetResult();
69+
return;
70+
}
71+
6672
// Make sure it starts with ".beef" as an optimization
6773
if (String.IsNullOrEmpty(userInput.Content) || !userInput.Content.StartsWith(_botPrefix + "beef"))
6874
return;

0 commit comments

Comments
 (0)