Merge branch 'beelzebub' of git.aiterp.net:Lucifer3/Server into beelzebub
This commit is contained in:
+3
-2
@@ -7,11 +7,12 @@ import (
|
||||
)
|
||||
|
||||
type PairDevice struct {
|
||||
ID string `json:"id"`
|
||||
ID string `json:"id"`
|
||||
APIKey string `json:"apiKey"`
|
||||
}
|
||||
|
||||
func (c PairDevice) CommandDescription() string {
|
||||
return fmt.Sprintf("PairDevice(%s)", c.ID)
|
||||
return fmt.Sprintf("PairDevice(%s, %s)", c.ID, formattools.Asterisks(c.APIKey))
|
||||
}
|
||||
|
||||
func (c PairDevice) Matches(driver string) (sub string, ok bool) {
|
||||
|
||||
Reference in New Issue
Block a user