Skip to content

send-rolecard doesn't work with game name, only threadid #175

Description

@dangerusslee

socket.io-parser decoded 2["event:new_notification",{"bodyShort":"[[notifications:user_posted_to, dangeRuss, [Run Townie Run Mafia] Club Ded]]","bodyLong":"

test rolecard
\n!send-rolecard dangeruss in Run_Mafia

\n","pid":1069072,"path":"/post/1069072","nid":"new_post:tid:21587:pid:1069072:uid:141570","tid":21587,"from":141570,"mergeId":"notifications:user_posted_to|21587","topicTitle":"[Run Townie Run Mafia] Club Ded","importance":5,"datetime":1483484185166,"cid":"32"}] as {"type":2,"nsp":"/","data":["event:new_notification",{"bodyShort":"[[notifications:user_posted_to, dangeRuss, [Run Townie Run Mafia] Club Ded]]","bodyLong":"

test rolecard
\n!send-rolecard dangeruss in Run_Mafia

\n","pid":1069072,"path":"/post/1069072","nid":"new_post:tid:21587:pid:1069072:uid:141570","tid":21587,"from":141570,"mergeId":"notifications:user_posted_to|21587","topicTitle":"[Run Townie Run Mafia] Club Ded","importance":5,"datetime":1483484185166,"cid":"32"}]} +20s
socket.io-client:socket emitting event ["event:new_notification",{"bodyShort":"[[notifications:user_posted_to, dangeRuss, [Run Townie Run Mafia] Club Ded]]","bodyLong":"

test rolecard
\n!send-rolecard dangeruss in Run_Mafia

\n","pid":1069072,"path":"/post/1069072","nid":"new_post:tid:21587:pid:1069072:uid:141570","tid":21587,"from":141570,"mergeId":"notifications:user_posted_to|21587","topicTitle":"[Run Townie Run Mafia] Club Ded","importance":5,"datetime":1483484185166,"cid":"32"}] +20s
[2017-01-03T22:56:25.528Z] Notification new_post:tid:21587:pid:1069072:uid:141570: [[notifications:user_posted_to, dangeRuss, [Run Townie Run Mafia] Club Ded]] received
sockbot:commands executing command "send-rolecard" +20s
sockbot:provider:nodebb:user retrieving user by id: 141570 +2ms
socket.io-client:socket emitting packet with ack id 2 +19ms
socket.io-client:manager writing packet {"type":2,"data":["user.getUserByUID",141570],"options":{"compress":true},"id":2,"nsp":"/"} +0ms
socket.io-parser encoding packet {"type":2,"data":["user.getUserByUID",141570],"options":{"compress":true},"id":2,"nsp":"/"} +19ms
socket.io-parser encoded {"type":2,"data":["user.getUserByUID",141570],"options":{"compress":true},"id":2,"nsp":"/"} as 22["user.getUserByUID",141570] +0ms
sockbot:mafia:dao Searching for game by alias t_run_mafia +20s
sockbot:mafia:dao No game found! +1ms
sockbot:mafia:modController Error occurred sending rolecard E_NO_GAME +1ms
`
Under aliases it has

"aliases": [
                    "run_mafia",
                    "t_21590",
                    "t_21587",
                    "c_7189"
            ]

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions