Skip to content
Snippets Groups Projects
Commit 0f7a7a4e authored by syuilo's avatar syuilo
Browse files

✌️

parent b18e4fea
No related branches found
No related tags found
No related merge requests found
......@@ -275,8 +275,13 @@ class PostContext extends Context {
class OthelloContext extends Context {
private othello: Othello = null;
public async greet(): Promise<string> {
constructor(bot: BotCore) {
super(bot);
this.othello = new Othello();
}
public async greet(): Promise<string> {
return this.othello.toPatternString('black');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment