Fixes aliases / namespaces for the DMChannel struct.
Direct messages work again. Tested with the following function:
Cogs.def hello do
with {:ok, %Alchemy.Channel.DMChannel{id: chan_id}} = Client.create_DM(message.author.id) do
Client.send_message(chan_id, "Hello there")
end
end
Fixes aliases / namespaces for the DMChannel struct. Direct messages work again. Tested with the following function: