Skip to content

Commit 977b71a

Browse files
committed
Added more SCOTTS
1 parent fa24690 commit 977b71a

File tree

3 files changed

+41
-72
lines changed

3 files changed

+41
-72
lines changed

Fritz.Chatbot/Commands/ScottCommand.cs

Lines changed: 0 additions & 47 deletions
This file was deleted.

Fritz.Chatbot/FritzBot.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ private async Task ProcessChatMessage(object sender, ChatMessageEventArgs chatMe
128128

129129
if (await HandleExtendedCommands(chatService, chatMessageArgs, user))
130130
{
131+
_logger.LogDebug($"Handled with extended command: {chatMessageArgs.Message}");
131132
return;
132133
}
133134

@@ -173,6 +174,7 @@ private async ValueTask<bool> HandleBasicCommands(IChatService chatService, Chat
173174
// Ignore if the normal user is sending commands to fast, or command is in cooldown
174175
if (CommandsTooFast(chatMessageArgs, user, cmd.Trigger, cmd.Cooldown))
175176
{
177+
_logger.LogDebug($"CommandTooFast: {cmd.Trigger}");
176178
return true;
177179
}
178180

Fritz.StreamTools/appsettings.json

Lines changed: 39 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"TitleRegex": "",
4444
"PageTitleMessageTemplate": ""
4545
},
46-
"SentimentAnalysisKey": "I'M NOT TYPING HERE...",
46+
"SentimentAnalysisKey": "I'M NOT TYPING HERE...",
4747
"HypeCommand": {
4848
"TemplateText": "PartyPopper PartyPopper HYPE! PartyPopper PartyPopper ",
4949
"RepeatCount": 3
@@ -57,34 +57,48 @@
5757
"DefaultText": "nothing! Are we not working on anything @csharpfritz?"
5858
},
5959
"SoundFxCommands": {
60-
"ohmy":
61-
{
62-
"response": "Oh my... something strange is happening",
63-
"file": "ohmy.mp3",
64-
"cooldown": 30
65-
},
66-
"andthen": {
67-
"response": "... and then ...",
68-
"files": [
69-
"andthen1.mp3",
70-
"andthen2.mp3",
71-
"andthen3.mp3",
72-
"andthen4.mp3",
73-
"andthen5.mp3",
74-
"andthen6.mp3"
75-
],
76-
"cooldown": 120
77-
},
78-
"javascript": {
79-
"response": "Horses LOVE JavaScript!",
80-
"file": "javascript.mp3",
81-
"cooldown": 30
82-
},
60+
"ohmy": {
61+
"response": "Oh my... something strange is happening",
62+
"file": "ohmy.mp3",
63+
"cooldown": 30
64+
},
65+
"andthen": {
66+
"response": "... and then ...",
67+
"files": [
68+
"andthen1.mp3",
69+
"andthen2.mp3",
70+
"andthen3.mp3",
71+
"andthen4.mp3",
72+
"andthen5.mp3",
73+
"andthen6.mp3"
74+
],
75+
"cooldown": 120
76+
},
77+
"javascript": {
78+
"response": "Horses LOVE JavaScript!",
79+
"file": "javascript.mp3",
80+
"cooldown": 30
81+
},
8382
"rimshot": {
8483
"response": "Ba Dum Tish!",
8584
"file": "rimshot.mp3",
8685
"cooldown": 60
8786
},
87+
"scott": {
88+
"response": "PAGING SCOTTTTTT!!!",
89+
"files": [
90+
"Scott!!.mp3",
91+
"doctorscott.mp3",
92+
"greatscott_1.mp3",
93+
"greatscott_2.mp3",
94+
"greatscott_3.mp3",
95+
"greatscott_4.mp3",
96+
"greatscott_5.mp3",
97+
"greatscott_6.mp3",
98+
"greatscott_7.mp3"
99+
],
100+
"cooldown": 300
101+
},
88102
"squirrel": {
89103
"response": "Hey look, a SQUIRREL! Jeff's not distracted AT ALL",
90104
"file": "squirrel.mp3",
@@ -95,7 +109,7 @@
95109
"file": "gibberish.mp3",
96110
"cooldown": 60
97111
}
98-
},
112+
},
99113
"TextCommand": [
100114
{
101115
"command": "blog",

0 commit comments

Comments
 (0)