Skip to content

Commit

Permalink
TaskKillの部分を仮で追加
Browse files Browse the repository at this point in the history
  • Loading branch information
ca45382 committed Aug 10, 2021
1 parent 6fc755e commit faea099
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Script/ClanBattle/BattleTaskKill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,6 @@ private async Task SyncTaskKillRole()
}

private async Task SuccessAddEmoji()
=> await m_UserMessage.AddReactionAsync(new Emoji(ReactionType.Success.ToLabel()));
=> await m_UserMessage.AddReactionAsync(ReactionType.Success.ToEmoji());
}
}
6 changes: 6 additions & 0 deletions Script/Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,5 +370,11 @@ public static async Task StartDeclare(CommandEventArgs commandEventArgs)

await new BattleDeclaration(commandEventArgs.ClanData, commandEventArgs.SocketUserMessage, BossNumber).RunDeclarationCommandByMessage();
}

[Command(compatibleChannels: ChannelFeatureType.TaskKillID)]
public static async Task StartTaskkill(CommandEventArgs commandEventArgs)
{
await new BattleTaskKill(commandEventArgs.ClanData, commandEventArgs.SocketUserMessage).RunByMessageCommands();
}
}
}

0 comments on commit faea099

Please sign in to comment.