javascript - Error: Coding not working for Discord Bot. Receiving multiple errors -


i'm trying make embed discord bot keep receiving errors. here code...

if (msg.content === prefix + 'test') {    message.channel.send({             embed: {                "title": "title ~~(did know can have markdown here too?)~~",                "description": "this supports [named links](https://discordapp.com) on top of shown subset of markdown. ```\nyes, code blocks```",                "url": "https://discordapp.com",                "color": 13205361,                "timestamp": "2017-09-10t14:11:02.499z",                "footer": {                   "icon_url": "https://cdn.discordapp.com/icons/226540933426970624/888899ea8f5841a4cb2874a2cff12221.png",                   "text": "© charlie fried chicken cafe 2017"                },                "thumbnail": {                   "url": "https://cdn.discordapp.com/embed/avatars/0.png"                },                "author": {                   "name": "charlie fried chicken cafe discord server rules",                   "url": "https://discordapp.com",                   "icon_url": "https://cdn.discordapp.com/icons/226540933426970624/888899ea8f5841a4cb2874a2cff12221.png"                },                "fields": [{                      "name": "1. ",                      "value": "some of these properties have limits..."                   }, {                      "name": "😱",                      "value": "try exceeding of them!"                   }, {                      "name": "🙄",                      "value": "an informative error should show up, , view remain as-is until issues fixed"                   }, {                      "name": "<:thonkang:219069250692841473>",                      "value": "these last two",                      "inline": true                   }, {                      "name": "<:thonkang:219069250692841473>",                      "value": "are inline fields",                      "inline": true                   }                   ``                ]             }; 

i'm receiving errors such unexpected token, message not defined, etc. i'm not sure how fix them because i'm beginner @ stuff. got information off https://leovoel.github.io/embed-visualizer/.

i hope can find out problem is! thank in advance!


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -