File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ko_fi : fabiothefox
Original file line number Diff line number Diff line change 1+ name : Dev Test
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - dev
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v2
15+
16+ - name : Setup .NET
17+ uses : actions/setup-dotnet@v1
18+ with :
19+ dotnet-version : ' 7.x'
20+
21+ - name : Restore dependencies
22+ run : dotnet restore
23+
24+ - name : Build and test
25+ run : dotnet build --configuration Release && dotnet test --no-build --verbosity normal
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public enum LogLevels
2828 }
2929
3030 private Amino . Client AminoClient ;
31- public int InteractionCooldown = 2000 ;
31+ public int InteractionCooldown { get ; } = 2000 ;
3232 public string InteractionPrefix = "/" ;
3333
3434 public bool IgnoreSelf = true ;
@@ -59,7 +59,6 @@ public InteractionsClient(Amino.Client client)
5959
6060 private void HandleMessageSocket ( Amino . Objects . Message message )
6161 {
62- Console . WriteLine ( message . content ) ;
6362 if ( message . content . StartsWith ( InteractionPrefix ) )
6463 {
6564 if ( InteractionModules . ContainsKey ( message . content . Substring ( InteractionPrefix . Length ) . Split ( " " ) [ 0 ] ) )
You can’t perform that action at this time.
0 commit comments