google

package
v0.0.0-...-07de05f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserAgent = "Mozilla/5.0 (Windows NT 6.3; Win64; x64) Gecko/20100101 Firefox/53."
	BaseUrl   = "https://www.google.com"
	SearchUrl = BaseUrl + "/search"
)

based on https://github.com/devsnek/googlebot/blob/rewrite/src/util/google.js

View Source
const (
	GoogleFriendlyUrl = "https://www.google.com/search"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
}

func (*Handler) Action

func (h *Handler) Action(command string, content string, msg *discordgo.Message, session *discordgo.Session)

func (*Handler) Commands

func (h *Handler) Commands() []string

func (*Handler) Init

func (h *Handler) Init(session *shardmanager.Manager)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL