Documentation ¶
Index ¶
- Variables
- func ClearCommand(a core.CommandArgs, v []string) bool
- func RedditCommand(a core.CommandArgs, v []string) bool
- func VoteCommand(a core.CommandArgs, v []string) bool
- type Agency
- type AgencyType
- type Calendar
- type EventType
- type Failure
- type Launch
- type LaunchEvent
- type LaunchStatus
- type Location
- type Mission
- type MissionEvent
- type MissionType
- type Pad
- type Rocket
- type SubredditPosts
Constants ¶
This section is empty.
Variables ¶
View Source
var Connection = prest.New()
View Source
var VEWords = strings.Split(`:zero: :one: :two: :three: :four: :five: :six: :seven: :eight: :nine: :regional_indicator_a: :regional_indicator_b: :regional_indicator_c: :regional_indicator_d: :regional_indicator_e: :regional_indicator_f: :regional_indicator_g: :regional_indicator_h: :regional_indicator_i: :regional_indicator_j: :regional_indicator_k: :regional_indicator_l: :regional_indicator_m: :regional_indicator_n: :regional_indicator_o: :regional_indicator_p: :regional_indicator_q: :regional_indicator_r: :regional_indicator_s: :regional_indicator_t: :regional_indicator_u: :regional_indicator_v: :regional_indicator_w: :regional_indicator_x: :regional_indicator_y: :regional_indicator_z:`, " ")
View Source
var VoteEmotes = strings.Split(`0⃣ 1⃣ 2⃣ 3⃣ 4⃣ 5⃣ 6⃣ 7⃣ 8⃣ 9⃣ 🇦 🇧 🇨 🇩 🇪 🇫 🇬 🇭 🇮 🇯 🇰 🇱 🇲 🇳 🇴 🇵 🇶 🇷 🇸 🇹 🇺 🇻 🇼 🇽 🇾 🇿`, " ")
Functions ¶
func ClearCommand ¶
func ClearCommand(a core.CommandArgs, v []string) bool
func RedditCommand ¶
func RedditCommand(a core.CommandArgs, v []string) bool
func VoteCommand ¶
func VoteCommand(a core.CommandArgs, v []string) bool
Types ¶
type AgencyType ¶
type Launch ¶
type Launch struct { Offset int `json:"offset"` Count int `json:"count"` Total int `json:"total"` Launches []struct { ID int `json:"id"` Name string `json:"name"` Windowstart string `json:"windowstart"` Windowend string `json:"windowend"` Net string `json:"net"` Wsstamp int `json:"wsstamp"` Westamp int `json:"westamp"` Netstamp int `json:"netstamp"` Isostart string `json:"isostart"` Isoend string `json:"isoend"` Isonet string `json:"isonet"` Status int `json:"status"` Inhold int `json:"inhold"` Tbdtime int `json:"tbdtime"` VidURLs []string `json:"vidURLs"` //depricated?? VidURL string `json:"vidURL"` InfoURLs []string `json:"infoURLs"` InfoURL string `json:"infoURL"` Holdreason string `json:"holdreason"` Failreason string `json:"failreason"` //depricated?? Tbddate int `json:"tbddate"` Probability int `json:"probability"` Hashtag string `json:"hashtag"` Location Location `json:"location"` Rocket Rocket `json:"rocket"` Missions []Mission `json:"missions"` } `json:"launches"` }
type LaunchEvent ¶
type LaunchStatus ¶
type MissionEvent ¶
type MissionType ¶
type Rocket ¶
type Rocket struct { ID int `json:"id"` Name string `json:"name"` Configuration string `json:"configuration"` Familyname string `json:"familyname"` Agencies []Agency `json:"agencies"` WikiURL string `json:"wikiURL"` InfoURLs []string `json:"infoURLs"` //depricated?? ImageURL string `json:"imageURL"` ImageSizes []int `json:"imageSizes"` }
type SubredditPosts ¶
type SubredditPosts struct { Kind string `json:"kind"` Data struct { Modhash string `json:"modhash"` Children []struct { Kind string `json:"kind"` Data struct { ContestMode bool `json:"contest_mode"` SubredditNamePrefixed string `json:"subreddit_name_prefixed"` ThumbnailWidth int `json:"thumbnail_width"` Subreddit string `json:"subreddit"` SelftextHTML string `json:"selftext_html"` Selftext string `json:"selftext"` Likes int `json:"likes,omitepmty"` SuggestedSort string `json:"suggested_sort"` ID string `json:"id"` ViewCount int `json:"view_count,-"` Clicked bool `json:"clicked"` Author string `json:"author"` Saved bool `json:"saved"` Name string `json:"name"` Score int `json:"score"` Over18 bool `json:"over_18"` Domain string `json:"domain"` Hidden bool `json:"hidden"` Thumbnail string `json:"thumbnail"` SubredditID string `json:"subreddit_id"` Edited interface{} `json:"edited"` AuthorFlairCSSClass string `json:"author_flair_css_class"` Gilded int `json:"gilded"` Downs int `json:"downs"` BrandSafe bool `json:"brand_safe"` Archived bool `json:"archived"` CanGild bool `json:"can_gild"` HideScore bool `json:"hide_score"` Spoiler bool `json:"spoiler"` Permalink string `json:"permalink"` Locked bool `json:"locked"` Stickied bool `json:"stickied"` Created float64 `json:"created"` URL string `json:"url"` AuthorFlairText string `json:"author_flair_text"` Quarantine bool `json:"quarantine"` Title string `json:"title"` CreatedUtc float64 `json:"created_utc"` NumComments int `json:"num_comments"` IsSelf bool `json:"is_self"` Visited bool `json:"visited"` SubredditType string `json:"subreddit_type"` Ups int `json:"ups"` } `json:"data"` } `json:"children"` After string `json:"after"` Before interface{} `json:"before"` } `json:"data"` }
Click to show internal directories.
Click to hide internal directories.