Skip to content

Commit 3113f3a

Browse files
authored
Update TipModule.cs
1 parent 0078401 commit 3113f3a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

DiscordBot/Modules/TipModule.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,12 @@ public async Task ListTips(params string[] keywords)
180180
var termList = new List<string>();
181181
foreach (var tip in terms.OrderBy(k => k))
182182
termList.Add(tip);
183+
floodCount = 8;
183184
while (termList.Count > 0)
184185
{
185186
int count = termList.Count;
186-
if (count > 150)
187-
count = 150-10;
187+
if (count > floodCount)
188+
count = floodCount-2;
188189
string keywordList = "Keywords: ";
189190
for (int i = 0; i < count; i++)
190191
{

0 commit comments

Comments
 (0)