fix QQ转账
This commit is contained in:
parent
0945e5919c
commit
d0db04b093
@ -385,8 +385,10 @@ var codeSignals = []CodeSignal{
|
|||||||
Admin: true,
|
Admin: true,
|
||||||
Handle: func(sender *Sender) interface{} {
|
Handle: func(sender *Sender) interface{} {
|
||||||
qq := Int(sender.Contents[0])
|
qq := Int(sender.Contents[0])
|
||||||
|
logs.Info(qq)
|
||||||
if len(sender.Contents) > 1 {
|
if len(sender.Contents) > 1 {
|
||||||
sender.Contents = sender.Contents[1:]
|
sender.Contents = sender.Contents[1:]
|
||||||
|
logs.Info(sender.Contents)
|
||||||
AdddCoin(qq, Int(sender.Contents[1]))
|
AdddCoin(qq, Int(sender.Contents[1]))
|
||||||
sender.Reply(fmt.Sprintf("你获得%d枚互助值。", Int(sender.Contents[1])))
|
sender.Reply(fmt.Sprintf("你获得%d枚互助值。", Int(sender.Contents[1])))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user