mcbot/cmds/dict.lua
changeset 66 d9c00a9fe9d5
parent 42 99477d3c2dda
equal deleted inserted replaced
65:2cefbe9f3ac6 66:d9c00a9fe9d5
       
     1 
       
     2 --  This module is part of the McBot / mcabbot project
       
     3 --
       
     4 -- Copyright (C) 2010-2012 Mikael Berthe <mikael@lilotux.net>
       
     5 --
       
     6 -- This program is free software; you can redistribute it and/or modify
       
     7 -- it under the terms of the GNU General Public License as published by
       
     8 -- the Free Software Foundation; either version 2 of the License, or (at
       
     9 -- your option) any later version.
       
    10 --
       
    11 -- Please check the license in the COPYING file at the root of the tree.
       
    12 --
     1 
    13 
     2 local dict = { ["desc"] = "Dictionnary" }
    14 local dict = { ["desc"] = "Dictionnary" }
     3 
    15 
     4 function dict.cmd (args)
    16 function dict.cmd (args)
     5     if not args then return nil, "Give me a word, please" end
    17     if not args then return nil, "Give me a word, please" end