Giter Club home page Giter Club logo

atcoder_discord_bot's Introduction

About ZOI

~ $ cat /etc/profile.yaml
name: ZOI_dayo / ZOI / zoi (ぞい)
age: 18
programming:
  language:
    C++: 主に競技プログラミングで利用
    HTML/CSS/JS: ある程度のWebデザインができる程度
    Node.js: スクレイピングやDiscord Bot制作ができる程度
    Java: MinecraftのMod/Plugin開発で使ったけど忘れた、元は一番得意な言語
    Bash: とてもたのしい、けど正しく書けない
    Dart: Flutterでアプリを作れる程度
    C-sharp: Unityでのゲーム制作で利用
    Rust: スクレイピングができる程度
    Python: スクレイピング・グラフ描画あたり、ただし文法が嫌い
    Lua: Minecraft(ComputerCraft)やNeoVimで使ったことはある
    Arduino: 初めて触った言語、あんまりできない
  ability:
    - サーバー管理
    - Web開発
    - 競技プログラミング
    - アプリ開発
    - 動画/画像編集
    - 3Dモデリング
  editor:
    VSCode: Web系、または軽い編集
    Vim: サーバー上でのみ利用
    NeoVim: 競技プログラミングで利用
    JetBrains: 旧メインエディタ
  achievement:
    - AtCoder 水
    - ウェブデザイン技能検定 2級
    - 第24回 全国中学高校Webコンテスト 金賞
    - パソコン甲子園2022 モバイル部門 ベストデザイン賞・企業賞
accounts:
  Mail: [email protected]
  Twitter: @ZOI_dayo
  Discord: zoi_dayo
  GitHub: ZOI-dayo
  AtCoder: ZOIZOI

updated-at: 2023-09-24
~ $ 

atcoder_discord_bot's People

Contributors

zoi-dayo avatar

Watchers

 avatar

atcoder_discord_bot's Issues

discordenoの認証エラー?

新規コンテストがないか確認中...
error: Uncaught (in promise) Error: [403] The Authorization token you passed did not have permission to the resource.
{"message":"Missing Access","code":50001}
  Error.captureStackTrace(errorStack);
        ^
    at Object.runMethod (https://deno.land/x/[email protected]/rest/runMethod.ts:30:9)
    at getChannel (https://deno.land/x/[email protected]/helpers/channels/getChannel.ts:19:33)
    at Object.converted.<computed> [as getChannel] (https://deno.land/x/[email protected]/bot.ts:402:7)
    at file:///home/zoi/projects/atcoder-discord-bot/src/functions/notify_contest.ts:24:43
    at file:///home/zoi/projects/atcoder-discord-bot/src/functions/notify_contest.ts:31:7
    at Array.forEach (<anonymous>)
    at file:///home/zoi/projects/atcoder-discord-bot/src/functions/notify_contest.ts:22:12
    at Array.forEach (<anonymous>)
    at checkNewContest (file:///home/zoi/projects/atcoder-discord-bot/src/functions/notify_contest.ts:21:12)
    at eventLoopTick (ext:core/01_core.js:181:11)

WebSocketでの謎のエラー

error: Uncaught (in promise) InvalidStateError: readyState not OPEN
      shard.socket?.send(
                    ^
    at WebSocket.send (ext:deno_websocket/01_websocket.js:324:13)
    at https://deno.land/x/[email protected]/gateway/shard/startHeartbeating.ts:52:21
    at Object.action (ext:deno_web/02_timers.js:149:11)
    at handleTimerMacrotask (ext:deno_web/02_timers.js:66:10)
    at eventLoopTick (ext:core/01_core.js:187:21)

なにこれ

2023-07-29-23-15-22.log

AJLのレート変動がないか確認中...
AJLのレート変動はありませんでした。
AJLのレート変動はありませんでした。
AJLのレート変動はありませんでした。
CLOSING EXISTING SHARD: #0
ESC[0mESC[1mESC[31merrorESC[0m: Uncaught (in promise) InvalidStateError: readyState not OPEN
      shard.socket?.send(
ESC[0mESC[31m                    ^ESC[0m
    at ESC[0mESC[1mESC[3mWebSocket.sendESC[0m (ESC[0mESC[36mext:deno_websocket/01_websocket.jsESC[0m:ESC[0mESC[33m324ESC[0m:ESC[0mESC[33m13ESC[0m)
    at ESC[0mESC[36mhttps://deno.land/x/[email protected]/gateway/shard/startHeartbeating.tsESC[0m:ESC[0mESC[33m52ESC[0m:ESC[0mESC[33m21ESC[0m
    at ESC[0mESC[1mESC[3mObject.actionESC[0m (ESC[0mESC[36mext:deno_web/02_timers.jsESC[0m:ESC[0mESC[33m149ESC[0m:ESC[0mESC[33m11ESC[0m)
    at ESC[0mESC[1mESC[3mhandleTimerMacrotaskESC[0m (ESC[0mESC[36mext:deno_web/02_timers.jsESC[0m:ESC[0mESC[33m66ESC[0m:ESC[0mESC[33m10ESC[0m)
    at ESC[0mESC[1mESC[3meventLoopTickESC[0m (ESC[0mESC[36mext:core/01_core.jsESC[0m:ESC[0mESC[33m187ESC[0m:ESC[0mESC[33m21ESC[0m)

定期的にDiscord系のエラーが出ている

{
  error: ErrorEvent {
  bubbles: false,
  cancelable: false,
  composed: false,
  currentTarget: WebSocket {
  url: "wss://gateway-us-east1-b.discord.gg/?v=10&encoding=json",
  readyState: 3,
  extensions: "",
  protocol: "",
  binaryType: "blob",
  bufferedAmount: 0
},
  defaultPrevented: false,
  eventPhase: 2,
  srcElement: null,
  target: WebSocket {
  url: "wss://gateway-us-east1-b.discord.gg/?v=10&encoding=json",
  readyState: 3,
  extensions: "",
  protocol: "",
  binaryType: "blob",
  bufferedAmount: 0
},
  returnValue: true,
  timeStamp: 1687982781795,
  type: "error",
  message: "unexpected eof",
  filename: "",
  lineno: 0,
  colno: 0,
  error: undefined
}
}

レート変動通知エラー

abc309のレート変動がないか確認中...
error: Uncaught (in promise) SyntaxError: Unexpected token '<', "<html>
<h"... is not valid JSON
  return await (await fetch(`https://atcoder.jp/contests/${contest}/results/json`)).json() as ContestResult[];
         ^
    at parse (<anonymous>)
    at packageData (ext:deno_fetch/22_body.js:368:14)
    at consumeBody (ext:deno_fetch/22_body.js:245:12)
    at eventLoopTick (ext:core/01_core.js:181:11)
    at async Module.getContestResult (file:///home/zoi/projects/atcoder-discord-bot/src/atcoder.ts:162:10)
    at async sendMessage (file:///home/zoi/projects/atcoder-discord-bot/src/functions/rate_change.ts:10:28)

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.