Skip to content

Commit

Permalink
static fix
Browse files Browse the repository at this point in the history
  • Loading branch information
john-friedman committed Dec 23, 2024
1 parent f6a3ca2 commit 8b346d0
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions examples/discord_bot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -121,25 +121,9 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"[2024-12-23 09:52:32] [INFO ] discord.client: logging in using static token\n",
"[2024-12-23 09:52:32] [INFO ] discord.client: logging in using static token\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Bot error: Improper token has been passed.\n"
]
}
],
"outputs": [],
"source": [
"import discord\n",
"from discord.ext import commands, tasks\n",
Expand Down Expand Up @@ -321,7 +305,7 @@
" print(f\"Bot error: {str(e)}\")\n",
"\n",
"if __name__ == \"__main__\":\n",
" run_bot()"
" run_bot() "
]
}
],
Expand Down

0 comments on commit 8b346d0

Please sign in to comment.