mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-07-19 13:54:44 -04:00
[PR #172] [CLOSED] update the pr command to prevent excessive spam #256
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/RPCS3/discord-bot/pull/172
Author: @apache-hb
Created: 1/14/2019
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
078cf95update the pr command to prevent excessive spama6c86afalso extract the min search length out to a variable📊 Changes
1 file changed (+9 additions, -2 deletions)
View changed files
📝
CompatBot/Commands/Pr.cs(+9 -2)📄 Description
it limits the usage to once per minute per user, blocking one character searches and only creating an embed with the first 5 open pr's in it
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.