Giter Site home page Giter Site logo

taniiicom / emorize Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 1.0 10.05 MB

a discord/slack/misskey bot that instantly creates custom emojis with commands (text emojis, AI illustration emojis) / emotion in that moment, emoji in a moment

Home Page: https://emorize.megrio.com

License: MIT License

Go 93.80% Dockerfile 6.20%
discord discord-bot emoji emojis misskey misskey-bot slack slack-bot

emorize's People

Contributors

taniiicom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

superhotdogcat

emorize's Issues

hotfix: [deploy] `Error opening websocket: websocket: close 4004: Authentication failed.`

context

cloud build log

Step #2 - "Deploy": ERROR: (gcloud.run.services.update) Revision 'XXXX' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.
Error opening websocket: websocket: close 4004: Authentication failed.

hotfix: [deploy] `Revision 'XXXX' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.`

context

  • [deploy]
Revision 'XXXX' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.

add: [sre] cloudbuild.yaml

  • add: cloudbuild.yaml

context

  • cloud-build のコンソール上で インライン で管理しているのを, git 管理に移行する

Failed to emoji generation

bug report.
following /emorize command failed to emoji generation.

/emorize text:AR name:AR color:cyan

executed at 2024/04/16 12:11

up: /emorize color-options

  • up: /emorize color-options

compass

COLOR_RED = "#e57272"
COLOR_ORANGE = "#e5ac72"
COLOR_YELLOW = "#e5e572"
COLOR_GREEN = "#72e572"
COLOR_CYAN = "#72e5e5"
COLOR_BLUE = "#7272e5"
COLOR_PURPLE = "#e572e5"

cf.

fix: `Failed to create emoji: HTTP 400 Bad Request, {"message": "Invalid Form Body", "code": 50035, "errors": {"image": {"_errors": [{"code": "BINARY_TYPE_INVALID_DATA_URI", "message": "Only data uri strings can be used."}]}}}`

  • fix: /emorize command ^^
    • newEmoji.Image に指定する base64-encode 済みの画像データに prefix を付与し, Data-URI 形式にする ^^

context

  • cloud run > log
Failed to create emoji:  HTTP 400 Bad Request, {"message": "Invalid Form Body", "code": 50035, "errors": {"image": {"_errors": [{"code": "BINARY_TYPE_INVALID_DATA_URI", "message": "Only data uri strings can be used."}]}}}

cf.

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.