<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hashimomoti</author_name>
  <author_url>https://blog.hatena.ne.jp/hashimomoti/</author_url>
  <blog_title>亜寝帯の書き散らし</blog_title>
  <blog_url>https://s-oimo.hatenablog.com/</blog_url>
  <categories>
    <anon>Discord bot</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>はじめに Discord botの改修作業をしていると、intents周りのエラーが出ました。直したのでメモを残しておきます。 プログラミング初心者につき、何か間違いあったらコメントお願いいたします。 開発環境 discord.py 2.1.0 python3 3.8.10 はじめに 開発環境 起きたこと 解決方法 一体何だったのか そもそもintentsとは何なのか 何のintentsが何のイベントに関連ついてるかわからないよ～！ まとめ 参考文献 起きたこと Botを実行すると以下のようなエラーが出た Traceback (most recent call last): File &quot;mai…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fs-oimo.hatenablog.com%2Fentry%2F2023%2F01%2F15%2F223145&quot; title=&quot;【Discord.py】TypeError: __init__() missing 1 required keyword-only argument: &amp;#39;intents&amp;#39;というエラーが出る - 亜寝帯の書き散らし&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/h/hashimomoti/20230115/20230115222812.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-01-15 22:31:45</published>
  <title>【Discord.py】TypeError: __init__() missing 1 required keyword-only argument: 'intents'というエラーが出る</title>
  <type>rich</type>
  <url>https://s-oimo.hatenablog.com/entry/2023/01/15/223145</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
