This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package rate_limiter | |
| import ( | |
| "github.com/labstack/echo/v4" | |
| "golang.org/x/time/rate" | |
| "net/http" | |
| "time" | |
| ) | |
| var ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package storage | |
| import ( | |
| "cloud.google.com/go/storage" | |
| "context" | |
| "fmt" | |
| "github.com/google/uuid" | |
| "io" | |
| "mime/multipart" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "github.com/bwmarrin/discordgo" | |
| ) | |
| func sendDM(userID string, content string, session *discordgo.Session) { | |
| DMChannel, err := session.UserChannelCreate(userID) | |
| if err != nil { | |
| return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! Title: All Facebook Crap | |
| ||facebook.com | |
| ||facebook.net | |
| ||fbcdn.net | |
| ||fbcdn.com | |
| ||fb.com | |
| ||fbcdn-profile-a.akamaihd.net | |
| ||spot.im | |
| ! |