mirror of
https://github.com/HugeFrog24/go-telegram-bot.git
synced 2026-03-02 08:24:34 +00:00
Started implementing owner feature
This commit is contained in:
1
rate_limiter_test.go
Executable file → Normal file
1
rate_limiter_test.go
Executable file → Normal file
@@ -22,6 +22,7 @@ func TestCheckRateLimits(t *testing.T) {
|
||||
TempBanDuration: "1m", // Temporary ban duration of 1 minute for testing
|
||||
SystemPrompts: make(map[string]string),
|
||||
TelegramToken: "YOUR_TELEGRAM_BOT_TOKEN",
|
||||
OwnerTelegramID: 123456789,
|
||||
}
|
||||
|
||||
// Initialize the Bot with mock data and MockClock
|
||||
|
||||
Reference in New Issue
Block a user