質問するログイン新規登録

質問編集履歴

1

コードを入れました

2021/12/30 15:32

投稿

doere
doere

スコア1

title CHANGED
File without changes
body CHANGED
@@ -2,9 +2,7 @@
2
2
  したいんですが、やり方がわからなく困ってます。
3
3
  教えてください。
4
4
 
5
- ↓ここの何処に入れるのか教えてください。
6
-
7
- const http = require('http');
5
+ ```const http = require('http');
8
6
  const querystring = require('querystring');
9
7
  const discord = require('discord.js');
10
8
  const client = new discord.Client();
@@ -73,4 +71,4 @@
73
71
  client.channels.get(channelId).send(text, option)
74
72
  .then(console.log("メッセージ送信: " + text + JSON.stringify(option)))
75
73
  .catch(console.error);
76
- }
74
+ }```