args

package
v0.0.0-...-608579b Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package args ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RawArguments

type RawArguments struct {
	Argument string
}

RawArguments represents a Raw Arguments argument.

func (*RawArguments) Format

func (r *RawArguments) Format(field string) string

func (*RawArguments) ParseContent

func (r *RawArguments) ParseContent(args string) error

func (*RawArguments) String

func (r *RawArguments) String() string

type UserMention

type UserMention string

UserMention represents a User Mention argument.

func (*UserMention) Format

func (m *UserMention) Format(field string) string

func (*UserMention) Parse

func (m *UserMention) Parse(arg string) error

func (*UserMention) Snowflake

func (m *UserMention) Snowflake() disgord.Snowflake

Snowflake returns a disgord.Snowflake for the User Mention.

Jump to

Keyboard shortcuts

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