cmd

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands(msg *disgord.Message, s disgord.Session, c *deepl.Client, mdb *mongo.Collection, client *disgord.Client)

Commands is a command manager. It simply calls the appropriate function based on the command.

func Dpl

func Dpl(msg *disgord.Message, s disgord.Session, c *deeplgo.Client)

Dpl uses the Translate function to translate text to a requested language.

func Dpla

func Dpla(msg *disgord.Message, s disgord.Session, c *deeplgo.Client)

Dpla uses the AutoTranslate function to translate text to English (British).

func Gtr added in v1.1.0

func Gtr(msg *disgord.Message, s disgord.Session)

Gtr uses the Translate function to translate text to a requested language.

func Gtra added in v1.2.0

func Gtra(msg *disgord.Message, s disgord.Session)

Gtr uses the Translate function to translate text to a requested language.

Types

This section is empty.

Jump to

Keyboard shortcuts

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