natalya's People
natalya's Issues
Amove Us の 移動機能にテストがほしい
各チャンネルと行き先で
s.RequestWithBucketID()
部分はモックってやつでなんとかなりませんかね……?
jsonタグ書く
map: &map[NumberOfPoets:2 Poems:[map[PoemRunes:[map[PoetID:3 Rune:あ] map[PoetID:4 Rune:い]]] map[PoemRunes:[map[PoetID:4 Rune:あ]]]] Poets:[map[ID:3 NextPoemNumber:1] map[ID:4 NextPoemNumber:2]] Stage:2 Status:1 _refID:2]
game:{_refID: Status:0 Stage:0 NumberOfPoets:0 Poets:[] Poems:[]}
log の Error, Fatal に ファイル名、行番号、関数名 など記載する
Fix FinishStage
lobby にいるとき muteボタンを2回押すと全員天界部屋に行く
仕様です。
対応は、やっぱチャンネル3つ用意するになるかなー。対象者がいるチャンネルに動作後の対象者がいると冪等性がなくなる。設計ミスです。
hands, serifs の go:embed 化
麻雀の役からサンプルの手牌を生成する
がんばってくれ
詠み人知らず を作る
Refactor firestore
- 俳句
- データ構造考え直す
- Firestoreへの接続部分をサービス層として切り離す
- Firestore
- サービス層として作り直し
- データ層として作り直し
Private な VoiceChannel が提示されたときに警告を出す
@everyone が参加できない VoiceChannel が提示されたら警告を出すようにしたい
- @everyone ではない別の role (autorole など)で参加権限を与えてる場合は杞憂となる
これについて実装せずにメッセージで注釈をつける、という対応でもいいかもしれない。
※ 例えば「各ユーザーの権限により動作しない場合があります。」とか?ちょっと冗長で discord 的ではないかもしれない
3つのチャンネル用コマンドを作る
3つ引数を取る /mover
コマンドを用意する
話し合い用のチャンネル、ミュート用のチャンネル、天界用チャンネルの3つをつかう。
AFK チャンネルの活用
#3 に関連して
AFK チャンネルがミュート用チャンネルに提示されたら サーバーミュートを使用せず、各ユーザーのセルフミュートにのみ委ねる。(ミュート状態は操作しない)
他2つのチャンネルで AFK が選択されたいた場合、警告を出しエラーとする。
コンテナ実行時の謎エラー SSL?
Get "https://discord.com/api/v8/gateway": x509: certificate signed by unknown authority
Cannot Add Reaction
Line 115 in dbd61f3
DEBU[0005] 📢
ERRO[0005] HTTP 400 Bad Request, {"message": "Unknown Emoji", "code": 10014}
DEBU[0005] 🤐
ERRO[0006] HTTP 400 Bad Request, {"message": "Unknown Emoji", "code": 10014}
DEBU[0006] 🎉
ERRO[0006] HTTP 400 Bad Request, {"message": "Unknown Emoji", "code": 10014}
systemd
DM送れない code:50007
ERRO[0018] HTTP 403 Forbidden, {"message": "Cannot send messages to this user", "code": 50007
ReactionAddHandler の暴走
goroutine 1661 [running]:
main.AmongUsReactionAddHandler(0xc0001d5c00, 0xc0000110e8)
/home/konafx/.ghq/github.com/konafx/natalya/amongus.go:152 +0x1150
github.com/bwmarrin/discordgo.messageReactionAddEventHandler.Handle(0xc6ef18, 0xc0001d5c00, 0xadd720, 0xc0000110e8)
/home/konafx/go/pkg/mod/github.com/bwmarrin/[email protected]/eventhandlers.go:578 +0x4b
created by github.com/bwmarrin/discordgo.(*Session).handle
/home/konafx/go/pkg/mod/github.com/bwmarrin/[email protected]/event.go:171 +0x111
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.