add variable system + fix bugs here and there.
This commit is contained in:
+4
-4
@@ -5,8 +5,8 @@ import (
|
||||
)
|
||||
|
||||
type AddAlias struct {
|
||||
Match string
|
||||
Alias string
|
||||
Match string `json:"match"`
|
||||
Alias string `json:"alias"`
|
||||
}
|
||||
|
||||
func (c AddAlias) CommandDescription() string {
|
||||
@@ -14,8 +14,8 @@ func (c AddAlias) CommandDescription() string {
|
||||
}
|
||||
|
||||
type RemoveAlias struct {
|
||||
Match string
|
||||
Alias string
|
||||
Match string `json:"match"`
|
||||
Alias string `json:"alias"`
|
||||
}
|
||||
|
||||
func (c RemoveAlias) CommandDescription() string {
|
||||
|
||||
Reference in New Issue
Block a user