Closed Marqin closed 8 years ago
Fails with:
** (EXIT) an exception was raised: ** (FunctionClauseError) no function clause matching in Integer.parse/2 (elixir) lib/integer.ex:167: Integer.parse(nil, 10) (discord_ex) lib/discord_ex/client/client.ex:51: DiscordEx.Client.start_link/1 (stdlib) supervisor.erl:365: :supervisor.do_start_child/2 (stdlib) supervisor.erl:348: :supervisor.start_children/3 (stdlib) supervisor.erl:314: :supervisor.init_children/2 (stdlib) gen_server.erl:328: :gen_server.init_it/6 (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
And REST API gives "401" error if provided token doesn't have "Bot " prefix or is not token taken from Discord app. I'll prepare PR with fix.
Fails with:
And REST API gives "401" error if provided token doesn't have "Bot " prefix or is not token taken from Discord app. I'll prepare PR with fix.