Giter Club home page Giter Club logo

natalya's People

Contributors

konafx avatar

Watchers

 avatar  avatar

natalya's Issues

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:[]}

Refactor firestore

  • 俳句
    • データ構造考え直す
    • Firestoreへの接続部分をサービス層として切り離す
  • Firestore
    • サービス層として作り直し
    • データ層として作り直し

Private な VoiceChannel が提示されたときに警告を出す

@everyone が参加できない VoiceChannel が提示されたら警告を出すようにしたい

  • @everyone ではない別の role (autorole など)で参加権限を与えてる場合は杞憂となる

これについて実装せずにメッセージで注釈をつける、という対応でもいいかもしれない。
※ 例えば「各ユーザーの権限により動作しない場合があります。」とか?ちょっと冗長で discord 的ではないかもしれない

AFK チャンネルの活用

#3 に関連して

AFK チャンネルがミュート用チャンネルに提示されたら サーバーミュートを使用せず、各ユーザーのセルフミュートにのみ委ねる。(ミュート状態は操作しない)

他2つのチャンネルで AFK が選択されたいた場合、警告を出しエラーとする。

Cannot Add Reaction

err := s.MessageReactionAdd(m.ChannelID, m.Message.ID, e)

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}

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.