schat2-clive/src/games/ping.js

11 lines
178 B
JavaScript
Executable File

'use strict';
function onCommand(args, context) {
context.sendMessage(`Pong, @${context.user.username}!`, context.room.id);
}
module.exports = {
name: 'Ping',
onCommand,
};