mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-25 07:36:18 +09:00
✌️
This commit is contained in:
parent
021aaa91e6
commit
49dcfb7c1d
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user