You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Commands/Modules/BotOwner/SetStreamCommand.cs
+10-9
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,16 @@ public sealed partial class BotOwnerModule
10
10
{
11
11
[Command("SetStream")]
12
12
[Description("Sets the bot's stream via Twitch username and Stream name, respectively.")]
13
-
publicTask<ActionResult>SetStreamAsync([Description("The Twitch username to link to in the status.")]stringstream,[Remainder,Description("The stream title to show.")]stringgame=null)
14
-
{
15
-
return!game.IsNullOrWhitespace()
13
+
publicTask<ActionResult>SetStreamAsync([Description("The Twitch username to link to in the status.")]
14
+
stringstream,[Remainder,Description("The stream title to show.")]
15
+
stringgame=null)
16
+
=>!game.IsNullOrWhitespace()
16
17
?Ok(
17
-
$"Set the bot's game to **{game}**, and the Twitch URL to **[{stream}](https://twitch.tv/{stream})**.",
Copy file name to clipboardExpand all lines: src/Commands/Modules/Moderation/VerifyCommand.cs
+12-9
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,10 @@ public partial class ModerationModule
12
12
{
13
13
[Command("Verify","V")]
14
14
[Description("Verifies a member.")]
15
-
publicasyncTask<ActionResult>VerifyAsync([Remainder,EnsureNotSelf,Description("The user to verify; by removing the Unverified role and granting the Verified role.")]SocketGuildUsermember)
15
+
publicasyncTask<ActionResult>VerifyAsync(
16
+
[Remainder,EnsureNotSelf,
17
+
Description("The user to verify; by removing the Unverified role and granting the Verified role.")]
18
+
SocketGuildUsermember)
16
19
{
17
20
vare=Context.CreateEmbedBuilder($"You've been verified in **{Context.Guild.Name}**.");
0 commit comments