1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 01:26:41 +02:00
This commit is contained in:
syuilo
2017-10-08 03:36:34 +09:00
parent b18e4fea98
commit 0f7a7a4ebb

View File

@@ -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');
}