File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,10 @@ pub(crate) fn slow_mode(args: Args) -> Result<()> {
76
76
}
77
77
78
78
pub ( crate ) fn slow_mode_help ( args : Args ) -> Result < ( ) > {
79
- let help_string = format ! (
80
- "
79
+ let help_string = "
81
80
Set slowmode on a channel
82
81
```
83
- {command }
82
+ ?slowmode {channel} {seconds }
84
83
```
85
84
**Example:**
86
85
```
@@ -92,10 +91,7 @@ will set slowmode on the `#bot-usage` channel with a delay of 10 seconds.
92
91
```
93
92
?slowmode #bot-usage 0
94
93
```
95
- will disable slowmode on the `#bot-usage` channel.
96
- " ,
97
- command = "?slowmode {channel} {seconds}" ,
98
- ) ;
94
+ will disable slowmode on the `#bot-usage` channel." ;
99
95
send_reply ( & args, & help_string) ?;
100
96
Ok ( ( ) )
101
97
}
@@ -122,21 +118,16 @@ pub(crate) fn kick(args: Args) -> Result<()> {
122
118
}
123
119
124
120
pub ( crate ) fn kick_help ( args : Args ) -> Result < ( ) > {
125
- let help_string = format ! (
126
- "
121
+ let help_string = "
127
122
Kick a user from the guild
128
123
```
129
- {command }
124
+ ?kick {user }
130
125
```
131
126
**Example:**
132
127
```
133
128
?kick @someuser
134
129
```
135
- will kick a user from the guild.
136
- " ,
137
- command = "?kick {user}"
138
- ) ;
139
-
130
+ will kick a user from the guild." ;
140
131
send_reply ( & args, & help_string) ?;
141
132
Ok ( ( ) )
142
133
}
You can’t perform that action at this time.
0 commit comments