X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=sidebyside;f=js%2FpageMinichat%2Fcommandes.js;h=a8ee986e88112bd1a2b35317b4f1b4664e3e3bfb;hb=09608ab29e1c39ea51b51a5f8669dcde36efb306;hp=014b9bbba6d72f596b3b110328a803ab5149ccd6;hpb=8ee1535f5594573931ddaebee77bf6148a5358cb;p=euphorik.git diff --git a/js/pageMinichat/commandes.js b/js/pageMinichat/commandes.js index 014b9bb..a8ee986 100644 --- a/js/pageMinichat/commandes.js +++ b/js/pageMinichat/commandes.js @@ -27,20 +27,20 @@ * /nick * Modifie le pseudo courant */ -euphorik.Commandes = function(client, pageMinichat, util, formateur) { +euphorik.Commandes = function(client, pageMinichat, util, formater) { var thisCommandes = this; this.client = client; this.pageMinichat = pageMinichat; this.util = util; - this.formateur = formateur; + this.formater = formater; // construction du texte d'aide (liste des commandes) de manière statique this.texteAide = "

Commandes

"; @@ -71,6 +71,14 @@ euphorik.Commandes.liste = { pageMinichat.envoyerMessage("C'est pas faux"); return [euphorik.Commandes.statut.ok, '']; } + }, + "osef" : { + description : "Envoie le message \"On s'en fout !\"", + usage : "/osef", + exec : function(args, client, pageMinichat) { + pageMinichat.envoyerMessage("On s'en fout !"); + return [euphorik.Commandes.statut.ok, '']; + } } };