@@ -5,17 +5,17 @@ class Plugin(BasePlugin):
5
5
Adds several convenient aliases to /status command
6
6
"""
7
7
def init (self ):
8
- self .add_command ('dnd' , lambda line : self .core .command_status ('dnd ' + line ),
8
+ self .add_command ('dnd' , lambda line : self .core .command_status ('dnd " ' + line + '"' ),
9
9
'/dnd [status message]\n Dnd: Set your status as dnd (do not disturb).' )
10
- self .add_command ('busy' , lambda line : self .core .command_status ('busy ' + line ),
10
+ self .add_command ('busy' , lambda line : self .core .command_status ('busy " ' + line + '"' ),
11
11
'/busy [status message]\n Busy: Set your status as busy.' )
12
- self .add_command ('chat' , lambda line : self .core .command_status ('chat ' + line ),
12
+ self .add_command ('chat' , lambda line : self .core .command_status ('chat " ' + line + '"' ),
13
13
'/chat [status message]\n Chat: Set your status as chatty.' )
14
- self .add_command ('xa' , lambda line : self .core .command_status ('xa ' + line ),
14
+ self .add_command ('xa' , lambda line : self .core .command_status ('xa " ' + line + '"' ),
15
15
'/xa [status message]\n Xa: Set your status as xa (eXtended away).' )
16
- self .add_command ('afk' , lambda line : self .core .command_status ('afk ' + line ),
16
+ self .add_command ('afk' , lambda line : self .core .command_status ('afk " ' + line + '"' ),
17
17
'/afk [status message]\n Afk: Set your status as afk (away from keyboard).' )
18
- self .add_command ('away' , lambda line : self .core .command_status ('away ' + line ),
18
+ self .add_command ('away' , lambda line : self .core .command_status ('away " ' + line + '"' ),
19
19
'/away [status message]\n Away: Set your status as away.' )
20
- self .add_command ('available' , lambda line : self .core .command_status ('available ' + line ),
20
+ self .add_command ('available' , lambda line : self .core .command_status ('available " ' + line + '"' ),
21
21
'/available [status message]\n Available: Set your status as available.' )
0 commit comments